Class NormalizeImageFilter


public class NormalizeImageFilter extends ImageFilter
Normalize an image by setting its mean to zero and variance to one. NormalizeImageFilter shifts and scales an image so that the pixels in the image have a zero mean and unit variance. This filter uses StatisticsImageFilter to compute the mean and variance of the input and then applies ShiftScaleImageFilter to shift and scale the pixels. NB: since this filter normalizes the data such that the mean is at 0, and $-\\sigma$ to $+\\sigma$ is mapped to -1.0 to 1.0, output image integral types will produce an image that DOES NOT HAVE a unit variance due to 68% of the intensity values being mapped to the real number range of -1.0 to 1.0 and then cast to the output integral value. See: NormalizeToConstantImageFilter itk::simple::Normalize for the procedural interface itk::NormalizeImageFilter for the Doxygen on the original ITK class. C++ includes: sitkNormalizeImageFilter.h
  • Constructor Details

    • NormalizeImageFilter

      protected NormalizeImageFilter(long cPtr, boolean cMemoryOwn)
    • NormalizeImageFilter

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

    • getCPtr

      protected static long getCPtr(NormalizeImageFilter obj)
    • swigRelease

      protected static long swigRelease(NormalizeImageFilter obj)
    • finalize

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

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

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

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

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