Class XorImageFilter


public class XorImageFilter extends ImageFilter
Computes the XOR bitwise operator pixel-wise between two images. This class is templated over the types of the two input images and the type of the output image. Numeric conversions (castings) are done by the C++ defaults. Since the bitwise XOR operation is only defined in C++ for integer types, the images passed to this filter must comply with the requirement of using integer pixel type. The total operation over one pixel will be Where "^" is the boolean XOR operator in C++. See: itk::simple::Xor for the procedural interface itk::XorImageFilter for the Doxygen on the original ITK class. C++ includes: sitkXorImageFilter.h
  • Constructor Details

    • XorImageFilter

      protected XorImageFilter(long cPtr, boolean cMemoryOwn)
    • XorImageFilter

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

    • getCPtr

      protected static long getCPtr(XorImageFilter obj)
    • swigRelease

      protected static long swigRelease(XorImageFilter obj)
    • finalize

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

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

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

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

      public Image execute(Image image1, Image image2)
      Image itk::simple::XorImageFilter::Execute(int constant, const Image &image2)
    • execute

      public Image execute(Image image1, int constant)
      Image itk::simple::XorImageFilter::Execute(int constant, const Image &image2)
    • execute

      public Image execute(int constant, Image image2)
      Image itk::simple::XorImageFilter::Execute(int constant, const Image &image2)