4#ifndef OPENCV_slideio_dcmslide_HPP
5#define OPENCV_slideio_dcmslide_HPP
7#include "slideio/drivers/dcm/dcm_api_def.hpp"
8#include "slideio/core/cvslide.hpp"
9#include "slideio/drivers/dcm/dcmscene.hpp"
13#pragma warning( push )
14#pragma warning(disable: 4251)
19 class SLIDEIO_DCM_EXPORTS DCMSlide :
public CVSlide
21 friend class DCMImageDriver;
23 DCMSlide(
const std::string& filePath);
25 int getNumScenes()
const override;
26 std::string getFilePath()
const override;
27 std::shared_ptr<CVScene> getScene(
int index)
const override;
29 void processRegularSeries(std::vector<std::shared_ptr<DCMFile>>& files,
bool keepOrder);
32 void processWSISeries(std::vector<std::shared_ptr<DCMFile>>& dcmFiles);
33 void processSeries(std::vector<std::shared_ptr<DCMFile>>& files,
bool keepOrder=
false);
35 void initFromDicomDirFile();
37 void initFromWSIFile();
38 void initFromRegularDicomFile();
40 std::vector<std::shared_ptr<CVScene>> m_scenes;
41 std::string m_srcPath;
Definition: exceptions.hpp:12