ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkErodeObjectMorphologyImageFilter.h>
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).
Definition at line 46 of file itkErodeObjectMorphologyImageFilter.h.
typedef SmartPointer< const Self > itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::ConstPointer |
Reimplemented from itk::ObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >.
Definition at line 54 of file itkErodeObjectMorphologyImageFilter.h.
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.
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.
typedef TKernel::PixelType itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::KernelPixelType |
Type of the pixels in the Kernel.
Definition at line 95 of file itkErodeObjectMorphologyImageFilter.h.
typedef TKernel itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::KernelType |
Kernel typedef
Reimplemented from itk::ObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >.
Definition at line 66 of file itkErodeObjectMorphologyImageFilter.h.
typedef NeighborhoodIterator< TOutputImage > itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::OutputNeighborhoodIteratorType |
Reimplemented from itk::ObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >.
Definition at line 71 of file itkErodeObjectMorphologyImageFilter.h.
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.
typedef SmartPointer< Self > itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::Pointer |
Reimplemented from itk::ObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >.
Definition at line 53 of file itkErodeObjectMorphologyImageFilter.h.
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.
typedef ObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel > itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::Superclass |
Reimplemented from itk::ObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >.
Definition at line 52 of file itkErodeObjectMorphologyImageFilter.h.
itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::ErodeObjectMorphologyImageFilter | ( | ) | [protected] |
End concept checking
itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::~ErodeObjectMorphologyImageFilter | ( | ) | [inline, protected] |
End concept checking
Definition at line 109 of file itkErodeObjectMorphologyImageFilter.h.
itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::ErodeObjectMorphologyImageFilter | ( | const Self & | ) | [private] |
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.
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 >.
virtual PixelType itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::GetBackgroundValue | ( | ) | const [virtual] |
Get the value to be assigned to eroded pixels
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.
virtual const char* itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::GetNameOfClass | ( | ) | const [virtual] |
Runtime information support
Reimplemented from itk::ObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >.
static Pointer itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::New | ( | ) | [static] |
Standard New method
Reimplemented from itk::Object.
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 >.
void itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
End concept checking
Reimplemented from itk::ObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >.
virtual void itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::SetBackgroundValue | ( | PixelType | _arg | ) | [virtual] |
Set the value to be assigned to eroded pixels
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.
itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::typedef | ( | Concept::GreaterThanComparable< KernelPixelType > | ) |
Begin concept checking This class requires KernelGreaterThanComparableCheck in the form of ( Concept::GreaterThanComparable< KernelPixelType > )
PixelType itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::m_BackgroundValue [private] |
Definition at line 124 of file itkErodeObjectMorphologyImageFilter.h.
DefaultBoundaryConditionType itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::m_ErodeBoundaryCondition [private] |
Definition at line 128 of file itkErodeObjectMorphologyImageFilter.h.