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#ifndef OPENCV_slideio_cziimagedriver_HPP
5#define OPENCV_slideio_cziimagedriver_HPP
6
7#include "slideio/drivers/czi/czi_api_def.hpp"
8#include "slideio/core/imagedriver.hpp"
9#include "slideio/core/cvslide.hpp"
10#include <opencv2/core.hpp>
11#include <string>
12
13#if defined(_MSC_VER)
14#pragma warning( push )
15#pragma warning(disable: 4251)
16#endif
17
18namespace slideio
19{
20 class SLIDEIO_CZI_EXPORTS CZIImageDriver : public slideio::ImageDriver
21 {
22 public:
23 CZIImageDriver();
24 ~CZIImageDriver();
25 std::string getID() const override;
26 std::shared_ptr<CVSlide> openFile(const std::string& filePath) override;
27 std::string getFileSpecs() const override;
28 private:
29 static std::string filePathPattern;
30 };
31}
32
33#if defined(_MSC_VER)
34#pragma warning( pop )
35#endif
36
37#endif
Definition: exceptions.hpp:12