Class InvertIntensityImageFilter


public class InvertIntensityImageFilter extends ImageFilter
Invert the intensity of an image. InvertIntensityImageFilter inverts intensity of pixels by subtracting pixel value to a maximum value. The maximum value can be set with SetMaximum and defaults the maximum of input pixel type. This filter can be used to invert, for example, a binary image, a distance map, etc. Gaetan Lehmann. Biologie du Developpement et de la Reproduction, INRA de Jouy-en-Josas, France. See: IntensityWindowingImageFilter ShiftScaleImageFilter itk::simple::InvertIntensity for the procedural interface itk::InvertIntensityImageFilter for the Doxygen on the original ITK class. C++ includes: sitkInvertIntensityImageFilter.h
  • Constructor Details

    • InvertIntensityImageFilter

      protected InvertIntensityImageFilter(long cPtr, boolean cMemoryOwn)
    • InvertIntensityImageFilter

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

    • getCPtr

      protected static long getCPtr(InvertIntensityImageFilter obj)
    • swigRelease

      protected static long swigRelease(InvertIntensityImageFilter obj)
    • finalize

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

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

      public void setMaximum(double Maximum)
      Self& itk::simple::InvertIntensityImageFilter::SetMaximum(double Maximum) Set/Get the maximum intensity value for the inversion.
    • getMaximum

      public double getMaximum()
      double itk::simple::InvertIntensityImageFilter::GetMaximum() const Set/Get the maximum intensity value for the inversion.
    • getName

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

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

      public Image execute(Image image1)
      Image itk::simple::InvertIntensityImageFilter::Execute(Image &&image1) Execute the filter on the input image