Class OrImageFilter


public class OrImageFilter extends ImageFilter
Implements the OR 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 OR 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 OR operator in C++. See: itk::simple::Or for the procedural interface itk::OrImageFilter for the Doxygen on the original ITK class. C++ includes: sitkOrImageFilter.h
  • Constructor Details

    • OrImageFilter

      protected OrImageFilter(long cPtr, boolean cMemoryOwn)
    • OrImageFilter

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

    • getCPtr

      protected static long getCPtr(OrImageFilter obj)
    • swigRelease

      protected static long swigRelease(OrImageFilter obj)
    • finalize

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

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

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

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

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

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

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