FAST
3.2.0
Framework for Heterogeneous Medical Image Computing and Visualization
|
#include <ImagePyramid.hpp>
Public Member Functions | |
void | create (int width, int height, int channels, int levels=-1) |
void | create (openslide_t *fileHandle, std::vector< ImagePyramidLevel > levels) |
int | getNrOfLevels () |
int | getLevelWidth (int level) |
int | getLevelHeight (int level) |
int | getLevelTileWidth (int level) |
int | getLevelTileHeight (int level) |
int | getLevelTilesX (int level) |
int | getLevelTilesY (int level) |
int | getFullWidth () |
int | getFullHeight () |
int | getNrOfChannels () const |
void | setSpacing (Vector3f spacing) |
Vector3f | getSpacing () const |
ImagePyramidAccess::pointer | getAccess (accessType type) |
std::unordered_set< std::string > | getDirtyPatches () |
bool | isDirtyPatch (const std::string &tileID) |
void | setDirtyPatch (int level, int patchIdX, int patchIdY) |
void | clearDirtyPatches (std::set< std::string > patches) |
void | free (ExecutionDevice::pointer device) override |
void | freeAll () override |
~ImagePyramid () | |
![]() | |
SpatialDataObject () | |
virtual DataBoundingBox | getBoundingBox () const |
virtual DataBoundingBox | getTransformedBoundingBox () const |
SceneGraphNode::pointer | getSceneGraphNode () const |
![]() | |
DataObject () | |
void | setMetadata (std::string name, std::string value) |
void | setMetadata (std::unordered_map< std::string, std::string > metadata) |
std::string | getMetadata (std::string name) const |
std::unordered_map< std::string, std::string > | getMetadata () const |
void | deleteMetadata (std::string name) |
uint64_t | getTimestamp () const |
void | updateModifiedTimestamp () |
virtual | ~DataObject () |
virtual std::string | getNameOfClass () const =0 |
uint64_t | getCreationTimestamp () const |
void | setCreationTimestamp (uint64_t timestamp) |
void | setLastFrame (std::string streamer) |
bool | isLastFrame () |
bool | isLastFrame (std::string streamer) |
std::unordered_set< std::string > | getLastFrame () |
void | setFrameData (std::string name, std::string value) |
std::string | getFrameData (std::string name) |
std::unordered_map< std::string, std::string > | getFrameData () |
void | accessFinished () |
![]() | |
Object () | |
virtual | ~Object () |
Reporter & | getReporter () |
Additional Inherited Members | |
![]() | |
typedef std::shared_ptr< SpatialDataObject > | pointer |
![]() | |
typedef std::shared_ptr< DataObject > | pointer |
![]() | |
typedef std::shared_ptr< Object > | pointer |
![]() | |
static std::string | getStaticNameOfClass () |
![]() | |
static std::string | getStaticNameOfClass () |
![]() | |
static std::string | getStaticNameOfClass () |
![]() | |
void | blockIfBeingWrittenTo () |
void | blockIfBeingAccessed () |
![]() | |
Reporter & | reportError () |
Reporter & | reportWarning () |
Reporter & | reportInfo () |
ReporterEnd | reportEnd () const |
![]() | |
DataBoundingBox | mBoundingBox |
![]() | |
std::mutex | mDataIsBeingWrittenToMutex |
std::condition_variable | mDataIsBeingWrittenToCondition |
bool | mDataIsBeingWrittenTo |
std::mutex | mDataIsBeingAccessedMutex |
std::condition_variable | mDataIsBeingAccessedCondition |
bool | mDataIsBeingAccessed |
![]() | |
std::weak_ptr< Object > | mPtr |
Data object for storing large images as tiled image pyramids. Storage uses virtual memory enabling the images to be larger than the available RAM.
fast::ImagePyramid::~ImagePyramid | ( | ) |
void fast::ImagePyramid::clearDirtyPatches | ( | std::set< std::string > | patches | ) |
void fast::ImagePyramid::create | ( | int | width, |
int | height, | ||
int | channels, | ||
int | levels = -1 |
||
) |
void fast::ImagePyramid::create | ( | openslide_t * | fileHandle, |
std::vector< ImagePyramidLevel > | levels | ||
) |
|
overridevirtual |
Implements fast::DataObject.
|
overridevirtual |
Implements fast::DataObject.
ImagePyramidAccess::pointer fast::ImagePyramid::getAccess | ( | accessType | type | ) |
std::unordered_set<std::string> fast::ImagePyramid::getDirtyPatches | ( | ) |
int fast::ImagePyramid::getFullHeight | ( | ) |
int fast::ImagePyramid::getFullWidth | ( | ) |
int fast::ImagePyramid::getLevelHeight | ( | int | level | ) |
int fast::ImagePyramid::getLevelTileHeight | ( | int | level | ) |
int fast::ImagePyramid::getLevelTilesX | ( | int | level | ) |
int fast::ImagePyramid::getLevelTilesY | ( | int | level | ) |
int fast::ImagePyramid::getLevelTileWidth | ( | int | level | ) |
int fast::ImagePyramid::getLevelWidth | ( | int | level | ) |
int fast::ImagePyramid::getNrOfChannels | ( | ) | const |
int fast::ImagePyramid::getNrOfLevels | ( | ) |
Vector3f fast::ImagePyramid::getSpacing | ( | ) | const |
bool fast::ImagePyramid::isDirtyPatch | ( | const std::string & | tileID | ) |
void fast::ImagePyramid::setDirtyPatch | ( | int | level, |
int | patchIdX, | ||
int | patchIdY | ||
) |
void fast::ImagePyramid::setSpacing | ( | Vector3f | spacing | ) |