Class BinaryNotImageFilter


public class BinaryNotImageFilter extends ImageFilter
Implements the BinaryNot logical operator pixel-wise between two images. This class is parameterized over the types of the two input images and the type of the output image. Numeric conversions (castings) are done by the C++ defaults. The total operation over one pixel will be output_pixel = static_cast<PixelType>( input1_pixel != input2_pixel ) Where "!=" is the equality operator in C++. Gaetan Lehmann. Biologie du Developpement et de la Reproduction, INRA de Jouy-en-Josas, France. This implementation was taken from the Insight Journal paper: https://www.insight-journal.org/browse/publication/176 See: itk::simple::BinaryNot for the procedural interface itk::BinaryNotImageFilter for the Doxygen on the original ITK class. C++ includes: sitkBinaryNotImageFilter.h
  • Constructor Details

    • BinaryNotImageFilter

      protected BinaryNotImageFilter(long cPtr, boolean cMemoryOwn)
    • BinaryNotImageFilter

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

    • getCPtr

      protected static long getCPtr(BinaryNotImageFilter obj)
    • swigRelease

      protected static long swigRelease(BinaryNotImageFilter obj)
    • finalize

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

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

      public void setForegroundValue(double ForegroundValue)
      Self& itk::simple::BinaryNotImageFilter::SetForegroundValue(double ForegroundValue) Set/Get the value in the image considered as "foreground". Defaults to maximum value of PixelType.
    • getForegroundValue

      public double getForegroundValue()
      double itk::simple::BinaryNotImageFilter::GetForegroundValue() const Set/Get the value in the image considered as "foreground". Defaults to maximum value of PixelType.
    • setBackgroundValue

      public void setBackgroundValue(double BackgroundValue)
      Self& itk::simple::BinaryNotImageFilter::SetBackgroundValue(double BackgroundValue) Set/Get the value used as "background". Defaults to NumericTraits<PixelType>::NonpositiveMin() .
    • getBackgroundValue

      public double getBackgroundValue()
      double itk::simple::BinaryNotImageFilter::GetBackgroundValue() const Set/Get the value used as "background". Defaults to NumericTraits<PixelType>::NonpositiveMin() .
    • getName

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

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

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