Class ErodeObjectMorphologyImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.ErodeObjectMorphologyImageFilter
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:
 ObjectMorphologyImageFilter , BinaryFunctionErodeImageFilter
 BinaryErodeImageFilter
 itk::simple::ErodeObjectMorphology for the procedural interface
 itk::ErodeObjectMorphologyImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkErodeObjectMorphologyImageFilter.h
- 
Field SummaryFields inherited from class org.itk.simple.ProcessObjectswigCMemOwn
- 
Constructor SummaryConstructorsModifierConstructorDescriptionitk::simple::ErodeObjectMorphologyImageFilter::ErodeObjectMorphologyImageFilter() Default Constructor that takes no arguments and initializes default parametersprotectedErodeObjectMorphologyImageFilter(long cPtr, boolean cMemoryOwn) 
- 
Method SummaryModifier and TypeMethodDescriptionvoiddelete()virtual itk::simple::ErodeObjectMorphologyImageFilter::~ErodeObjectMorphologyImageFilter() DestructorImage itk::simple::ErodeObjectMorphologyImageFilter::Execute(const Image &image1) Execute the filter on the input imageprotected voidfinalize()doubledouble itk::simple::ErodeObjectMorphologyImageFilter::GetBackgroundValue() const Get the value to be assigned to eroded pixelsprotected static longstd::vector<unsigned int> itk::simple::ErodeObjectMorphologyImageFilter::GetKernelRadius() const Get the radius of the kernel structuring element.KernelEnum itk::simple::ErodeObjectMorphologyImageFilter::GetKernelType() const Get the kernel or structuring element used for the morphology.getName()std::string itk::simple::ErodeObjectMorphologyImageFilter::GetName() const Name of this classdoubledouble itk::simple::ErodeObjectMorphologyImageFilter::GetObjectValue() constvoidsetBackgroundValue(double BackgroundValue) Self& itk::simple::ErodeObjectMorphologyImageFilter::SetBackgroundValue(double BackgroundValue) Set the value to be assigned to eroded pixelsvoidsetKernelRadius(long value) Self& itk::simple::ErodeObjectMorphologyImageFilter::SetKernelRadius(unsigned int value) Set the values of the KernelRadius vector all to valuevoidsetKernelRadius(VectorUInt32 KernelRadius) Self& itk::simple::ErodeObjectMorphologyImageFilter::SetKernelRadius(unsigned int value) Set the values of the KernelRadius vector all to valuevoidsetKernelType(KernelEnum KernelType) Self& itk::simple::ErodeObjectMorphologyImageFilter::SetKernelType(KernelEnum KernelType) Set the kernel or structuring element used for the morphology.voidsetObjectValue(double ObjectValue) Self& itk::simple::ErodeObjectMorphologyImageFilter::SetObjectValue(double ObjectValue)protected static longtoString()std::string itk::simple::ErodeObjectMorphologyImageFilter::ToString() const Print ourselves outMethods inherited from class org.itk.simple.ImageFiltergetCPtr, swigReleaseMethods inherited from class org.itk.simple.ProcessObjectabort, addCommand, debugOff, debugOn, getCPtr, getDebug, getGlobalDefaultCoordinateTolerance, getGlobalDefaultDebug, getGlobalDefaultDirectionTolerance, getGlobalDefaultNumberOfThreads, getGlobalDefaultThreader, getGlobalWarningDisplay, getNumberOfThreads, getNumberOfWorkUnits, getProgress, globalDefaultDebugOff, globalDefaultDebugOn, globalWarningDisplayOff, globalWarningDisplayOn, hasCommand, removeAllCommands, setDebug, setGlobalDefaultCoordinateTolerance, setGlobalDefaultDebug, setGlobalDefaultDirectionTolerance, setGlobalDefaultNumberOfThreads, setGlobalDefaultThreader, setGlobalWarningDisplay, setNumberOfThreads, setNumberOfWorkUnits, swigRelease
- 
Constructor Details- 
ErodeObjectMorphologyImageFilterprotected ErodeObjectMorphologyImageFilter(long cPtr, boolean cMemoryOwn) 
- 
ErodeObjectMorphologyImageFilterpublic ErodeObjectMorphologyImageFilter()itk::simple::ErodeObjectMorphologyImageFilter::ErodeObjectMorphologyImageFilter() Default Constructor that takes no arguments and initializes default parameters
 
- 
- 
Method Details- 
getCPtr
- 
swigRelease
- 
finalizeprotected void finalize()- Overrides:
- finalizein class- ImageFilter
 
- 
deletepublic void delete()virtual itk::simple::ErodeObjectMorphologyImageFilter::~ErodeObjectMorphologyImageFilter() Destructor- Overrides:
- deletein class- ImageFilter
 
- 
setKernelRadiusSelf& itk::simple::ErodeObjectMorphologyImageFilter::SetKernelRadius(unsigned int value) Set the values of the KernelRadius vector all to value
- 
setKernelRadiuspublic void setKernelRadius(long value) Self& itk::simple::ErodeObjectMorphologyImageFilter::SetKernelRadius(unsigned int value) Set the values of the KernelRadius vector all to value
- 
getKernelRadiusstd::vector<unsigned int> itk::simple::ErodeObjectMorphologyImageFilter::GetKernelRadius() const Get the radius of the kernel structuring element.
- 
setKernelTypeSelf& itk::simple::ErodeObjectMorphologyImageFilter::SetKernelType(KernelEnum KernelType) Set the kernel or structuring element used for the morphology.
- 
getKernelTypeKernelEnum itk::simple::ErodeObjectMorphologyImageFilter::GetKernelType() const Get the kernel or structuring element used for the morphology.
- 
setObjectValuepublic void setObjectValue(double ObjectValue) Self& itk::simple::ErodeObjectMorphologyImageFilter::SetObjectValue(double ObjectValue)
- 
getObjectValuepublic double getObjectValue()double itk::simple::ErodeObjectMorphologyImageFilter::GetObjectValue() const
- 
setBackgroundValuepublic void setBackgroundValue(double BackgroundValue) Self& itk::simple::ErodeObjectMorphologyImageFilter::SetBackgroundValue(double BackgroundValue) Set the value to be assigned to eroded pixels
- 
getBackgroundValuepublic double getBackgroundValue()double itk::simple::ErodeObjectMorphologyImageFilter::GetBackgroundValue() const Get the value to be assigned to eroded pixels
- 
getNamestd::string itk::simple::ErodeObjectMorphologyImageFilter::GetName() const Name of this class- Overrides:
- getNamein class- ProcessObject
 
- 
toStringstd::string itk::simple::ErodeObjectMorphologyImageFilter::ToString() const Print ourselves out- Overrides:
- toStringin class- ProcessObject
 
- 
execute
 
-