4#ifndef OPENCV_slideio_dcmimagedriver_HPP
5#define OPENCV_slideio_dcmimagedriver_HPP
7#include "slideio/drivers/dcm/dcm_api_def.hpp"
8#include "slideio/core/imagedriver.hpp"
9#include "slideio/core/cvslide.hpp"
10#include <opencv2/core.hpp>
14#pragma warning( push )
15#pragma warning(disable: 4251)
20 class SLIDEIO_DCM_EXPORTS DCMImageDriver :
public slideio::ImageDriver
25 std::string getID()
const override;
26 std::shared_ptr<CVSlide> openFile(
const std::string& filePath)
override;
27 std::string getFileSpecs()
const override;
28 static void initializeDCMTK();
29 static void clieanUpDCMTK();
30 bool canOpenFile(
const std::string& filePath)
const override;
Definition: exceptions.hpp:12