Class CheckerBoardImageFilter


public class CheckerBoardImageFilter extends ImageFilter
Combines two images in a checkerboard pattern. CheckerBoardImageFilter takes two input images that must have the same dimension, size, origin and spacing and produces an output image of the same size by combining the pixels from the two input images in a checkerboard pattern. This filter is commonly used for visually comparing two images, in particular for evaluating the results of an image registration process. This filter is implemented as a multithreaded filter. It provides a DynamicThreadedGenerateData() method for its implementation. See: itk::simple::CheckerBoard for the procedural interface itk::CheckerBoardImageFilter for the Doxygen on the original ITK class. C++ includes: sitkCheckerBoardImageFilter.h
  • Constructor Details

    • CheckerBoardImageFilter

      protected CheckerBoardImageFilter(long cPtr, boolean cMemoryOwn)
    • CheckerBoardImageFilter

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

    • getCPtr

      protected static long getCPtr(CheckerBoardImageFilter obj)
    • swigRelease

      protected static long swigRelease(CheckerBoardImageFilter obj)
    • finalize

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

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

      public void setCheckerPattern(VectorUInt32 CheckerPattern)
      Self& itk::simple::CheckerBoardImageFilter::SetCheckerPattern(uint32_t value) Set the values of the CheckerPattern vector all to value
    • setCheckerPattern

      public void setCheckerPattern(long value)
      Self& itk::simple::CheckerBoardImageFilter::SetCheckerPattern(uint32_t value) Set the values of the CheckerPattern vector all to value
    • getCheckerPattern

      public VectorUInt32 getCheckerPattern()
      std::vector<uint32_t> itk::simple::CheckerBoardImageFilter::GetCheckerPattern() const Set/Get the checker pattern array, i.e. the number of checker boxes per image dimension.
    • getName

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

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

      public Image execute(Image image1, Image image2)
      Image itk::simple::CheckerBoardImageFilter::Execute(const Image &image1, const Image &image2) Execute the filter on the input images