Class VotingBinaryHoleFillingImageFilter

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

public class VotingBinaryHoleFillingImageFilter extends ImageFilter
Fills in holes and cavities by applying a voting operation on each pixel. See: Image VotingBinaryImageFilter VotingBinaryIterativeHoleFillingImageFilter Neighborhood NeighborhoodOperator NeighborhoodIterator itk::simple::VotingBinaryHoleFilling for the procedural interface itk::VotingBinaryHoleFillingImageFilter for the Doxygen on the original ITK class. C++ includes: sitkVotingBinaryHoleFillingImageFilter.h
  • Constructor Details

    • VotingBinaryHoleFillingImageFilter

      protected VotingBinaryHoleFillingImageFilter(long cPtr, boolean cMemoryOwn)
    • VotingBinaryHoleFillingImageFilter

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

    • getCPtr

      protected static long getCPtr(VotingBinaryHoleFillingImageFilter obj)
    • swigRelease

      protected static long swigRelease(VotingBinaryHoleFillingImageFilter obj)
    • finalize

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

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

      public void setRadius(VectorUInt32 Radius)
      Self& itk::simple::VotingBinaryHoleFillingImageFilter::SetRadius(unsigned int value) Set the values of the Radius vector all to value
    • setRadius

      public void setRadius(long value)
      Self& itk::simple::VotingBinaryHoleFillingImageFilter::SetRadius(unsigned int value) Set the values of the Radius vector all to value
    • getRadius

      public VectorUInt32 getRadius()
      std::vector<unsigned int> itk::simple::VotingBinaryHoleFillingImageFilter::GetRadius() const
    • setMajorityThreshold

      public void setMajorityThreshold(long MajorityThreshold)
      Self& itk::simple::VotingBinaryHoleFillingImageFilter::SetMajorityThreshold(unsigned int MajorityThreshold) Majority threshold. It is the number of pixels over 50% that will decide whether an OFF pixel will become ON or not. For example, if the neighborhood of a pixel has 124 pixels (excluding itself), the 50% will be 62, and if you set up a Majority threshold of 5, that means that the filter will require 67 or more neighbor pixels to be ON in order to switch the current OFF pixel to ON. The default value is 1.
    • getMajorityThreshold

      public long getMajorityThreshold()
      unsigned int itk::simple::VotingBinaryHoleFillingImageFilter::GetMajorityThreshold() const Majority threshold. It is the number of pixels over 50% that will decide whether an OFF pixel will become ON or not. For example, if the neighborhood of a pixel has 124 pixels (excluding itself), the 50% will be 62, and if you set up a Majority threshold of 5, that means that the filter will require 67 or more neighbor pixels to be ON in order to switch the current OFF pixel to ON. The default value is 1.
    • setForegroundValue

      public void setForegroundValue(double ForegroundValue)
      Self& itk::simple::VotingBinaryHoleFillingImageFilter::SetForegroundValue(double ForegroundValue)
    • getForegroundValue

      public double getForegroundValue()
      double itk::simple::VotingBinaryHoleFillingImageFilter::GetForegroundValue() const
    • setBackgroundValue

      public void setBackgroundValue(double BackgroundValue)
      Self& itk::simple::VotingBinaryHoleFillingImageFilter::SetBackgroundValue(double BackgroundValue)
    • getBackgroundValue

      public double getBackgroundValue()
      double itk::simple::VotingBinaryHoleFillingImageFilter::GetBackgroundValue() const
    • getName

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

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

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