Medical Imaging Interaction Toolkit  2016.11.0
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 ()
 Computes and returns the mask. More...
 
void SetTimeStep (unsigned int timeStep)
 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::Pointer 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::Pointer 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 ()
 
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::Pointer 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 16 of file mitkIgnorePixelMaskGenerator.h.

Member Typedef Documentation

Standard Self typedef

Definition at line 20 of file mitkIgnorePixelMaskGenerator.h.

Constructor & Destructor Documentation

mitk::IgnorePixelMaskGenerator::IgnorePixelMaskGenerator ( )
inlineprotected

Definition at line 49 of file mitkIgnorePixelMaskGenerator.h.

References mitk::Image::New().

mitk::IgnorePixelMaskGenerator::~IgnorePixelMaskGenerator ( )
inlineprotected

Definition at line 57 of file mitkIgnorePixelMaskGenerator.h.

Member Function Documentation

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

Runtime information support.

Reimplemented from mitk::MaskGenerator.

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

Method for creation through the object factory.

Referenced by compute_statistics(), and main().

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

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

Definition at line 10 of file mitkIgnorePixelMaskGenerator.cpp.

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

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

Parameters
timeStep

Reimplemented from mitk::MaskGenerator.

Definition at line 19 of file mitkIgnorePixelMaskGenerator.cpp.

References mitk::MaskGenerator::m_TimeStep.


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