Class AndImageFilter


public class AndImageFilter extends ImageFilter
Implements the AND 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 AND 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 bitwise AND operator in C++. See: itk::simple::And for the procedural interface itk::AndImageFilter for the Doxygen on the original ITK class. C++ includes: sitkAndImageFilter.h
  • Constructor Details

    • AndImageFilter

      protected AndImageFilter(long cPtr, boolean cMemoryOwn)
    • AndImageFilter

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

    • getCPtr

      protected static long getCPtr(AndImageFilter obj)
    • swigRelease

      protected static long swigRelease(AndImageFilter obj)
    • finalize

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

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

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

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

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

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

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