SlideIO 2.0.0
Open-source library for reading of medical images
|
CVSlide is an base class for representation of medical slide. More...
#include <cvslide.hpp>
Inherited by slideio::AFISlide, slideio::CZISlide, slideio::DCMSlide, slideio::GDALSlide, slideio::NDPISlide, slideio::PKESlide, slideio::SCNSlide, slideio::SVSSlide, slideio::ZVISlide, and slideio::vsi::VSISlide.
Public Member Functions | |
virtual int | getNumScenes () const =0 |
The method returns number of Scene objects contained in the slide. | |
virtual std::string | getFilePath () const =0 |
The method returns a string which represents file path of the slide. | |
virtual const std::string & | getRawMetadata () const |
The method returns a string containing serialized metadata of the slide. More... | |
virtual std::shared_ptr< CVScene > | getScene (int index) const =0 |
The method returns a CVScene object by the scene index. | |
virtual const std::list< std::string > & | getAuxImageNames () const |
The method returns list of names of auxiliary images contained in the slide. More... | |
virtual int | getNumAuxImages () const |
The method returns number of auxiliary images contained in the slide. | |
virtual std::shared_ptr< CVScene > | getAuxImage (const std::string &sceneName) const |
Returns a slideio::CVScene object that represents an auxiliary image with the supplied name. More... | |
CVSlide is an base class for representation of medical slide.
Child classes of the CVSlide class are format specific representations of the medical slide. The class provides access to a slide structure, internal images and metadata. Each slide contains at least one image represented by slideio::CVScene class. A slide may contain multiple auxiliary images such as labels, macros, bar-codes, etc. Object of the child classes are created by classes derived from slideio::ImageDriver class and cannot be created directly;
|
virtual |
Returns a slideio::CVScene object that represents an auxiliary image with the supplied name.
sceneName | : name of the auxiliary image. It must be contained in the list returned by getAuxImageNames method. |
|
inlinevirtual |
The method returns list of names of auxiliary images contained in the slide.
Default: empty list.
|
inlinevirtual |
The method returns a string containing serialized metadata of the slide.
Content of the string depends on image driver and may be plain text, xml or json formatted string. Default value is an empty string.