Class VotingBinaryImageFilter


public class VotingBinaryImageFilter extends ImageFilter
Applies a voting operation in a neighborhood of each pixel. Pixels which are not Foreground or Background will remain unchanged. See: Image Neighborhood NeighborhoodOperator NeighborhoodIterator itk::simple::VotingBinary for the procedural interface itk::VotingBinaryImageFilter for the Doxygen on the original ITK class. C++ includes: sitkVotingBinaryImageFilter.h
  • Constructor Details

    • VotingBinaryImageFilter

      protected VotingBinaryImageFilter(long cPtr, boolean cMemoryOwn)
    • VotingBinaryImageFilter

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

    • getCPtr

      protected static long getCPtr(VotingBinaryImageFilter obj)
    • swigRelease

      protected static long swigRelease(VotingBinaryImageFilter obj)
    • finalize

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

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

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

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

      public VectorUInt32 getRadius()
      std::vector<unsigned int> itk::simple::VotingBinaryImageFilter::GetRadius() const Get the radius of the neighborhood used to compute the median
    • setBirthThreshold

      public void setBirthThreshold(long BirthThreshold)
      Self& itk::simple::VotingBinaryImageFilter::SetBirthThreshold(unsigned int BirthThreshold) Birth threshold. Pixels that are OFF will turn ON when the number of neighbors ON is larger than the value defined in this threshold.
    • getBirthThreshold

      public long getBirthThreshold()
      unsigned int itk::simple::VotingBinaryImageFilter::GetBirthThreshold() const Birth threshold. Pixels that are OFF will turn ON when the number of neighbors ON is larger than the value defined in this threshold.
    • setSurvivalThreshold

      public void setSurvivalThreshold(long SurvivalThreshold)
      Self& itk::simple::VotingBinaryImageFilter::SetSurvivalThreshold(unsigned int SurvivalThreshold) Survival threshold. Pixels that are ON will turn OFF when the number of neighbors ON is smaller than the value defined in this survival threshold.
    • getSurvivalThreshold

      public long getSurvivalThreshold()
      unsigned int itk::simple::VotingBinaryImageFilter::GetSurvivalThreshold() const Survival threshold. Pixels that are ON will turn OFF when the number of neighbors ON is smaller than the value defined in this survival threshold.
    • setForegroundValue

      public void setForegroundValue(double ForegroundValue)
      Self& itk::simple::VotingBinaryImageFilter::SetForegroundValue(double ForegroundValue) Set the value associated with the Foreground (or the object) on the binary input image and the Background .
    • getForegroundValue

      public double getForegroundValue()
      double itk::simple::VotingBinaryImageFilter::GetForegroundValue() const Get the value associated with the Foreground (or the object) on the binary input image and the Background .
    • setBackgroundValue

      public void setBackgroundValue(double BackgroundValue)
      Self& itk::simple::VotingBinaryImageFilter::SetBackgroundValue(double BackgroundValue) Set the value associated with the Foreground (or the object) on the binary input image and the Background .
    • getBackgroundValue

      public double getBackgroundValue()
      double itk::simple::VotingBinaryImageFilter::GetBackgroundValue() const Get the value associated with the Foreground (or the object) on the binary input image and the Background .
    • getName

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

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

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