Class ClampImageFilter


public class ClampImageFilter extends ImageFilter
Casts input pixels to output pixel type and clamps the output pixel values to a specified range. Default range corresponds to the range supported by the pixel type of the output image. This filter is templated over the input image type and the output image type. Gaetan Lehmann. Biologie du Developpement et de la Reproduction, INRA de Jouy-en-Josas, France. See: UnaryFunctorImageFilter CastImageFilter itk::simple::Clamp for the procedural interface itk::ClampImageFilter for the Doxygen on the original ITK class. C++ includes: sitkClampImageFilter.h
  • Constructor Details

    • ClampImageFilter

      protected ClampImageFilter(long cPtr, boolean cMemoryOwn)
    • ClampImageFilter

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

    • getCPtr

      protected static long getCPtr(ClampImageFilter obj)
    • swigRelease

      protected static long swigRelease(ClampImageFilter obj)
    • finalize

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

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

      public void setOutputPixelType(PixelIDValueEnum OutputPixelType)
      Self& itk::simple::ClampImageFilter::SetOutputPixelType(PixelIDValueEnum OutputPixelType)
    • getOutputPixelType

      public PixelIDValueEnum getOutputPixelType()
      PixelIDValueEnum itk::simple::ClampImageFilter::GetOutputPixelType() const
    • setLowerBound

      public void setLowerBound(double LowerBound)
      Self& itk::simple::ClampImageFilter::SetLowerBound(double LowerBound)
    • getLowerBound

      public double getLowerBound()
      double itk::simple::ClampImageFilter::GetLowerBound() const
    • setUpperBound

      public void setUpperBound(double UpperBound)
      Self& itk::simple::ClampImageFilter::SetUpperBound(double UpperBound)
    • getUpperBound

      public double getUpperBound()
      double itk::simple::ClampImageFilter::GetUpperBound() const
    • getName

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

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

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