NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage > Class Template Reference

Performs the re-thresholding, described in step 5 of "Interactive Algorithms for the segmentation and quantification of 3-D MRI scans" Freeborough et. al. CMPB 53 (1997) 15-25. More...

Inheritance diagram for itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >:
Inheritance graph
[legend]
Collaboration diagram for itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >:
Collaboration graph
[legend]

Public Types

typedef MIDASRethresholdingFilter Self
 
typedef ImageToImageFilter
< TInputImage1, TOutputImage > 
SuperClass
 
typedef SmartPointer< SelfPointer
 
typedef SmartPointer< const SelfConstPointer
 
typedef TInputImage1::PixelType PixelType1
 
typedef TInputImage2::PixelType PixelType2
 
typedef TInputImage1 InputMainImageType
 
typedef InputMainImageType::Pointer InputMainImagePointer
 
typedef
InputMainImageType::SizeType 
InputMainImageSizeType
 
typedef
InputMainImageType::RegionType 
InputMainImageRegionType
 
typedef TInputImage2 InputMaskImageType
 
typedef InputMaskImageType::Pointer InputMaskImagePointer
 
typedef
InputMaskImageType::SizeType 
InputMaskImageSizeType
 
typedef
InputMaskImageType::RegionType 
InputMaskImageRegionType
 
typedef
InputMaskImageType::IndexType 
InputMaskImageIndexType
 
typedef TInputImage2 OutputImageType
 
typedef OutputImageType::Pointer OutputImagePointer
 
typedef OutputImageType::RegionType OutputImageRegionType
 
typedef OutputImageType::SizeType OutputImageSizeType
 
typedef OutputImageType::IndexType OutputImageIndexType
 
typedef
itk::RegionOfInterestImageFilter
< InputMaskImageType,
InputMaskImageType
ROIImageFilterType
 
typedef ROIImageFilterType::Pointer ROIImageFilterPointer
 
typedef
itk::MIDASDownSamplingFilter
< InputMaskImageType,
InputMaskImageType
DownSamplingFilterType
 
typedef
DownSamplingFilterType::Pointer 
DownSamplingFilterPointer
 
typedef
itk::BinaryCrossStructuringElement
< typename
InputMaskImageType::PixelType,
InputMaskImageType::ImageDimension > 
StructuringElementType
 
typedef
itk::BinaryErodeImageFilter
< InputMaskImageType,
InputMaskImageType,
StructuringElementType
ErosionFilterType
 
typedef ErosionFilterType::Pointer ErosionFilterPointer
 
typedef
itk::MIDASUpSamplingFilter
< InputMaskImageType,
InputMaskImageType
UpSamplingFilterType
 
typedef
UpSamplingFilterType::Pointer 
UpSamplingFilterPointer
 
typedef itk::PasteImageFilter
< InputMaskImageType,
InputMaskImageType
PasteImageFilterType
 
typedef
PasteImageFilterType::Pointer 
PasteImageFilterPointer
 

Public Member Functions

virtual const char * GetClassName () const
 
void SetGreyScaleImageInput (const InputMainImageType *image)
 
void SetBinaryImageInput (const InputMaskImageType *image)
 
void SetThresholdedImageInput (const InputMaskImageType *image)
 
virtual void SetInValue (PixelType2 _arg)
 
virtual PixelType2 GetInValue () const
 
virtual void SetOutValue (PixelType2 _arg)
 
virtual PixelType2 GetOutValue () const
 
virtual void SetDownSamplingFactor (unsigned int _arg)
 
virtual unsigned int GetDownSamplingFactor () const
 
virtual void SetLowPercentageThreshold (unsigned int _arg)
 
virtual unsigned int GetLowPercentageThreshold () const
 
virtual void SetHighPercentageThreshold (unsigned int _arg)
 
virtual unsigned int GetHighPercentageThreshold () const
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 MIDASRethresholdingFilter ()
 
virtual ~MIDASRethresholdingFilter ()
 
void PrintSelf (std::ostream &os, Indent indent) const
 
void GenerateData ()
 

Detailed Description

template<class TInputImage1, class TInputImage2, class TOutputImage>
class itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >

Performs the re-thresholding, described in step 5 of "Interactive Algorithms for the segmentation and quantification of 3-D MRI scans" Freeborough et. al. CMPB 53 (1997) 15-25.

The image is downsampled by an integer amount using the parameter SetDownSamplingFactor. It is eroded using the standard ITK erosion with a simple binary cross structuring element. It is then upsampled to match the original size.

The net effect is that the interior region has holes filled. This filter is implemented as a composite filter to hide the memory management of different size images and the use of multiple filters.

Member Typedef Documentation

template<class TInputImage1 , class TInputImage2 , class TOutputImage >
typedef SmartPointer<const Self> itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::ConstPointer
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
typedef DownSamplingFilterType::Pointer itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::DownSamplingFilterPointer
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
typedef itk::MIDASDownSamplingFilter<InputMaskImageType, InputMaskImageType> itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::DownSamplingFilterType
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
typedef ErosionFilterType::Pointer itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::ErosionFilterPointer
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
typedef itk::BinaryErodeImageFilter<InputMaskImageType, InputMaskImageType, StructuringElementType> itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::ErosionFilterType
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
typedef InputMainImageType::Pointer itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::InputMainImagePointer
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
typedef InputMainImageType::RegionType itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::InputMainImageRegionType
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
typedef InputMainImageType::SizeType itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::InputMainImageSizeType
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
typedef TInputImage1 itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::InputMainImageType

Some additional typedefs

template<class TInputImage1 , class TInputImage2 , class TOutputImage >
typedef InputMaskImageType::IndexType itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::InputMaskImageIndexType
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
typedef InputMaskImageType::Pointer itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::InputMaskImagePointer
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
typedef InputMaskImageType::RegionType itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::InputMaskImageRegionType
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
typedef InputMaskImageType::SizeType itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::InputMaskImageSizeType
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
typedef TInputImage2 itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::InputMaskImageType
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
typedef OutputImageType::IndexType itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::OutputImageIndexType
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
typedef OutputImageType::Pointer itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::OutputImagePointer
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
typedef OutputImageType::RegionType itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::OutputImageRegionType
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
typedef OutputImageType::SizeType itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::OutputImageSizeType
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
typedef TInputImage2 itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::OutputImageType
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
typedef PasteImageFilterType::Pointer itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::PasteImageFilterPointer
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
typedef itk::PasteImageFilter<InputMaskImageType, InputMaskImageType> itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::PasteImageFilterType
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
typedef TInputImage1::PixelType itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::PixelType1

Typedef to describe the type of pixel for the first image, which should be the grey scale image.

template<class TInputImage1 , class TInputImage2 , class TOutputImage >
typedef TInputImage2::PixelType itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::PixelType2

Typedef to describe the type of pixel for the second image, which should be a binary mask image.

template<class TInputImage1 , class TInputImage2 , class TOutputImage >
typedef SmartPointer<Self> itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::Pointer
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
typedef ROIImageFilterType::Pointer itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::ROIImageFilterPointer
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
typedef itk::RegionOfInterestImageFilter<InputMaskImageType, InputMaskImageType> itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::ROIImageFilterType
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
typedef MIDASRethresholdingFilter itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::Self

Standard class typedefs

template<class TInputImage1 , class TInputImage2 , class TOutputImage >
typedef itk::BinaryCrossStructuringElement<typename InputMaskImageType::PixelType, InputMaskImageType::ImageDimension > itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::StructuringElementType
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
typedef ImageToImageFilter<TInputImage1, TOutputImage> itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::SuperClass
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
typedef UpSamplingFilterType::Pointer itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::UpSamplingFilterPointer
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
typedef itk::MIDASUpSamplingFilter<InputMaskImageType, InputMaskImageType> itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::UpSamplingFilterType

Constructor & Destructor Documentation

template<class TInputImage1 , class TInputImage2 , class TOutputImage >
itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::MIDASRethresholdingFilter ( )
protected
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
virtual itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::~MIDASRethresholdingFilter ( )
inlineprotectedvirtual

Member Function Documentation

template<class TInputImage1 , class TInputImage2 , class TOutputImage >
void itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::GenerateData ( )
protected

Generate the output data.

template<class TInputImage1 , class TInputImage2 , class TOutputImage >
virtual const char* itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::GetClassName ( ) const
virtual

Run-time type information (and related methods)

template<class TInputImage1 , class TInputImage2 , class TOutputImage >
virtual unsigned int itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::GetDownSamplingFactor ( ) const
virtual
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
virtual unsigned int itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::GetHighPercentageThreshold ( ) const
virtual
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
virtual PixelType2 itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::GetInValue ( ) const
virtual
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
virtual unsigned int itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::GetLowPercentageThreshold ( ) const
virtual
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
virtual PixelType2 itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::GetOutValue ( ) const
virtual
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
static Pointer itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::New ( )
static

Method for creation through the object factory

template<class TInputImage1 , class TInputImage2 , class TOutputImage >
void itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protected
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
void itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::SetBinaryImageInput ( const InputMaskImageType image)

Set the second input, which is the binary mask (output of dilation stage), that will be down sampled, eroded and up-sampled.

template<class TInputImage1 , class TInputImage2 , class TOutputImage >
virtual void itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::SetDownSamplingFactor ( unsigned int  _arg)
virtual

Set/Get methods to set the down-sampling factor, which defaults to 1 which passes the mask image straight through.

template<class TInputImage1 , class TInputImage2 , class TOutputImage >
void itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::SetGreyScaleImageInput ( const InputMainImageType image)

Set the first input, for the grey scale image.

template<class TInputImage1 , class TInputImage2 , class TOutputImage >
virtual void itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::SetHighPercentageThreshold ( unsigned int  _arg)
virtual

Set/Get methods to set the high percentage threshold, which defaults to 150%

template<class TInputImage1 , class TInputImage2 , class TOutputImage >
virtual void itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::SetInValue ( PixelType2  _arg)
virtual

Set/Get methods to set the output value for inside the region. Default 1.

template<class TInputImage1 , class TInputImage2 , class TOutputImage >
virtual void itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::SetLowPercentageThreshold ( unsigned int  _arg)
virtual

Set/Get methods to set the low percentage threshold, which defaults to 50%

template<class TInputImage1 , class TInputImage2 , class TOutputImage >
virtual void itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::SetOutValue ( PixelType2  _arg)
virtual

Set/Get methods to set the output value for outside the region. Default 0.

template<class TInputImage1 , class TInputImage2 , class TOutputImage >
void itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::SetThresholdedImageInput ( const InputMaskImageType image)

Sets the output of the thresholding stage onto this filter, as it provides a size basis for the down/up sampling.


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