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::MIDASConditionalErosionFilter< TInputImage1, TInputImage2, TOutputImage > Class Template Reference

Performs the conditional erosion, described in step 3 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::MIDASConditionalErosionFilter< TInputImage1, TInputImage2, TOutputImage >:
Inheritance graph
[legend]
Collaboration diagram for itk::MIDASConditionalErosionFilter< TInputImage1, TInputImage2, TOutputImage >:
Collaboration graph
[legend]

Public Types

typedef
MIDASConditionalErosionFilter 
Self
 
typedef
MIDASBaseConditionalMorphologyFilter
< TInputImage1, TInputImage2,
TOutputImage > 
SuperClass
 
typedef SmartPointer< SelfPointer
 
typedef SmartPointer< const SelfConstPointer
 
typedef TInputImage1::PixelType PixelType1
 
typedef TInputImage2::PixelType PixelType2
 
typedef TInputImage1 InputMaskImageType
 
typedef InputMaskImageType::Pointer InputMaskImagePointer
 
typedef
InputMaskImageType::SizeType 
InputMaskImageSizeType
 
typedef
InputMaskImageType::RegionType 
InputMaskImageRegionType
 
typedef
InputMaskImageType::IndexType 
InputMaskImageIndexType
 
typedef TInputImage2 InputMainImageType
 
typedef InputMainImageType::Pointer InputMainImagePointer
 
typedef
InputMainImageType::SizeType 
InputMainImageSizeType
 
typedef
InputMainImageType::RegionType 
InputMainImageRegionType
 
typedef TOutputImage OutputImageType
 
typedef OutputImageType::Pointer OutputImagePointer
 
typedef OutputImageType::RegionType OutputImageRegionType
 
typedef OutputImageType::SizeType OutputImageSizeType
 
typedef OutputImageType::IndexType OutputImageIndexType
 
typedef
itk::ConstNeighborhoodIterator
< OutputImageType >
::RadiusType 
OutputImageRadiusType
 
- Public Types inherited from itk::MIDASBaseConditionalMorphologyFilter< TInputImage1, TInputImage2, TOutputImage >
typedef
MIDASBaseConditionalMorphologyFilter 
Self
 
typedef ImageToImageFilter
< TInputImage1, TOutputImage > 
SuperClass
 
typedef SmartPointer< SelfPointer
 
typedef SmartPointer< const SelfConstPointer
 
typedef TInputImage1::PixelType PixelType1
 
typedef TInputImage2::PixelType PixelType2
 
typedef TInputImage1 InputMaskImageType
 
typedef InputMaskImageType::Pointer InputMaskImagePointer
 
typedef
InputMaskImageType::SizeType 
InputMaskImageSizeType
 
typedef
InputMaskImageType::RegionType 
InputMaskImageRegionType
 
typedef
InputMaskImageType::IndexType 
InputMaskImageIndexType
 
typedef TInputImage2 InputMainImageType
 
typedef InputMainImageType::Pointer InputMainImagePointer
 
typedef
InputMainImageType::SizeType 
InputMainImageSizeType
 
typedef
InputMainImageType::RegionType 
InputMainImageRegionType
 
typedef TOutputImage OutputImageType
 
typedef OutputImageType::Pointer OutputImagePointer
 
typedef OutputImageType::RegionType OutputImageRegionType
 
typedef OutputImageType::SizeType OutputImageSizeType
 
typedef OutputImageType::IndexType OutputImageIndexType
 
typedef
itk::ConstNeighborhoodIterator
< OutputImageType >
::RadiusType 
OutputImageRadiusType
 
typedef itk::ImageDuplicator
< OutputImageType
MaskImageDuplicatorType
 
typedef
MaskImageDuplicatorType::Pointer 
MaskImageDuplicatorPointer
 

Public Member Functions

virtual const char * GetClassName () const
 
virtual void SetUpperThreshold (PixelType2 _arg)
 
virtual PixelType2 GetUpperThreshold () const
 
- Public Member Functions inherited from itk::MIDASBaseConditionalMorphologyFilter< TInputImage1, TInputImage2, TOutputImage >
void SetRegion (InputMaskImageRegionType region)
 
InputMaskImageRegionType GetRegion () const
 
virtual void SetNumberOfIterations (unsigned int _arg)
 
virtual unsigned int GetNumberOfIterations () const
 
virtual void SetInValue (PixelType1 _arg)
 
virtual PixelType1 GetInValue () const
 
virtual void SetOutValue (PixelType1 _arg)
 
virtual PixelType1 GetOutValue () const
 
void SetBinaryImageInput (const InputMaskImageType *image)
 
void SetGreyScaleImageInput (const InputMainImageType *image)
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 MIDASConditionalErosionFilter ()
 
virtual ~MIDASConditionalErosionFilter ()
 
void PrintSelf (std::ostream &os, Indent indent) const
 
void DoFilter (InputMainImageType *inGrey, OutputImageType *inMask, OutputImageType *out)
 
- Protected Member Functions inherited from itk::MIDASBaseConditionalMorphologyFilter< TInputImage1, TInputImage2, TOutputImage >
 MIDASBaseConditionalMorphologyFilter ()
 
virtual ~MIDASBaseConditionalMorphologyFilter ()
 
void PrintSelf (std::ostream &os, Indent indent) const
 
virtual void GenerateData ()
 
virtual void BeforeFilter ()
 
virtual void AfterFilter ()
 
virtual void BeforeIteration ()
 
virtual void AfterIteration ()
 
void CopyImageData (OutputImageType *in, OutputImageType *out)
 
bool IsOnBoundaryOfImage (const OutputImageIndexType &voxelIndex, const OutputImageSizeType &size)
 
bool IsOnBoundaryOfRegion (const OutputImageIndexType &voxelIndex, const OutputImageRegionType &region)
 

Additional Inherited Members

- Protected Attributes inherited from itk::MIDASBaseConditionalMorphologyFilter< TInputImage1, TInputImage2, TOutputImage >
InputMaskImageRegionType m_Region
 
bool m_UserSetRegion
 

Detailed Description

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

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

From the paper, the parameter n is the number of erosions, which is specified using SetNumberOfIterations(n), and the parameter s_i, which is the upper limit in grey value, above which values are not eroded, which is set using SetUpperThreshold(value).

Member Typedef Documentation

template<class TInputImage1 , class TInputImage2 , class TOutputImage >
typedef SmartPointer<const Self> itk::MIDASConditionalErosionFilter< TInputImage1, TInputImage2, TOutputImage >::ConstPointer
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
typedef InputMainImageType::Pointer itk::MIDASConditionalErosionFilter< TInputImage1, TInputImage2, TOutputImage >::InputMainImagePointer
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
typedef InputMainImageType::RegionType itk::MIDASConditionalErosionFilter< TInputImage1, TInputImage2, TOutputImage >::InputMainImageRegionType
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
typedef InputMainImageType::SizeType itk::MIDASConditionalErosionFilter< TInputImage1, TInputImage2, TOutputImage >::InputMainImageSizeType
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
typedef TInputImage2 itk::MIDASConditionalErosionFilter< TInputImage1, TInputImage2, TOutputImage >::InputMainImageType
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
typedef InputMaskImageType::IndexType itk::MIDASConditionalErosionFilter< TInputImage1, TInputImage2, TOutputImage >::InputMaskImageIndexType
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
typedef InputMaskImageType::Pointer itk::MIDASConditionalErosionFilter< TInputImage1, TInputImage2, TOutputImage >::InputMaskImagePointer
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
typedef InputMaskImageType::RegionType itk::MIDASConditionalErosionFilter< TInputImage1, TInputImage2, TOutputImage >::InputMaskImageRegionType
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
typedef InputMaskImageType::SizeType itk::MIDASConditionalErosionFilter< TInputImage1, TInputImage2, TOutputImage >::InputMaskImageSizeType
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
typedef TInputImage1 itk::MIDASConditionalErosionFilter< TInputImage1, TInputImage2, TOutputImage >::InputMaskImageType

Some additional typedefs

template<class TInputImage1 , class TInputImage2 , class TOutputImage >
typedef OutputImageType::IndexType itk::MIDASConditionalErosionFilter< TInputImage1, TInputImage2, TOutputImage >::OutputImageIndexType
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
typedef OutputImageType::Pointer itk::MIDASConditionalErosionFilter< TInputImage1, TInputImage2, TOutputImage >::OutputImagePointer
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
typedef itk::ConstNeighborhoodIterator<OutputImageType>::RadiusType itk::MIDASConditionalErosionFilter< TInputImage1, TInputImage2, TOutputImage >::OutputImageRadiusType
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
typedef OutputImageType::RegionType itk::MIDASConditionalErosionFilter< TInputImage1, TInputImage2, TOutputImage >::OutputImageRegionType
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
typedef OutputImageType::SizeType itk::MIDASConditionalErosionFilter< TInputImage1, TInputImage2, TOutputImage >::OutputImageSizeType
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
typedef TOutputImage itk::MIDASConditionalErosionFilter< TInputImage1, TInputImage2, TOutputImage >::OutputImageType
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
typedef TInputImage1::PixelType itk::MIDASConditionalErosionFilter< TInputImage1, TInputImage2, TOutputImage >::PixelType1

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

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

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

template<class TInputImage1 , class TInputImage2 , class TOutputImage >
typedef SmartPointer<Self> itk::MIDASConditionalErosionFilter< TInputImage1, TInputImage2, TOutputImage >::Pointer
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
typedef MIDASConditionalErosionFilter itk::MIDASConditionalErosionFilter< TInputImage1, TInputImage2, TOutputImage >::Self

Standard class typedefs

template<class TInputImage1 , class TInputImage2 , class TOutputImage >
typedef MIDASBaseConditionalMorphologyFilter<TInputImage1, TInputImage2, TOutputImage> itk::MIDASConditionalErosionFilter< TInputImage1, TInputImage2, TOutputImage >::SuperClass

Constructor & Destructor Documentation

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

Member Function Documentation

template<class TInputImage1 , class TInputImage2 , class TOutputImage >
void itk::MIDASConditionalErosionFilter< TInputImage1, TInputImage2, TOutputImage >::DoFilter ( InputMainImageType inGrey,
OutputImageType inMask,
OutputImageType out 
)
protectedvirtual
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
virtual const char* itk::MIDASConditionalErosionFilter< TInputImage1, TInputImage2, TOutputImage >::GetClassName ( ) const
virtual

Run-time type information (and related methods)

Reimplemented from itk::MIDASBaseConditionalMorphologyFilter< TInputImage1, TInputImage2, TOutputImage >.

template<class TInputImage1 , class TInputImage2 , class TOutputImage >
virtual PixelType2 itk::MIDASConditionalErosionFilter< TInputImage1, TInputImage2, TOutputImage >::GetUpperThreshold ( ) const
virtual
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
static Pointer itk::MIDASConditionalErosionFilter< TInputImage1, TInputImage2, TOutputImage >::New ( )
static

Method for creation through the object factory

template<class TInputImage1 , class TInputImage2 , class TOutputImage >
void itk::MIDASConditionalErosionFilter< TInputImage1, TInputImage2, TOutputImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protected
template<class TInputImage1 , class TInputImage2 , class TOutputImage >
virtual void itk::MIDASConditionalErosionFilter< TInputImage1, TInputImage2, TOutputImage >::SetUpperThreshold ( PixelType2  _arg)
virtual

Set/Get the upper threshold. Pixels are only eroded if the grey value is below this threshold.


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