6#include "slideio/slideio/slideio_def.hpp"
7#include "slideio/base/slideio_enums.hpp"
14#pragma warning( push )
15#pragma warning(disable: 4251)
31 Scene(std::shared_ptr<CVScene> scene);
35 std::string getFilePath()
const;
37 std::string getName()
const;
45 std::tuple<int,int,int,int> getRect()
const;
47 int getNumChannels()
const;
61 slideio::DataType getChannelDataType(
int channel)
const;
64 std::string getChannelName(
int channel)
const;
69 std::tuple<double,double> getResolution()
const;
71 double getZSliceResolution()
const;
73 double getTFrameResolution()
const;
75 double getMagnification()
const;
85 int getBlockSize(
const std::tuple<int,int>& blockSize,
int refChannel,
int numChannels,
int numSlices,
int numFrames)
const;
116 void readBlock(
const std::tuple<int,int,int,int>& blockRect,
void* buffer,
size_t bufferSize);
131 void readBlockChannels(
const std::tuple<int,int,int,int>& blockRect,
const std::vector<int>& channelIndices,
void* buffer,
size_t bufferSize);
147 void readResampledBlock(
const std::tuple<int,int,int,int>& blockRect,
const std::tuple<int,int>& blockSize,
void* buffer,
size_t bufferSize);
164 void readResampledBlockChannels(
const std::tuple<int,int,int,int>& blockRect,
const std::tuple<int,int>& blockSize,
const std::vector<int>& channelIndices,
void* buffer,
size_t bufferSize);
204 void read4DBlock(
const std::tuple<int,int,int,int>& blockRect,
const std::tuple<int,int>& zSliceRange,
const std::tuple<int,int>& timeFrameRange,
void* buffer,
size_t bufferSize);
222 void read4DBlockChannels(
const std::tuple<int,int,int,int>& blockRect,
const std::vector<int>& channelIndices,
const std::tuple<int,int>& zSliceRange,
const std::tuple<int,int>& timeFrameRange,
void* buffer,
size_t bufferSize);
240 void readResampled4DBlock(
const std::tuple<int,int,int,int>& blockRect,
const std::tuple<int,int>& blockSize,
const std::tuple<int,int>& zSliceRange,
const std::tuple<int,int>& timeFrameRange,
void* buffer,
size_t bufferSize);
259 void readResampled4DBlockChannels(
const std::tuple<int,int,int,int>& blockRect,
const std::tuple<int,int>& blockSize,
const std::vector<int>& channelIndices,
const std::tuple<int,int>& zSliceRange,
const std::tuple<int,int>& timeFrameRange,
void* buffer,
size_t bufferSize);
261 virtual const std::list<std::string>& getAuxImageNames()
const;
263 virtual int getNumAuxImages()
const;
265 std::string getRawMetadata()
const;
269 virtual std::shared_ptr<Scene> getAuxImage(
const std::string& imageName)
const;
270 std::shared_ptr<CVScene> getCVScene() {
return m_scene; }
271 int getNumZoomLevels()
const;
272 const LevelInfo* getLevelInfo(
int level)
const;
273 std::string toString()
const;
275 std::shared_ptr<CVScene> m_scene;
279#define ScenePtr std::shared_ptr<slideio::Scene>
282#pragma warning( pop )
Scene class represents a raster image contained in a slide.
Definition: scene.hpp:28
Slide class is an interface for accessing the information on a medical slide.
Definition: slide.hpp:29
Definition: exceptions.hpp:12
Compression
raster data compression enum
Definition: slideio_enums.hpp:12