Medical Imaging Interaction Toolkit
2016.11.0
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 Types inherited from mitk::MaskGenerator | |
typedef MaskGenerator | Self |
typedef itk::Object | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
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 |
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.
typedef itk::SmartPointer< const Self > mitk::IgnorePixelMaskGenerator::ConstPointer |
Definition at line 23 of file mitkIgnorePixelMaskGenerator.h.
Definition at line 22 of file mitkIgnorePixelMaskGenerator.h.
typedef double mitk::IgnorePixelMaskGenerator::RealType |
Definition at line 24 of file mitkIgnorePixelMaskGenerator.h.
Standard Self typedef
Definition at line 20 of file mitkIgnorePixelMaskGenerator.h.
Definition at line 21 of file mitkIgnorePixelMaskGenerator.h.
|
inlineprotected |
Definition at line 49 of file mitkIgnorePixelMaskGenerator.h.
References mitk::Image::New().
|
inlineprotected |
Definition at line 57 of file mitkIgnorePixelMaskGenerator.h.
|
virtual |
Runtime information support.
Reimplemented from mitk::MaskGenerator.
|
virtual |
Computes and returns the mask.
Reimplemented from mitk::MaskGenerator.
Definition at line 27 of file mitkIgnorePixelMaskGenerator.cpp.
References AccessByItk, InternalCalculateMask(), mitk::MaskGenerator::m_inputImage, mitk::MaskGenerator::m_InternalMask, mitk::MaskGenerator::m_TimeStep, min(), MITK_ERROR, and mitk::ImageTimeSelector::New().
|
protected |
Definition at line 65 of file mitkIgnorePixelMaskGenerator.cpp.
References mitk::GrabItkImageMemory(), mitk::MaskGenerator::m_InternalMask, and mitk::New().
Referenced by GetMask().
|
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.
|
virtual |
SetTimeStep is used to set the time step for which the mask is to be generated.
timeStep |
Reimplemented from mitk::MaskGenerator.
Definition at line 19 of file mitkIgnorePixelMaskGenerator.cpp.
References mitk::MaskGenerator::m_TimeStep.