Class SimpleContourExtractorImageFilter

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

public class SimpleContourExtractorImageFilter extends ImageFilter
Computes an image of contours which will be the contour of the first image. A pixel of the source image is considered to belong to the contour if its pixel value is equal to the input foreground value and it has in its neighborhood at least one pixel which its pixel value is equal to the input background value. The output image will have pixels which will be set to the output foreground value if they belong to the contour, otherwise they will be set to the output background value. The neighborhood "radius" is set thanks to the radius params. See: Image Neighborhood NeighborhoodOperator NeighborhoodIterator itk::simple::SimpleContourExtractor for the procedural interface itk::SimpleContourExtractorImageFilter for the Doxygen on the original ITK class. C++ includes: sitkSimpleContourExtractorImageFilter.h
  • Constructor Details

    • SimpleContourExtractorImageFilter

      protected SimpleContourExtractorImageFilter(long cPtr, boolean cMemoryOwn)
    • SimpleContourExtractorImageFilter

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

    • getCPtr

      protected static long getCPtr(SimpleContourExtractorImageFilter obj)
    • swigRelease

      protected static long swigRelease(SimpleContourExtractorImageFilter obj)
    • finalize

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

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

      public void setInputForegroundValue(double InputForegroundValue)
      Self& itk::simple::SimpleContourExtractorImageFilter::SetInputForegroundValue(double InputForegroundValue) Set the foreground value used in order to identify a foreground pixel in the input image.
    • getInputForegroundValue

      public double getInputForegroundValue()
      double itk::simple::SimpleContourExtractorImageFilter::GetInputForegroundValue() const Get the foreground value used in order to identify a foreground pixel in the input image.
    • setInputBackgroundValue

      public void setInputBackgroundValue(double InputBackgroundValue)
      Self& itk::simple::SimpleContourExtractorImageFilter::SetInputBackgroundValue(double InputBackgroundValue) Set the background value used in order to identify a background pixel in the input image.
    • getInputBackgroundValue

      public double getInputBackgroundValue()
      double itk::simple::SimpleContourExtractorImageFilter::GetInputBackgroundValue() const Get the background value used in order to identify a background pixel in the input image.
    • setRadius

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

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

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

      public void setOutputForegroundValue(double OutputForegroundValue)
      Self& itk::simple::SimpleContourExtractorImageFilter::SetOutputForegroundValue(double OutputForegroundValue) Set the foreground value used in order to identify a foreground pixel in the output image.
    • getOutputForegroundValue

      public double getOutputForegroundValue()
      double itk::simple::SimpleContourExtractorImageFilter::GetOutputForegroundValue() const Get the foreground value used in order to identify a foreground pixel in the output image.
    • setOutputBackgroundValue

      public void setOutputBackgroundValue(double OutputBackgroundValue)
      Self& itk::simple::SimpleContourExtractorImageFilter::SetOutputBackgroundValue(double OutputBackgroundValue) Set the background value used in order to identify a background pixel in the output image.
    • getOutputBackgroundValue

      public double getOutputBackgroundValue()
      double itk::simple::SimpleContourExtractorImageFilter::GetOutputBackgroundValue() const Get the background value used in order to identify a background pixel in the output image.
    • getName

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

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

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