ITK
4.6.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.
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Private Member Functions | |
ErodeObjectMorphologyImageFilter (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
PixelType | m_BackgroundValue |
DefaultBoundaryConditionType | m_ErodeBoundaryCondition |
typedef SmartPointer< const Self > itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::ConstPointer |
Definition at line 54 of file itkErodeObjectMorphologyImageFilter.h.
typedef Superclass::DefaultBoundaryConditionType itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::DefaultBoundaryConditionType |
Default boundary condition type
Definition at line 75 of file itkErodeObjectMorphologyImageFilter.h.
typedef KernelType::ConstIterator itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::KernelIteratorType |
Kernel (structuring element) iterator
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
Definition at line 66 of file itkErodeObjectMorphologyImageFilter.h.
typedef NeighborhoodIterator< TOutputImage > itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::OutputNeighborhoodIteratorType |
Definition at line 71 of file itkErodeObjectMorphologyImageFilter.h.
typedef Superclass::PixelType itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::PixelType |
Declaration of Pixel Type
Definition at line 60 of file itkErodeObjectMorphologyImageFilter.h.
typedef SmartPointer< Self > itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::Pointer |
Definition at line 53 of file itkErodeObjectMorphologyImageFilter.h.
typedef ErodeObjectMorphologyImageFilter itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::Self |
Standard class typedefs.
Definition at line 51 of file itkErodeObjectMorphologyImageFilter.h.
typedef ObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel > itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::Superclass |
Definition at line 52 of file itkErodeObjectMorphologyImageFilter.h.
|
protected |
|
inlineprotected |
Definition at line 109 of file itkErodeObjectMorphologyImageFilter.h.
|
private |
|
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.
|
protectedvirtual |
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 |
Get the value to be assigned to eroded pixels
|
inline |
Set the object's value. Added for API consistency with itkBinaryErode filter
Definition at line 86 of file itkErodeObjectMorphologyImageFilter.h.
References itk::ObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::GetObjectValue().
|
virtual |
Runtime information support
Reimplemented from itk::ObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >.
|
static |
Standard New method
|
private |
|
protectedvirtual |
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::ImageToImageFilter< TInputImage, TOutputImage >.
|
virtual |
Set the value to be assigned to eroded pixels
|
inline |
Set the object's value. Added for API consistency with itkBinaryErode filter
Definition at line 79 of file itkErodeObjectMorphologyImageFilter.h.
References itk::ObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::SetObjectValue().
itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::typedef | ( | Concept::GreaterThanComparable< KernelPixelType > | ) |
This class requires KernelGreaterThanComparableCheck in the form of ( Concept::GreaterThanComparable< KernelPixelType > )
|
private |
Definition at line 123 of file itkErodeObjectMorphologyImageFilter.h.
|
private |
Definition at line 127 of file itkErodeObjectMorphologyImageFilter.h.