4#ifndef OPENCV_slideio_tilecomposer_HPP
5#define OPENCV_slideio_tilecomposer_HPP
7#include "slideio/core/slideio_core_def.hpp"
8#include <opencv2/core.hpp>
12 class SLIDEIO_CORE_EXPORTS Tiler
16 virtual int getTileCount(
void* userData) = 0;
17 virtual bool getTileRect(
int tileIndex, cv::Rect& tileRect,
void* userData) = 0;
18 virtual bool readTile(
int tileIndex,
const std::vector<int>& channelIndices, cv::OutputArray tileRaster,
void* userData) = 0;
19 virtual void initializeBlock(
const cv::Size& blockSize,
const std::vector<int>& channelIndices, cv::OutputArray output) = 0;
21 class SLIDEIO_CORE_EXPORTS TileComposer
24 static void composeRect(Tiler* tiler,
const std::vector<int>& channelIndices,
25 const cv::Rect& blockRect,
const cv::Size& blockSize, cv::OutputArray output,
void* userData =
nullptr);
Definition: exceptions.hpp:12