Class GrayscaleConnectedClosingImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.GrayscaleConnectedClosingImageFilter
Enhance pixels associated with a dark object (identified by a seed
pixel) where the dark object is surrounded by a brighter object.
GrayscaleConnectedClosingImageFilter is useful for enhancing dark objects that are surrounded by bright
borders. This filter makes it easier to threshold the image and
extract just the object of interest.
Geodesic morphology and the connected closing algorithm are described
in Chapter 6 of Pierre Soille's book "Morphological Image Analysis:
Principles and Applications", Second Edition, Springer, 2003.
See:
 GrayscaleGeodesicDilateImageFilter
 MorphologyImageFilter , GrayscaleDilateImageFilter , GrayscaleFunctionDilateImageFilter , BinaryDilateImageFilter
 itk::simple::GrayscaleConnectedClosing for the procedural interface
 itk::GrayscaleConnectedClosingImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkGrayscaleConnectedClosingImageFilter.h
- 
Field SummaryFields inherited from class org.itk.simple.ProcessObjectswigCMemOwn
- 
Constructor SummaryConstructorsModifierConstructorDescriptionitk::simple::GrayscaleConnectedClosingImageFilter::GrayscaleConnectedClosingImageFilter() Default Constructor that takes no arguments and initializes default parametersprotectedGrayscaleConnectedClosingImageFilter(long cPtr, boolean cMemoryOwn) 
- 
Method SummaryModifier and TypeMethodDescriptionvoiddelete()virtual itk::simple::GrayscaleConnectedClosingImageFilter::~GrayscaleConnectedClosingImageFilter() DestructorImage itk::simple::GrayscaleConnectedClosingImageFilter::Execute(const Image &image1) Execute the filter on the input imageprotected voidfinalize()voidSelf& itk::simple::GrayscaleConnectedClosingImageFilter::FullyConnectedOff()voidSelf& itk::simple::GrayscaleConnectedClosingImageFilter::FullyConnectedOn() Set the value of FullyConnected to true or false respectfully.protected static longbooleanbool itk::simple::GrayscaleConnectedClosingImageFilter::GetFullyConnected() const Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity.getName()std::string itk::simple::GrayscaleConnectedClosingImageFilter::GetName() const Name of this classgetSeed()std::vector<uint32_t> itk::simple::GrayscaleConnectedClosingImageFilter::GetSeed() const Set/Get the seed pixel for the segmentationvoidsetFullyConnected(boolean FullyConnected) Self& itk::simple::GrayscaleConnectedClosingImageFilter::SetFullyConnected(bool FullyConnected) Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity.voidsetSeed(VectorUInt32 Seed) Self& itk::simple::GrayscaleConnectedClosingImageFilter::SetSeed(std::vector< uint32_t > Seed) Set/Get the seed pixel for the segmentationprotected static longtoString()std::string itk::simple::GrayscaleConnectedClosingImageFilter::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- 
GrayscaleConnectedClosingImageFilterprotected GrayscaleConnectedClosingImageFilter(long cPtr, boolean cMemoryOwn) 
- 
GrayscaleConnectedClosingImageFilterpublic GrayscaleConnectedClosingImageFilter()itk::simple::GrayscaleConnectedClosingImageFilter::GrayscaleConnectedClosingImageFilter() 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::GrayscaleConnectedClosingImageFilter::~GrayscaleConnectedClosingImageFilter() Destructor- Overrides:
- deletein class- ImageFilter
 
- 
setSeedSelf& itk::simple::GrayscaleConnectedClosingImageFilter::SetSeed(std::vector< uint32_t > Seed) Set/Get the seed pixel for the segmentation
- 
getSeedstd::vector<uint32_t> itk::simple::GrayscaleConnectedClosingImageFilter::GetSeed() const Set/Get the seed pixel for the segmentation
- 
setFullyConnectedpublic void setFullyConnected(boolean FullyConnected) Self& itk::simple::GrayscaleConnectedClosingImageFilter::SetFullyConnected(bool FullyConnected) Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.
- 
fullyConnectedOnpublic void fullyConnectedOn()Self& itk::simple::GrayscaleConnectedClosingImageFilter::FullyConnectedOn() Set the value of FullyConnected to true or false respectfully.
- 
fullyConnectedOffpublic void fullyConnectedOff()Self& itk::simple::GrayscaleConnectedClosingImageFilter::FullyConnectedOff()
- 
getFullyConnectedpublic boolean getFullyConnected()bool itk::simple::GrayscaleConnectedClosingImageFilter::GetFullyConnected() const Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.
- 
getNamestd::string itk::simple::GrayscaleConnectedClosingImageFilter::GetName() const Name of this class- Overrides:
- getNamein class- ProcessObject
 
- 
toStringstd::string itk::simple::GrayscaleConnectedClosingImageFilter::ToString() const Print ourselves out- Overrides:
- toStringin class- ProcessObject
 
- 
execute
 
-