Class BinaryPruningImageFilter


public class BinaryPruningImageFilter extends ImageFilter
This filter removes "spurs" of less than a certain length in the input image. This class is parameterized over the type of the input image and the type of the output image. The input is assumed to be a binary image. This filter is a sequential pruning algorithm and known to be computational time dependable of the image size. The algorithm is the N-dimensional version of that given for two dimensions in: Rafael C. Gonzales and Richard E. Woods. Digital Image Processing. Addison Wesley, 491-494, (1993). See: MorphologyImageFilter BinaryErodeImageFilter BinaryDilateImageFilter BinaryThinningImageFilter itk::simple::BinaryPruning for the procedural interface itk::BinaryPruningImageFilter for the Doxygen on the original ITK class. C++ includes: sitkBinaryPruningImageFilter.h
  • Constructor Details

    • BinaryPruningImageFilter

      protected BinaryPruningImageFilter(long cPtr, boolean cMemoryOwn)
    • BinaryPruningImageFilter

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

    • getCPtr

      protected static long getCPtr(BinaryPruningImageFilter obj)
    • swigRelease

      protected static long swigRelease(BinaryPruningImageFilter obj)
    • finalize

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

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

      public void setIteration(long Iteration)
      Self& itk::simple::BinaryPruningImageFilter::SetIteration(uint32_t Iteration) Set/Get the iteration value
    • getIteration

      public long getIteration()
      uint32_t itk::simple::BinaryPruningImageFilter::GetIteration() const Set/Get the iteration value
    • getName

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

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

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