Class AbsoluteValueDifferenceImageFilter

java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.AbsoluteValueDifferenceImageFilter

public class AbsoluteValueDifferenceImageFilter extends ImageFilter
Implements pixel-wise the computation of absolute value difference. This filter is parameterized over the types of the two input images and the type of the output image. Numeric conversions (castings) are done by the C++ defaults. The filter will walk over all the pixels in the two input images, and for each one of them it will do the following: Cast the input 1 pixel value to double . Cast the input 2 pixel value to double . Compute the difference of the two pixel values. Compute the absolute value of the difference. Cast the double value resulting from the absolute value to the pixel type of the output image. Store the casted value into the output image. The filter expects all images to have the same dimension (e.g. all 2D, or all 3D, or all ND). See: itk::simple::AbsoluteValueDifference for the procedural interface itk::AbsoluteValueDifferenceImageFilter for the Doxygen on the original ITK class. C++ includes: sitkAbsoluteValueDifferenceImageFilter.h
  • Constructor Details

    • AbsoluteValueDifferenceImageFilter

      protected AbsoluteValueDifferenceImageFilter(long cPtr, boolean cMemoryOwn)
    • AbsoluteValueDifferenceImageFilter

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

    • getCPtr

      protected static long getCPtr(AbsoluteValueDifferenceImageFilter obj)
    • swigRelease

      protected static long swigRelease(AbsoluteValueDifferenceImageFilter obj)
    • finalize

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

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

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

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

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

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

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