Class RescaleIntensityImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.RescaleIntensityImageFilter
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
-
Field Summary
Fields inherited from class org.itk.simple.ProcessObject
swigCMemOwn -
Constructor Summary
ConstructorsModifierConstructorDescriptionitk::simple::RescaleIntensityImageFilter::RescaleIntensityImageFilter() Default Constructor that takes no arguments and initializes default parametersprotectedRescaleIntensityImageFilter(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()virtual itk::simple::RescaleIntensityImageFilter::~RescaleIntensityImageFilter() DestructorImage itk::simple::RescaleIntensityImageFilter::Execute(Image &&image1) Execute the filter on the input imageprotected voidfinalize()protected static longgetName()std::string itk::simple::RescaleIntensityImageFilter::GetName() const Name of this classdoubledouble itk::simple::RescaleIntensityImageFilter::GetOutputMaximum() constdoubledouble itk::simple::RescaleIntensityImageFilter::GetOutputMinimum() constvoidsetOutputMaximum(double OutputMaximum) Self& itk::simple::RescaleIntensityImageFilter::SetOutputMaximum(double OutputMaximum)voidsetOutputMinimum(double OutputMinimum) Self& itk::simple::RescaleIntensityImageFilter::SetOutputMinimum(double OutputMinimum)protected static longtoString()std::string itk::simple::RescaleIntensityImageFilter::ToString() const Print ourselves outMethods inherited from class org.itk.simple.ImageFilter
getCPtr, swigReleaseMethods inherited from class org.itk.simple.ProcessObject
abort, addCommand, debugOff, debugOn, getCPtr, getDebug, getGlobalDefaultCoordinateTolerance, getGlobalDefaultDebug, getGlobalDefaultDirectionTolerance, getGlobalDefaultNumberOfThreads, getGlobalDefaultThreader, getGlobalWarningDisplay, getNumberOfThreads, getNumberOfWorkUnits, getProgress, globalDefaultDebugOff, globalDefaultDebugOn, globalWarningDisplayOff, globalWarningDisplayOn, hasCommand, removeAllCommands, setDebug, setGlobalDefaultCoordinateTolerance, setGlobalDefaultDebug, setGlobalDefaultDirectionTolerance, setGlobalDefaultNumberOfThreads, setGlobalDefaultThreader, setGlobalWarningDisplay, setNumberOfThreads, setNumberOfWorkUnits, swigRelease
-
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
-
swigRelease
-
finalize
protected void finalize()- Overrides:
finalizein classImageFilter
-
delete
public void delete()virtual itk::simple::RescaleIntensityImageFilter::~RescaleIntensityImageFilter() Destructor- Overrides:
deletein classImageFilter
-
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
std::string itk::simple::RescaleIntensityImageFilter::GetName() const Name of this class- Overrides:
getNamein classProcessObject
-
toString
std::string itk::simple::RescaleIntensityImageFilter::ToString() const Print ourselves out- Overrides:
toStringin classProcessObject
-
execute
-