Class RescaleIntensityImageFilter


public class RescaleIntensityImageFilter extends ImageFilter
Applies a linear transformation to the intensity levels of the input Image . RescaleIntensityImageFilter applies pixel-wise a linear transformation to the intensity values of input image pixels. The linear transformation is defined by the user in terms of the minimum and maximum values that the output image should have. The following equation gives the mapping of the intensity values \\[ outputPixel = ( inputPixel - inputMin) \\cdot \\frac{(outputMax - outputMin )}{(inputMax - inputMin)} + outputMin \\] All computations are performed in the precision of the input pixel's RealType. Before assigning the computed value to the output pixel. NOTE: In this filter the minimum and maximum values of the input image are computed internally using the MinimumMaximumImageCalculator . Users are not supposed to set those values in this filter. If you need a filter where you can set the minimum and maximum values of the input, please use the IntensityWindowingImageFilter . If you want a filter that can use a user-defined linear transformation for the intensity, then please use the ShiftScaleImageFilter . See: IntensityWindowingImageFilter itk::simple::RescaleIntensity for the procedural interface itk::RescaleIntensityImageFilter for the Doxygen on the original ITK class. C++ includes: sitkRescaleIntensityImageFilter.h
  • Constructor Details

    • RescaleIntensityImageFilter

      protected RescaleIntensityImageFilter(long cPtr, boolean cMemoryOwn)
    • RescaleIntensityImageFilter

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

    • getCPtr

      protected static long getCPtr(RescaleIntensityImageFilter obj)
    • swigRelease

      protected static long swigRelease(RescaleIntensityImageFilter obj)
    • finalize

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

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

      public void setOutputMinimum(double OutputMinimum)
      Self& itk::simple::RescaleIntensityImageFilter::SetOutputMinimum(double OutputMinimum)
    • getOutputMinimum

      public double getOutputMinimum()
      double itk::simple::RescaleIntensityImageFilter::GetOutputMinimum() const
    • setOutputMaximum

      public void setOutputMaximum(double OutputMaximum)
      Self& itk::simple::RescaleIntensityImageFilter::SetOutputMaximum(double OutputMaximum)
    • getOutputMaximum

      public double getOutputMaximum()
      double itk::simple::RescaleIntensityImageFilter::GetOutputMaximum() const
    • getName

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

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

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