Medical Imaging Interaction Toolkit
2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
|
Base Class for all Mask Generators. Mask generators are classes that provide functionality for the creation of binary (or unsigned short) masks that can be applied to an image. See derived classes for more information. More...
#include <mitkMaskGenerator.h>
Public Member Functions | |
mitkClassMacroItkParent (MaskGenerator, itk::Object) | |
virtual unsigned int | GetNumberOfMasks () const =0 |
mitk::Image::ConstPointer | GetMask (unsigned int maskID) |
GetMask returns the requested (multi) label mask. More... | |
virtual mitk::Image::ConstPointer | GetReferenceImage () |
GetReferenceImage per default returns the inputImage (as set by SetInputImage). If no input image is set it will return a nullptr. More... | |
virtual void | SetInputImage (const mitk::Image *_arg) |
SetInputImage is used to set the input image to the mask generator. Some subclasses require an input image, others don't. See the documentation of the specific Mask Generator for more information. More... | |
virtual void | SetTimePoint (TimePointType _arg) |
Protected Member Functions | |
MaskGenerator () | |
virtual mitk::Image::ConstPointer | DoGetMask (unsigned int maskID)=0 |
DoGetMask must be overridden by derived classes. More... | |
Protected Attributes | |
TimePointType | m_TimePoint |
mitk::Image::ConstPointer | m_InputImage |
Base Class for all Mask Generators. Mask generators are classes that provide functionality for the creation of binary (or unsigned short) masks that can be applied to an image. See derived classes for more information.
Definition at line 30 of file mitkMaskGenerator.h.
|
protected |
|
protectedpure virtual |
DoGetMask must be overridden by derived classes.
maskID | Parameter indicating which mask should be returned. |
Implemented in mitk::HotspotMaskGenerator, mitk::PlanarFigureMaskGenerator, mitk::ImageMaskGenerator, mitk::IgnorePixelMaskGenerator, and mitk::MultiLabelMaskGenerator.
mitk::Image::ConstPointer mitk::MaskGenerator::GetMask | ( | unsigned int | maskID | ) |
GetMask returns the requested (multi) label mask.
maskID | Parameter indicating which mask should be returned. |
|
pure virtual |
|
virtual |
GetReferenceImage per default returns the inputImage (as set by SetInputImage). If no input image is set it will return a nullptr.
Reimplemented in mitk::PlanarFigureMaskGenerator.
mitk::MaskGenerator::mitkClassMacroItkParent | ( | MaskGenerator | , |
itk::Object | |||
) |
|
virtual |
SetInputImage is used to set the input image to the mask generator. Some subclasses require an input image, others don't. See the documentation of the specific Mask Generator for more information.
|
virtual |
|
protected |
Definition at line 66 of file mitkMaskGenerator.h.
|
protected |
Definition at line 65 of file mitkMaskGenerator.h.