Package org.itk.simple
Class GrayscaleMorphologicalClosingImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.GrayscaleMorphologicalClosingImageFilter
Grayscale closing of an image.
Close an image using grayscale morphology.
The structuring element is assumed to be composed of binary values
(zero or one). Only elements of the structuring element having values
> 0 are candidates for affecting the center pixel.
See:
MorphologyImageFilter , GrayscaleFunctionErodeImageFilter , BinaryErodeImageFilter
itk::simple::GrayscaleMorphologicalClosing for the procedural interface
itk::GrayscaleMorphologicalClosingImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkGrayscaleMorphologicalClosingImageFilter.h
-
Field Summary
Fields inherited from class org.itk.simple.ProcessObject
swigCMemOwn
-
Constructor Summary
ConstructorsModifierConstructorDescriptionitk::simple::GrayscaleMorphologicalClosingImageFilter::GrayscaleMorphologicalClosingImageFilter() Default Constructor that takes no arguments and initializes default parametersprotected
GrayscaleMorphologicalClosingImageFilter
(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and TypeMethodDescriptionvoid
delete()
virtual itk::simple::GrayscaleMorphologicalClosingImageFilter::~GrayscaleMorphologicalClosingImageFilter() DestructorImage itk::simple::GrayscaleMorphologicalClosingImageFilter::Execute(const Image &image1) Execute the filter on the input imageprotected void
finalize()
protected static long
std::vector<unsigned int> itk::simple::GrayscaleMorphologicalClosingImageFilter::GetKernelRadius() const Get the radius of the kernel structuring element.KernelEnum itk::simple::GrayscaleMorphologicalClosingImageFilter::GetKernelType() const Get the kernel or structuring element used for the morphology.getName()
std::string itk::simple::GrayscaleMorphologicalClosingImageFilter::GetName() const Name of this classboolean
bool itk::simple::GrayscaleMorphologicalClosingImageFilter::GetSafeBorder() const A safe border is added to input image to avoid borders effects and remove it once the closing is donevoid
Self& itk::simple::GrayscaleMorphologicalClosingImageFilter::SafeBorderOff()void
Self& itk::simple::GrayscaleMorphologicalClosingImageFilter::SafeBorderOn() Set the value of SafeBorder to true or false respectfully.void
setKernelRadius
(long value) Self& itk::simple::GrayscaleMorphologicalClosingImageFilter::SetKernelRadius(unsigned int value) Set the values of the KernelRadius vector all to valuevoid
setKernelRadius
(VectorUInt32 KernelRadius) Self& itk::simple::GrayscaleMorphologicalClosingImageFilter::SetKernelRadius(unsigned int value) Set the values of the KernelRadius vector all to valuevoid
setKernelType
(KernelEnum KernelType) Self& itk::simple::GrayscaleMorphologicalClosingImageFilter::SetKernelType(KernelEnum KernelType) Set the kernel or structuring element used for the morphology.void
setSafeBorder
(boolean SafeBorder) Self& itk::simple::GrayscaleMorphologicalClosingImageFilter::SetSafeBorder(bool SafeBorder) A safe border is added to input image to avoid borders effects and remove it once the closing is doneprotected static long
toString()
std::string itk::simple::GrayscaleMorphologicalClosingImageFilter::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
-
GrayscaleMorphologicalClosingImageFilter
protected GrayscaleMorphologicalClosingImageFilter(long cPtr, boolean cMemoryOwn) -
GrayscaleMorphologicalClosingImageFilter
public GrayscaleMorphologicalClosingImageFilter()itk::simple::GrayscaleMorphologicalClosingImageFilter::GrayscaleMorphologicalClosingImageFilter() 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::GrayscaleMorphologicalClosingImageFilter::~GrayscaleMorphologicalClosingImageFilter() Destructor- Overrides:
delete
in classImageFilter
-
setKernelRadius
Self& itk::simple::GrayscaleMorphologicalClosingImageFilter::SetKernelRadius(unsigned int value) Set the values of the KernelRadius vector all to value -
setKernelRadius
public void setKernelRadius(long value) Self& itk::simple::GrayscaleMorphologicalClosingImageFilter::SetKernelRadius(unsigned int value) Set the values of the KernelRadius vector all to value -
getKernelRadius
std::vector<unsigned int> itk::simple::GrayscaleMorphologicalClosingImageFilter::GetKernelRadius() const Get the radius of the kernel structuring element. -
setKernelType
Self& itk::simple::GrayscaleMorphologicalClosingImageFilter::SetKernelType(KernelEnum KernelType) Set the kernel or structuring element used for the morphology. -
getKernelType
KernelEnum itk::simple::GrayscaleMorphologicalClosingImageFilter::GetKernelType() const Get the kernel or structuring element used for the morphology. -
setSafeBorder
public void setSafeBorder(boolean SafeBorder) Self& itk::simple::GrayscaleMorphologicalClosingImageFilter::SetSafeBorder(bool SafeBorder) A safe border is added to input image to avoid borders effects and remove it once the closing is done -
safeBorderOn
public void safeBorderOn()Self& itk::simple::GrayscaleMorphologicalClosingImageFilter::SafeBorderOn() Set the value of SafeBorder to true or false respectfully. -
safeBorderOff
public void safeBorderOff()Self& itk::simple::GrayscaleMorphologicalClosingImageFilter::SafeBorderOff() -
getSafeBorder
public boolean getSafeBorder()bool itk::simple::GrayscaleMorphologicalClosingImageFilter::GetSafeBorder() const A safe border is added to input image to avoid borders effects and remove it once the closing is done -
getName
std::string itk::simple::GrayscaleMorphologicalClosingImageFilter::GetName() const Name of this class- Overrides:
getName
in classProcessObject
-
toString
std::string itk::simple::GrayscaleMorphologicalClosingImageFilter::ToString() const Print ourselves out- Overrides:
toString
in classProcessObject
-
execute
Image itk::simple::GrayscaleMorphologicalClosingImageFilter::Execute(const Image &image1) Execute the filter on the input image
-