4#ifndef OPENCV_slideio_imagedriver_HPP
5#define OPENCV_slideio_imagedriver_HPP
7#include "slideio/core/slideio_core_def.hpp"
8#include "slideio/core/cvslide.hpp"
9#include <opencv2/core.hpp>
14 class SLIDEIO_CORE_EXPORTS ImageDriver
17 virtual ~ImageDriver(){}
18 virtual std::string getID()
const = 0;
19 virtual bool canOpenFile(
const std::string& filePath)
const;
20 virtual std::shared_ptr<CVSlide> openFile(
const std::string& filePath) = 0;
21 virtual std::string getFileSpecs()
const = 0;
Definition: exceptions.hpp:12