Class ScalarConnectedComponentImageFilter

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

public class ScalarConnectedComponentImageFilter extends ImageFilter
A connected components filter that labels the objects in an arbitrary image. Two pixels are similar if they are within threshold of each other. Uses ConnectedComponentFunctorImageFilter . See: itk::simple::ScalarConnectedComponent for the procedural interface itk::ScalarConnectedComponentImageFilter for the Doxygen on the original ITK class. C++ includes: sitkScalarConnectedComponentImageFilter.h
  • Constructor Details

    • ScalarConnectedComponentImageFilter

      protected ScalarConnectedComponentImageFilter(long cPtr, boolean cMemoryOwn)
    • ScalarConnectedComponentImageFilter

      public ScalarConnectedComponentImageFilter()
      itk::simple::ScalarConnectedComponentImageFilter::ScalarConnectedComponentImageFilter() Default Constructor that takes no arguments and initializes default parameters
  • Method Details

    • getCPtr

      protected static long getCPtr(ScalarConnectedComponentImageFilter obj)
    • swigRelease

      protected static long swigRelease(ScalarConnectedComponentImageFilter obj)
    • finalize

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

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

      public void setDistanceThreshold(double DistanceThreshold)
      Self& itk::simple::ScalarConnectedComponentImageFilter::SetDistanceThreshold(double DistanceThreshold)
    • getDistanceThreshold

      public double getDistanceThreshold()
      double itk::simple::ScalarConnectedComponentImageFilter::GetDistanceThreshold() const
    • setFullyConnected

      public void setFullyConnected(boolean FullyConnected)
      Self& itk::simple::ScalarConnectedComponentImageFilter::SetFullyConnected(bool FullyConnected)
    • fullyConnectedOn

      public void fullyConnectedOn()
      Self& itk::simple::ScalarConnectedComponentImageFilter::FullyConnectedOn() Set the value of FullyConnected to true or false respectfully.
    • fullyConnectedOff

      public void fullyConnectedOff()
      Self& itk::simple::ScalarConnectedComponentImageFilter::FullyConnectedOff()
    • getFullyConnected

      public boolean getFullyConnected()
      bool itk::simple::ScalarConnectedComponentImageFilter::GetFullyConnected() const
    • getName

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

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

      public Image execute(Image image, Image maskImage)
      Image itk::simple::ScalarConnectedComponentImageFilter::Execute(const Image &image, const Image &maskImage) Execute the filter on the input image
    • execute

      public Image execute(Image image)
      Image itk::simple::ScalarConnectedComponentImageFilter::Execute(const Image &image, const Image &maskImage) Execute the filter on the input image