SlideIO 2.0.0
Open-source library for reading of medical images
Loading...
Searching...
No Matches
cziimagedriver.hpp
1// This file is part of slideio project.
2// It is subject to the license terms in the LICENSE file found in the top-level directory
3// of this distribution and at http://slideio.com/license.html.
4#pragma once
5
6#include "slideio/drivers/czi/czi_api_def.hpp"
7#include "slideio/core/imagedriver.hpp"
8#include "slideio/core/cvslide.hpp"
9#include <opencv2/core.hpp>
10#include <string>
11
12#if defined(_MSC_VER)
13#pragma warning( push )
14#pragma warning(disable: 4251)
15#endif
16
17namespace slideio
18{
19 class SLIDEIO_CZI_EXPORTS CZIImageDriver : public slideio::ImageDriver
20 {
21 public:
22 CZIImageDriver();
23 ~CZIImageDriver();
24 std::string getID() const override;
25 std::shared_ptr<CVSlide> openFile(const std::string& filePath) override;
26 std::string getFileSpecs() const override;
27 private:
28 static std::string filePathPattern;
29 };
30}
31
32#if defined(_MSC_VER)
33#pragma warning( pop )
34#endif
Definition: exceptions.hpp:15