ITK  4.1.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel > Class Template Reference

#include <itkErodeObjectMorphologyImageFilter.h>

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

List of all members.

Public Types

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

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual PixelType GetBackgroundValue () const
PixelType GetErodeValue (void)
virtual const char * GetNameOfClass () const
virtual void SetBackgroundValue (PixelType _arg)
void SetErodeValue (PixelType objectValue)
 typedef (Concept::GreaterThanComparable< KernelPixelType >) KernelGreaterThanComparableCheck

Static Public Member Functions

static Pointer New ()

Protected Member Functions

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

Private Member Functions

 ErodeObjectMorphologyImageFilter (const Self &)
void operator= (const Self &)

Private Attributes

PixelType m_BackgroundValue
DefaultBoundaryConditionType m_ErodeBoundaryCondition

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 46 of file itkErodeObjectMorphologyImageFilter.h.


Member Typedef Documentation

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

Default boundary condition type

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

Definition at line 75 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 69 of file itkErodeObjectMorphologyImageFilter.h.

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

Type of the pixels in the Kernel.

Definition at line 95 of file itkErodeObjectMorphologyImageFilter.h.

template<class TInputImage , class TOutputImage , class TKernel >
typedef TKernel itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::KernelType
template<class TInputImage , class TOutputImage , class TKernel >
typedef NeighborhoodIterator< TOutputImage > itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::OutputNeighborhoodIteratorType
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 60 of file itkErodeObjectMorphologyImageFilter.h.

template<class TInputImage , class TOutputImage , class TKernel >
typedef SmartPointer< Self > itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::Pointer
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 51 of file itkErodeObjectMorphologyImageFilter.h.

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

Constructor & Destructor Documentation

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

End concept checking

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

End concept checking

Definition at line 109 of file itkErodeObjectMorphologyImageFilter.h.

template<class TInputImage , class TOutputImage , class TKernel >
itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::ErodeObjectMorphologyImageFilter ( const Self ) [private]

Member Function Documentation

template<class TInputImage , class TOutputImage , class TKernel >
virtual::itk::LightObject::Pointer itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::CreateAnother ( void  ) const [virtual]

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::Object.

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 ( ) const [virtual]

Get the value to be assigned to eroded pixels

template<class TInputImage , class TOutputImage , class TKernel >
PixelType itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::GetErodeValue ( void  ) [inline]

Set the object's value. Added for API consistency with itkBinaryErode filter

Definition at line 86 of file itkErodeObjectMorphologyImageFilter.h.

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

Runtime information support

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

template<class TInputImage , class TOutputImage , class TKernel >
static 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 >::operator= ( const Self ) [private]

PushBackInput(), PushFronInput() in the public section force the input to be the type expected by an ImageToImageFilter. However, these methods end of "hiding" the versions from the superclass (ProcessObject) whose arguments are DataObjects. Here, we re-expose the versions from ProcessObject to avoid warnings about hiding methods from the superclass.

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

template<class TInputImage , class TOutputImage , class TKernel >
void itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const [protected, virtual]
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

template<class TInputImage , class TOutputImage , class TKernel >
void itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::SetErodeValue ( PixelType  objectValue) [inline]

Set the object's value. Added for API consistency with itkBinaryErode filter

Definition at line 79 of file itkErodeObjectMorphologyImageFilter.h.

template<class TInputImage , class TOutputImage , class TKernel >
itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::typedef ( Concept::GreaterThanComparable< KernelPixelType )

Begin concept checking This class requires KernelGreaterThanComparableCheck in the form of ( Concept::GreaterThanComparable< KernelPixelType > )


Member Data Documentation

template<class TInputImage , class TOutputImage , class TKernel >
PixelType itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::m_BackgroundValue [private]

Definition at line 124 of file itkErodeObjectMorphologyImageFilter.h.

template<class TInputImage , class TOutputImage , class TKernel >
DefaultBoundaryConditionType itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::m_ErodeBoundaryCondition [private]

Definition at line 128 of file itkErodeObjectMorphologyImageFilter.h.


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