Medical Imaging Interaction Toolkit  2022.04.99-01b95b17
Medical Imaging Interaction Toolkit
mitk::IgnorePixelMaskGenerator Class Reference

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>

Inheritance diagram for mitk::IgnorePixelMaskGenerator:
Collaboration diagram for mitk::IgnorePixelMaskGenerator:

Public Types

typedef IgnorePixelMaskGenerator Self
 
typedef MaskGenerator Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef double RealType
 
- Public Types inherited from mitk::MaskGenerator
typedef MaskGenerator Self
 
typedef itk::Object Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 

Public Member Functions

virtual const char * GetClassName () const
 
void SetIgnoredPixelValue (RealType pixelValue)
 The mask will be 0 there inputImage==pixelValue and 1 otherwise. More...
 
mitk::Image::Pointer GetMask () override
 Computes and returns the mask. More...
 
void SetTimeStep (unsigned int timeStep) override
 SetTimeStep is used to set the time step for which the mask is to be generated. More...
 
- Public Member Functions inherited from mitk::MaskGenerator
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...
 
void SetInputImage (mitk::Image::ConstPointer inputImg)
 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...
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from mitk::MaskGenerator
static Pointer New ()
 

Protected Member Functions

 IgnorePixelMaskGenerator ()
 
 ~IgnorePixelMaskGenerator () override
 
template<typename TPixel , unsigned int VImageDimension>
void InternalCalculateMask (typename itk::Image< TPixel, VImageDimension > *image)
 
- Protected Member Functions inherited from mitk::MaskGenerator
 MaskGenerator ()
 

Additional Inherited Members

- Protected Attributes inherited from mitk::MaskGenerator
unsigned int m_TimeStep
 
mitk::Image::Pointer m_InternalMask
 
mitk::Image::ConstPointer m_inputImage
 

Detailed Description

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.

Member Typedef Documentation

◆ ConstPointer

◆ Pointer

◆ RealType

◆ Self

Standard Self typedef

Definition at line 32 of file mitkIgnorePixelMaskGenerator.h.

◆ Superclass

Constructor & Destructor Documentation

◆ IgnorePixelMaskGenerator()

mitk::IgnorePixelMaskGenerator::IgnorePixelMaskGenerator ( )
inlineprotected

Definition at line 59 of file mitkIgnorePixelMaskGenerator.h.

References mitk::Image::New().

◆ ~IgnorePixelMaskGenerator()

mitk::IgnorePixelMaskGenerator::~IgnorePixelMaskGenerator ( )
inlineoverrideprotected

Definition at line 67 of file mitkIgnorePixelMaskGenerator.h.

Member Function Documentation

◆ GetClassName()

virtual const char* mitk::IgnorePixelMaskGenerator::GetClassName ( ) const
virtual

Runtime information support.

Reimplemented from mitk::MaskGenerator.

◆ GetMask()

mitk::Image::Pointer mitk::IgnorePixelMaskGenerator::GetMask ( )
overridevirtual

Computes and returns the mask.

Reimplemented from mitk::MaskGenerator.

◆ InternalCalculateMask()

template<typename TPixel , unsigned int VImageDimension>
void mitk::IgnorePixelMaskGenerator::InternalCalculateMask ( typename itk::Image< TPixel, VImageDimension > *  image)
protected

◆ New()

static Pointer mitk::IgnorePixelMaskGenerator::New ( )
static

Method for creation through the object factory.

◆ SetIgnoredPixelValue()

void mitk::IgnorePixelMaskGenerator::SetIgnoredPixelValue ( RealType  pixelValue)

The mask will be 0 there inputImage==pixelValue and 1 otherwise.

◆ SetTimeStep()

void mitk::IgnorePixelMaskGenerator::SetTimeStep ( unsigned int  timeStep)
overridevirtual

SetTimeStep is used to set the time step for which the mask is to be generated.

Parameters
timeStep

Reimplemented from mitk::MaskGenerator.


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