Package org.itk.simple
Class DilateObjectMorphologyImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.DilateObjectMorphologyImageFilter
dilation of an object in an image
Dilate an image using binary morphology. Pixel values matching the
object value are considered the "foreground" and all other pixels
are "background". This is useful in processing mask images
containing only one object.
If a pixel's value is equal to the object value 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 object value. The structuring element is assumed to
be composed of binary values (zero or one).
See:
ObjectMorphologyImageFilter , ErodeObjectMorphologyImageFilter
BinaryDilateImageFilter
itk::simple::DilateObjectMorphology for the procedural interface
itk::DilateObjectMorphologyImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkDilateObjectMorphologyImageFilter.h
-
Field Summary
Fields inherited from class org.itk.simple.ProcessObject
swigCMemOwn
-
Constructor Summary
ConstructorsModifierConstructorDescriptionitk::simple::DilateObjectMorphologyImageFilter::DilateObjectMorphologyImageFilter() Default Constructor that takes no arguments and initializes default parametersprotected
DilateObjectMorphologyImageFilter
(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and TypeMethodDescriptionvoid
delete()
virtual itk::simple::DilateObjectMorphologyImageFilter::~DilateObjectMorphologyImageFilter() DestructorImage itk::simple::DilateObjectMorphologyImageFilter::Execute(const Image &image1) Execute the filter on the input imageprotected void
finalize()
protected static long
std::vector<unsigned int> itk::simple::DilateObjectMorphologyImageFilter::GetKernelRadius() const Get the radius of the kernel structuring element.KernelEnum itk::simple::DilateObjectMorphologyImageFilter::GetKernelType() const Get the kernel or structuring element used for the morphology.getName()
std::string itk::simple::DilateObjectMorphologyImageFilter::GetName() const Name of this classdouble
double itk::simple::DilateObjectMorphologyImageFilter::GetObjectValue() constvoid
setKernelRadius
(long value) Self& itk::simple::DilateObjectMorphologyImageFilter::SetKernelRadius(unsigned int value) Set the values of the KernelRadius vector all to valuevoid
setKernelRadius
(VectorUInt32 KernelRadius) Self& itk::simple::DilateObjectMorphologyImageFilter::SetKernelRadius(unsigned int value) Set the values of the KernelRadius vector all to valuevoid
setKernelType
(KernelEnum KernelType) Self& itk::simple::DilateObjectMorphologyImageFilter::SetKernelType(KernelEnum KernelType) Set the kernel or structuring element used for the morphology.void
setObjectValue
(double ObjectValue) Self& itk::simple::DilateObjectMorphologyImageFilter::SetObjectValue(double ObjectValue)protected static long
toString()
std::string itk::simple::DilateObjectMorphologyImageFilter::ToString() const Print ourselves outMethods inherited from class org.itk.simple.ImageFilter
getCPtr, swigRelease
Methods inherited from class org.itk.simple.ProcessObject
abort, 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
-
DilateObjectMorphologyImageFilter
protected DilateObjectMorphologyImageFilter(long cPtr, boolean cMemoryOwn) -
DilateObjectMorphologyImageFilter
public DilateObjectMorphologyImageFilter()itk::simple::DilateObjectMorphologyImageFilter::DilateObjectMorphologyImageFilter() Default Constructor that takes no arguments and initializes default parameters
-
-
Method Details
-
getCPtr
-
swigRelease
-
finalize
protected void finalize()- Overrides:
finalize
in classImageFilter
-
delete
public void delete()virtual itk::simple::DilateObjectMorphologyImageFilter::~DilateObjectMorphologyImageFilter() Destructor- Overrides:
delete
in classImageFilter
-
setKernelRadius
Self& itk::simple::DilateObjectMorphologyImageFilter::SetKernelRadius(unsigned int value) Set the values of the KernelRadius vector all to value -
setKernelRadius
public void setKernelRadius(long value) Self& itk::simple::DilateObjectMorphologyImageFilter::SetKernelRadius(unsigned int value) Set the values of the KernelRadius vector all to value -
getKernelRadius
std::vector<unsigned int> itk::simple::DilateObjectMorphologyImageFilter::GetKernelRadius() const Get the radius of the kernel structuring element. -
setKernelType
Self& itk::simple::DilateObjectMorphologyImageFilter::SetKernelType(KernelEnum KernelType) Set the kernel or structuring element used for the morphology. -
getKernelType
KernelEnum itk::simple::DilateObjectMorphologyImageFilter::GetKernelType() const Get the kernel or structuring element used for the morphology. -
setObjectValue
public void setObjectValue(double ObjectValue) Self& itk::simple::DilateObjectMorphologyImageFilter::SetObjectValue(double ObjectValue) -
getObjectValue
public double getObjectValue()double itk::simple::DilateObjectMorphologyImageFilter::GetObjectValue() const -
getName
std::string itk::simple::DilateObjectMorphologyImageFilter::GetName() const Name of this class- Overrides:
getName
in classProcessObject
-
toString
std::string itk::simple::DilateObjectMorphologyImageFilter::ToString() const Print ourselves out- Overrides:
toString
in classProcessObject
-
execute
Image itk::simple::DilateObjectMorphologyImageFilter::Execute(const Image &image1) Execute the filter on the input image
-