Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel > Class Template Reference
[Image Enhancement FiltersMathematical Morphology Image Filters]

Erosion of an object in an image. More...

#include <itkErodeObjectMorphologyImageFilter.h>

Inheritance diagram for itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >:

Inheritance graph
[legend]
Collaboration diagram for itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef ErodeObjectMorphologyImageFilter Self
typedef ObjectMorphologyImageFilter<
TInputImage, TOutputImage,
TKernel > 
Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef Superclass::PixelType PixelType
typedef TKernel KernelType
typedef KernelType::ConstIterator KernelIteratorType
typedef NeighborhoodIterator<
TOutputImage > 
OutputNeighborhoodIteratorType

Public Member Functions

virtual const char * GetClassName () const
virtual void SetBackgroundValue (PixelType _arg)
virtual PixelType GetBackgroundValue ()

Static Public Member Functions

Pointer New ()

Protected Member Functions

 ErodeObjectMorphologyImageFilter ()
 ~ErodeObjectMorphologyImageFilter ()
void PrintSelf (std::ostream &os, Indent indent) const
void Evaluate (OutputNeighborhoodIteratorType &nit, const KernelType &kernel)

Detailed Description

template<class TInputImage, class TOutputImage, class TKernel>
class itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >

Erosion of an object in an image.

Erosion of an image using binary morphology. Pixel values matching the object value are considered the "object" and all other pixels are "background". This is useful in processing mask images containing only one object.

If the pixel covered by the center of the kernel has the pixel value ObjectValue and the pixel is adjacent to a non-object valued pixel, then the kernel is centered on the object-value pixel and neighboring pixels covered by the kernel are assigned the background value. The structuring element is assumed to be composed of binary values (zero or one).

See also:
ObjectMorphologyImageFilter, BinaryFunctionErodeImageFilter

BinaryErodeImageFilter

Definition at line 44 of file itkErodeObjectMorphologyImageFilter.h.


Member Typedef Documentation

template<class TInputImage, class TOutputImage, class TKernel>
typedef SmartPointer<const Self> itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::ConstPointer
 

Reimplemented from itk::ObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >.

Definition at line 53 of file itkErodeObjectMorphologyImageFilter.h.

template<class TInputImage, class TOutputImage, class TKernel>
typedef KernelType::ConstIterator itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::KernelIteratorType
 

Kernel (structuring element) iterator

Reimplemented from itk::ObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >.

Definition at line 68 of file itkErodeObjectMorphologyImageFilter.h.

template<class TInputImage, class TOutputImage, class TKernel>
typedef TKernel itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::KernelType
 

Kernel typedef

Reimplemented from itk::ObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >.

Definition at line 65 of file itkErodeObjectMorphologyImageFilter.h.

template<class TInputImage, class TOutputImage, class TKernel>
typedef NeighborhoodIterator<TOutputImage> itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::OutputNeighborhoodIteratorType
 

Reimplemented from itk::ObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >.

Definition at line 71 of file itkErodeObjectMorphologyImageFilter.h.

template<class TInputImage, class TOutputImage, class TKernel>
typedef Superclass::PixelType itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::PixelType
 

Declaration of Pixel Type

Reimplemented from itk::ObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >.

Definition at line 62 of file itkErodeObjectMorphologyImageFilter.h.

template<class TInputImage, class TOutputImage, class TKernel>
typedef SmartPointer<Self> itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::Pointer
 

Reimplemented from itk::ObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >.

Definition at line 52 of file itkErodeObjectMorphologyImageFilter.h.

template<class TInputImage, class TOutputImage, class TKernel>
typedef ErodeObjectMorphologyImageFilter itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::Self
 

Standard class typedefs.

Reimplemented from itk::ObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >.

Definition at line 49 of file itkErodeObjectMorphologyImageFilter.h.

template<class TInputImage, class TOutputImage, class TKernel>
typedef ObjectMorphologyImageFilter<TInputImage, TOutputImage, TKernel> itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::Superclass
 

Reimplemented from itk::ObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >.

Definition at line 51 of file itkErodeObjectMorphologyImageFilter.h.


Constructor & Destructor Documentation

template<class TInputImage, class TOutputImage, class TKernel>
itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::ErodeObjectMorphologyImageFilter  )  [protected]
 

template<class TInputImage, class TOutputImage, class TKernel>
itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::~ErodeObjectMorphologyImageFilter  )  [inline, protected]
 

Definition at line 81 of file itkErodeObjectMorphologyImageFilter.h.


Member Function Documentation

template<class TInputImage, class TOutputImage, class TKernel>
void itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::Evaluate OutputNeighborhoodIteratorType nit,
const KernelType kernel
[protected, virtual]
 

Apply the kernel to the neighborhood given.

All values in neighborhood covered by the kernel will be set to the background value.

Implements itk::ObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >.

template<class TInputImage, class TOutputImage, class TKernel>
virtual PixelType itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::GetBackgroundValue  )  [virtual]
 

Get the value to be assigned to eroded pixels

template<class TInputImage, class TOutputImage, class TKernel>
virtual const char* itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::GetClassName  )  const [virtual]
 

Runtime information support

Reimplemented from itk::ObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >.

template<class TInputImage, class TOutputImage, class TKernel>
Pointer itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::New  )  [static]
 

Standard New method

Reimplemented from itk::Object.

template<class TInputImage, class TOutputImage, class TKernel>
void itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::PrintSelf std::ostream &  os,
Indent  indent
const [protected, virtual]
 

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::ObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >.

template<class TInputImage, class TOutputImage, class TKernel>
virtual void itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::SetBackgroundValue PixelType  _arg  )  [virtual]
 

Set the value to be assigned to eroded pixels


The documentation for this class was generated from the following file:
Generated at Sun Apr 1 02:53:36 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000