fast::ImagePyramidAccess class

Public types

using pointer = std::unique_ptr<ImagePyramidAccess>

Constructors, destructors, conversion operators

ImagePyramidAccess(std::vector<ImagePyramidLevel> levels, openslide_t* fileHandle, TIFF* tiffHandle, std::shared_ptr<ImagePyramid> imagePyramid, bool writeAccess, std::unordered_set<std::string>& initializedPatchList)
~ImagePyramidAccess()

Public functions

void setPatch(int level, int x, int y, std::shared_ptr<Image> patch)
auto isPatchInitialized(uint level, uint x, uint y) -> bool
auto getPatchData(int level, int x, int y, int width, int height) -> std::unique_ptr<uchar[]>
auto getPatch(std::string tile) -> ImagePyramidPatch
auto getPatch(int level, int patchX, int patchY) -> ImagePyramidPatch
auto getLevelAsImage(int level) -> std::shared_ptr<Image>
auto getPatchAsImage(int level, int offsetX, int offsetY, int width, int height, bool convertToRGB = true) -> std::shared_ptr<Image>
auto getPatchAsImage(int level, int patchIdX, int patchIdY, bool convertToRGB = true) -> std::shared_ptr<Image>
void release()