5#include "slideio/drivers/vsi/vsi_api_def.hpp"
6#include <opencv2/core.hpp>
10#pragma warning( push )
11#pragma warning(disable: 4251)
18 class IDimensionOrder;
22 std::vector<int> coordinates;
27 class SLIDEIO_VSI_EXPORTS PyramidLevel
32 int getScaleLevel()
const {
return m_scaleLevel; }
33 cv::Size getSize()
const {
return m_size; }
34 int getNumTiles()
const {
return static_cast<int>(m_tileIndices.size()); }
35 const TileInfo& getTile(
int tileIndex,
int channelIndex,
int zIndex,
int tIndex)
const;
39 std::vector<TileInfo> m_tiles;
40 std::vector<int> m_tileIndices;
41 int m_channelDimIndex = -1;
46 class SLIDEIO_VSI_EXPORTS Pyramid
49 int getNumLevels()
const {
return static_cast<int>(m_levels.size()); }
50 const PyramidLevel& getLevel(
int index)
const {
return m_levels[index]; }
51 void init(std::vector<TileInfo>& tiles,
const cv::Size& imageSize,
const cv::Size& tileSize,
52 const IDimensionOrder* dimOrder);
53 int getNumChannelIndices()
const {
return m_numChannelIndices; }
54 int getNumZIndices()
const {
return m_numZIndices; }
55 int getNumTIndices()
const {
return m_numTIndices; }
57 std::vector<PyramidLevel> m_levels;
58 int m_numChannelIndices = 1;
59 int m_numZIndices = 1;
60 int m_numTIndices = 1;
Definition: exceptions.hpp:12