Class EqualImageFilter


public class EqualImageFilter 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::Equal for the procedural interface itk::BinaryFunctorImageFilter for the Doxygen on the original ITK class. C++ includes: sitkEqualImageFilter.h
  • Constructor Details

    • EqualImageFilter

      protected EqualImageFilter(long cPtr, boolean cMemoryOwn)
    • EqualImageFilter

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

    • getCPtr

      protected static long getCPtr(EqualImageFilter obj)
    • swigRelease

      protected static long swigRelease(EqualImageFilter obj)
    • finalize

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

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

      public void setBackgroundValue(short BackgroundValue)
      Self& itk::simple::EqualImageFilter::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::EqualImageFilter::GetBackgroundValue() const Set/Get the value used to mark the false pixels of the operator.
    • setForegroundValue

      public void setForegroundValue(short ForegroundValue)
      Self& itk::simple::EqualImageFilter::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::EqualImageFilter::GetForegroundValue() const Set/Get the value used to mark the true pixels of the operator.
    • getName

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

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

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

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

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

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

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