4#ifndef OPENCV_slideio_imagedrivermanager_HPP
5#define OPENCV_slideio_imagedrivermanager_HPP
7#include "slideio/core/slideio_core_def.hpp"
8#include "slideio/core/cvslide.hpp"
9#include <opencv2/core.hpp>
14#pragma warning( push )
15#pragma warning(disable: 4251)
28 static ImageDriver* getDriver(
const std::string& driverName);
29 static ImageDriver* findDriver(
const std::string& filePath);
30 static std::shared_ptr<CVSlide>
openSlide(
const std::string& cs,
const std::string& driver);
31 static void setLogLevel(
const std::string& level);
33 static void initialize();
35 static std::map<std::string, std::shared_ptr<ImageDriver>> driverMap;
Class ImageDriverManager keeps overview over specific image format drivers. Allows opening a slide wi...
Definition: imagedrivermanager.hpp:22
Definition: exceptions.hpp:12
SLIDEIO_EXPORTS std::shared_ptr< Slide > openSlide(const std::string &path, const std::string &driver="")
The function returns a smart pointer to an object of Slide class.
Definition: slideio.cpp:10
SLIDEIO_EXPORTS std::vector< std::string > getDriverIDs()
Returns a list of available driver ids.
Definition: slideio.cpp:17