fast::ImagePyramidLevelExtractor class

Extract a level of an image pyramid as an image.

Base classes

class ProcessObject
Abstract base class for all process objects.

Public functions

auto create(int level, int magnification) -> std::shared_ptr<ImagePyramidLevelExtractor>
Create instance.
void setLevel(int level)
void setMagnification(int magnification)
void loadAttributes() virtual

Private functions

void execute() override

Function documentation

std::shared_ptr<ImagePyramidLevelExtractor> fast::ImagePyramidLevelExtractor::create(int level, int magnification)

Create instance.

Parameters
level Specify which level to extract from image pyramid. Negative level means last level, e.g. lowest resolution(default).
magnification Which magnification to extract patches from. Setting this value for instance to 20, will trigger a search through all levels to find the image pyramid level which is closest to 20X magnification, 0.0005 mm pixel spacing. If no such level exist an exception is thrown. This parameter overrides the level parameter
Returns instance