FAST  3.2.0
Framework for Heterogeneous Medical Image Computing and Visualization
Public Types | Public Member Functions | List of all members
fast::ImagePyramidAccess Class Reference

#include <ImagePyramidAccess.hpp>

+ Inheritance diagram for fast::ImagePyramidAccess:
+ Collaboration diagram for fast::ImagePyramidAccess:

Public Types

typedef std::unique_ptr< ImagePyramidAccesspointer
 

Public Member Functions

 ImagePyramidAccess (std::vector< ImagePyramidLevel > levels, openslide_t *fileHandle, std::shared_ptr< ImagePyramid > imagePyramid, bool writeAccess)
 
void setScalar (uint x, uint y, uint level, uint8_t value, uint channel=0)
 
void setScalarFast (uint x, uint y, uint level, uint8_t value, uint channel=0) noexcept
 
uint8_t getScalar (uint x, uint y, uint level, uint channel=0)
 
uint8_t getScalarFast (uint x, uint y, uint level, uint channel=0) noexcept
 
std::unique_ptr< uchar[]> getPatchData (int level, int x, int y, int width, int height)
 
ImagePyramidPatch getPatch (std::string tile)
 
ImagePyramidPatch getPatch (int level, int patchX, int patchY)
 
std::shared_ptr< ImagegetLevelAsImage (int level)
 
std::shared_ptr< ImagegetPatchAsImage (int level, int offsetX, int offsetY, int width, int height)
 
std::shared_ptr< ImagegetPatchAsImage (int level, int patchIdX, int patchIdY)
 
void release ()
 
 ~ImagePyramidAccess ()
 

Member Typedef Documentation

◆ pointer

Constructor & Destructor Documentation

◆ ImagePyramidAccess()

fast::ImagePyramidAccess::ImagePyramidAccess ( std::vector< ImagePyramidLevel levels,
openslide_t fileHandle,
std::shared_ptr< ImagePyramid imagePyramid,
bool  writeAccess 
)

◆ ~ImagePyramidAccess()

fast::ImagePyramidAccess::~ImagePyramidAccess ( )

Member Function Documentation

◆ getLevelAsImage()

std::shared_ptr<Image> fast::ImagePyramidAccess::getLevelAsImage ( int  level)

◆ getPatch() [1/2]

ImagePyramidPatch fast::ImagePyramidAccess::getPatch ( int  level,
int  patchX,
int  patchY 
)

◆ getPatch() [2/2]

ImagePyramidPatch fast::ImagePyramidAccess::getPatch ( std::string  tile)

◆ getPatchAsImage() [1/2]

std::shared_ptr<Image> fast::ImagePyramidAccess::getPatchAsImage ( int  level,
int  offsetX,
int  offsetY,
int  width,
int  height 
)

◆ getPatchAsImage() [2/2]

std::shared_ptr<Image> fast::ImagePyramidAccess::getPatchAsImage ( int  level,
int  patchIdX,
int  patchIdY 
)

◆ getPatchData()

std::unique_ptr<uchar[]> fast::ImagePyramidAccess::getPatchData ( int  level,
int  x,
int  y,
int  width,
int  height 
)

◆ getScalar()

uint8_t fast::ImagePyramidAccess::getScalar ( uint  x,
uint  y,
uint  level,
uint  channel = 0 
)

◆ getScalarFast()

uint8_t fast::ImagePyramidAccess::getScalarFast ( uint  x,
uint  y,
uint  level,
uint  channel = 0 
)
noexcept

◆ release()

void fast::ImagePyramidAccess::release ( )

◆ setScalar()

void fast::ImagePyramidAccess::setScalar ( uint  x,
uint  y,
uint  level,
uint8_t  value,
uint  channel = 0 
)

◆ setScalarFast()

void fast::ImagePyramidAccess::setScalarFast ( uint  x,
uint  y,
uint  level,
uint8_t  value,
uint  channel = 0 
)
noexcept

The documentation for this class was generated from the following file: