Medical Imaging Interaction Toolkit
2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
|
The IgnorePixelMaskGenerator class is used to generate a mask that is zero for specific pixel values in the input image. This class requires an input image. More...
#include <mitkIgnorePixelMaskGenerator.h>
Public Types | |
typedef IgnorePixelMaskGenerator | Self |
typedef MaskGenerator | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef double | RealType |
Public Member Functions | |
virtual const char * | GetClassName () const |
void | SetIgnoredPixelValue (RealType pixelValue) |
The mask will be 0 there inputImage==pixelValue and 1 otherwise. More... | |
unsigned int | GetNumberOfMasks () const override |
Public Member Functions inherited from mitk::MaskGenerator | |
mitkClassMacroItkParent (MaskGenerator, itk::Object) | |
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) |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
IgnorePixelMaskGenerator () | |
~IgnorePixelMaskGenerator ()=default | |
mitk::Image::ConstPointer | DoGetMask (unsigned int maskID) override |
DoGetMask must be overridden by derived classes. More... | |
template<typename TPixel , unsigned int VImageDimension> | |
void | InternalCalculateMask (const itk::Image< TPixel, VImageDimension > *image) |
Protected Member Functions inherited from mitk::MaskGenerator | |
MaskGenerator () | |
Additional Inherited Members | |
Protected Attributes inherited from mitk::MaskGenerator | |
TimePointType | m_TimePoint |
mitk::Image::ConstPointer | m_InputImage |
The IgnorePixelMaskGenerator class is used to generate a mask that is zero for specific pixel values in the input image. This class requires an input image.
Definition at line 28 of file mitkIgnorePixelMaskGenerator.h.
typedef itk::SmartPointer< const Self > mitk::IgnorePixelMaskGenerator::ConstPointer |
Definition at line 35 of file mitkIgnorePixelMaskGenerator.h.
Definition at line 34 of file mitkIgnorePixelMaskGenerator.h.
typedef double mitk::IgnorePixelMaskGenerator::RealType |
Definition at line 36 of file mitkIgnorePixelMaskGenerator.h.
Standard Self typedef
Definition at line 32 of file mitkIgnorePixelMaskGenerator.h.
Definition at line 33 of file mitkIgnorePixelMaskGenerator.h.
|
inlineprotected |
Definition at line 50 of file mitkIgnorePixelMaskGenerator.h.
|
protecteddefault |
|
overrideprotectedvirtual |
DoGetMask must be overridden by derived classes.
maskID | Parameter indicating which mask should be returned. |
Implements mitk::MaskGenerator.
|
virtual |
Runtime information support.
|
overridevirtual |
Implements mitk::MaskGenerator.
|
protected |
|
static |
Method for creation through the object factory.
void mitk::IgnorePixelMaskGenerator::SetIgnoredPixelValue | ( | RealType | pixelValue | ) |
The mask will be 0 there inputImage==pixelValue and 1 otherwise.