Class NotEqualImageFilter


public class NotEqualImageFilter extends ImageFilter
Implements pixel-wise generic operation of two images, or of an image and a constant. This class is parameterized over the types of the two input images and the type of the output image. It is also parameterized by the operation to be applied. A Functor style is used. The constant must be of the same type than the pixel type of the corresponding image. It is wrapped in a SimpleDataObjectDecorator so it can be updated through the pipeline. The SetConstant() and GetConstant() methods are provided as shortcuts to set or get the constant value without manipulating the decorator. See: BinaryGeneratorImagFilter UnaryFunctorImageFilter TernaryFunctorImageFilter itk::simple::NotEqual for the procedural interface itk::BinaryFunctorImageFilter for the Doxygen on the original ITK class. C++ includes: sitkNotEqualImageFilter.h
  • Constructor Details

    • NotEqualImageFilter

      protected NotEqualImageFilter(long cPtr, boolean cMemoryOwn)
    • NotEqualImageFilter

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

    • getCPtr

      protected static long getCPtr(NotEqualImageFilter obj)
    • swigRelease

      protected static long swigRelease(NotEqualImageFilter obj)
    • finalize

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

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

      public void setBackgroundValue(short BackgroundValue)
      Self& itk::simple::NotEqualImageFilter::SetBackgroundValue(uint8_t BackgroundValue) Set/Get the value used to mark the false pixels of the operator.
    • getBackgroundValue

      public short getBackgroundValue()
      uint8_t itk::simple::NotEqualImageFilter::GetBackgroundValue() const Set/Get the value used to mark the false pixels of the operator.
    • setForegroundValue

      public void setForegroundValue(short ForegroundValue)
      Self& itk::simple::NotEqualImageFilter::SetForegroundValue(uint8_t ForegroundValue) Set/Get the value used to mark the true pixels of the operator.
    • getForegroundValue

      public short getForegroundValue()
      uint8_t itk::simple::NotEqualImageFilter::GetForegroundValue() const Set/Get the value used to mark the true pixels of the operator.
    • getName

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

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

      public Image execute(Image image1, Image image2)
      Image itk::simple::NotEqualImageFilter::Execute(Image &&image1, double constant)
    • execute

      public Image execute(Image image1, double constant)
      Image itk::simple::NotEqualImageFilter::Execute(Image &&image1, double constant)
    • execute

      public Image execute(double constant, Image image2)
      Image itk::simple::NotEqualImageFilter::Execute(Image &&image1, double constant)
    • execute

      public Image execute(Image image1, double constant, short backgroundValue, short foregroundValue)
      Image itk::simple::NotEqualImageFilter::Execute(Image &&image1, double constant)
    • execute

      public Image execute(double constant, Image image2, short backgroundValue, short foregroundValue)
      Image itk::simple::NotEqualImageFilter::Execute(Image &&image1, double constant)