Package org.itk.simple
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 Summary
Fields inherited from class org.itk.simple.ProcessObject
swigCMemOwn
-
Constructor Summary
ConstructorsModifierConstructorDescriptionitk::simple::GrayscaleConnectedClosingImageFilter::GrayscaleConnectedClosingImageFilter() Default Constructor that takes no arguments and initializes default parametersprotected
GrayscaleConnectedClosingImageFilter
(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and TypeMethodDescriptionvoid
delete()
virtual itk::simple::GrayscaleConnectedClosingImageFilter::~GrayscaleConnectedClosingImageFilter() DestructorImage itk::simple::GrayscaleConnectedClosingImageFilter::Execute(const Image &image1) Execute the filter on the input imageprotected void
finalize()
void
Self& itk::simple::GrayscaleConnectedClosingImageFilter::FullyConnectedOff()void
Self& itk::simple::GrayscaleConnectedClosingImageFilter::FullyConnectedOn() Set the value of FullyConnected to true or false respectfully.protected static long
boolean
bool 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 segmentationvoid
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.void
setSeed
(VectorUInt32 Seed) Self& itk::simple::GrayscaleConnectedClosingImageFilter::SetSeed(std::vector< uint32_t > Seed) Set/Get the seed pixel for the segmentationprotected static long
toString()
std::string itk::simple::GrayscaleConnectedClosingImageFilter::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
-
GrayscaleConnectedClosingImageFilter
protected GrayscaleConnectedClosingImageFilter(long cPtr, boolean cMemoryOwn) -
GrayscaleConnectedClosingImageFilter
public GrayscaleConnectedClosingImageFilter()itk::simple::GrayscaleConnectedClosingImageFilter::GrayscaleConnectedClosingImageFilter() 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::GrayscaleConnectedClosingImageFilter::~GrayscaleConnectedClosingImageFilter() Destructor- Overrides:
delete
in classImageFilter
-
setSeed
Self& itk::simple::GrayscaleConnectedClosingImageFilter::SetSeed(std::vector< uint32_t > Seed) Set/Get the seed pixel for the segmentation -
getSeed
std::vector<uint32_t> itk::simple::GrayscaleConnectedClosingImageFilter::GetSeed() const Set/Get the seed pixel for the segmentation -
setFullyConnected
public 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. -
fullyConnectedOn
public void fullyConnectedOn()Self& itk::simple::GrayscaleConnectedClosingImageFilter::FullyConnectedOn() Set the value of FullyConnected to true or false respectfully. -
fullyConnectedOff
public void fullyConnectedOff()Self& itk::simple::GrayscaleConnectedClosingImageFilter::FullyConnectedOff() -
getFullyConnected
public 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. -
getName
std::string itk::simple::GrayscaleConnectedClosingImageFilter::GetName() const Name of this class- Overrides:
getName
in classProcessObject
-
toString
std::string itk::simple::GrayscaleConnectedClosingImageFilter::ToString() const Print ourselves out- Overrides:
toString
in classProcessObject
-
execute
Image itk::simple::GrayscaleConnectedClosingImageFilter::Execute(const Image &image1) Execute the filter on the input image
-