Class GrayscaleConnectedClosingImageFilter

java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.GrayscaleConnectedClosingImageFilter

public class GrayscaleConnectedClosingImageFilter extends ImageFilter
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
  • 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

      protected static long getCPtr(GrayscaleConnectedClosingImageFilter obj)
    • swigRelease

      protected static long swigRelease(GrayscaleConnectedClosingImageFilter obj)
    • finalize

      protected void finalize()
      Overrides:
      finalize in class ImageFilter
    • delete

      public void delete()
      virtual itk::simple::GrayscaleConnectedClosingImageFilter::~GrayscaleConnectedClosingImageFilter() Destructor
      Overrides:
      delete in class ImageFilter
    • setSeed

      public void setSeed(VectorUInt32 Seed)
      Self& itk::simple::GrayscaleConnectedClosingImageFilter::SetSeed(std::vector< uint32_t > Seed) Set/Get the seed pixel for the segmentation
    • getSeed

      public VectorUInt32 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

      public String getName()
      std::string itk::simple::GrayscaleConnectedClosingImageFilter::GetName() const Name of this class
      Overrides:
      getName in class ProcessObject
    • toString

      public String toString()
      std::string itk::simple::GrayscaleConnectedClosingImageFilter::ToString() const Print ourselves out
      Overrides:
      toString in class ProcessObject
    • execute

      public Image execute(Image image1)
      Image itk::simple::GrayscaleConnectedClosingImageFilter::Execute(const Image &image1) Execute the filter on the input image