ITK
5.0.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 Attributes | |
PixelType | m_BackgroundValue |
DefaultBoundaryConditionType | m_ErodeBoundaryCondition |
using itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::ConstPointer = SmartPointer< const Self > |
Definition at line 56 of file itkErodeObjectMorphologyImageFilter.h.
using itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::DefaultBoundaryConditionType = typename Superclass::DefaultBoundaryConditionType |
Default boundary condition type
Definition at line 76 of file itkErodeObjectMorphologyImageFilter.h.
using itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::KernelIteratorType = typename KernelType::ConstIterator |
Kernel (structuring element) iterator
Definition at line 71 of file itkErodeObjectMorphologyImageFilter.h.
using itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::KernelPixelType = typename TKernel::PixelType |
Type of the pixels in the Kernel.
Definition at line 99 of file itkErodeObjectMorphologyImageFilter.h.
using itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::KernelType = TKernel |
Kernel type alias
Definition at line 68 of file itkErodeObjectMorphologyImageFilter.h.
using itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::OutputNeighborhoodIteratorType = NeighborhoodIterator< TOutputImage > |
Definition at line 73 of file itkErodeObjectMorphologyImageFilter.h.
using itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::PixelType = typename Superclass::PixelType |
Declaration of Pixel Type
Definition at line 65 of file itkErodeObjectMorphologyImageFilter.h.
using itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::Pointer = SmartPointer< Self > |
Definition at line 55 of file itkErodeObjectMorphologyImageFilter.h.
using itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::Self = ErodeObjectMorphologyImageFilter |
Standard class type aliases.
Definition at line 53 of file itkErodeObjectMorphologyImageFilter.h.
using itk::ErodeObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >::Superclass = ObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel > |
Definition at line 54 of file itkErodeObjectMorphologyImageFilter.h.
|
protected |
|
overrideprotecteddefault |
|
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.
|
overrideprotectedvirtual |
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 87 of file itkErodeObjectMorphologyImageFilter.h.
|
virtual |
Runtime information support
Reimplemented from itk::ObjectMorphologyImageFilter< TInputImage, TOutputImage, TKernel >.
|
static |
Standard New method
|
overrideprotectedvirtual |
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 80 of file itkErodeObjectMorphologyImageFilter.h.
|
private |
Definition at line 121 of file itkErodeObjectMorphologyImageFilter.h.
|
private |
Definition at line 125 of file itkErodeObjectMorphologyImageFilter.h.