|  | SlideIO 2.0.0
    Open-source library for reading of medical images | 
Class ImageDriverManager keeps overview over specific image format drivers. Allows opening a slide with a specific driver. More...
#include <imagedrivermanager.hpp>
| Static Public Member Functions | |
| static std::vector< std::string > | getDriverIDs () | 
| returns a list of ids of available image format drivers | |
| static std::shared_ptr< CVSlide > | openSlide (const std::string &filePath, const std::string &driver) | 
| opens a slide and returns a smart pointer to object of slideio::CVSlide class.  More... | |
| static void | setLogLevel (const std::string &level) | 
| sets logging level.  More... | |
Class ImageDriverManager keeps overview over specific image format drivers. Allows opening a slide with a specific driver.
The class contains a set of static methods that provide access to the image format drivers.
| 
 | static | 
opens a slide and returns a smart pointer to object of slideio::CVSlide class.
| filePath | : a path to a slide file/folder; | 
| driver | : a driver id which should be used for the opening of the slide. | 
| std::runtime_error | if driver cannot be found. | 
| 
 | static | 
sets logging level.
@params level : log level. Should be one of the following strings: 'INFO','WARNING','ERROR','FATAL'(default).