Package org.itk.simple
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 parametersprotected
RescaleIntensityImageFilter
(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and TypeMethodDescriptionvoid
delete()
virtual itk::simple::RescaleIntensityImageFilter::~RescaleIntensityImageFilter() DestructorImage itk::simple::RescaleIntensityImageFilter::Execute(Image &&image1) Execute the filter on the input imageprotected void
finalize()
protected static long
getName()
std::string itk::simple::RescaleIntensityImageFilter::GetName() const Name of this classdouble
double itk::simple::RescaleIntensityImageFilter::GetOutputMaximum() constdouble
double itk::simple::RescaleIntensityImageFilter::GetOutputMinimum() constvoid
setOutputMaximum
(double OutputMaximum) Self& itk::simple::RescaleIntensityImageFilter::SetOutputMaximum(double OutputMaximum)void
setOutputMinimum
(double OutputMinimum) Self& itk::simple::RescaleIntensityImageFilter::SetOutputMinimum(double OutputMinimum)protected static long
toString()
std::string itk::simple::RescaleIntensityImageFilter::ToString() const Print ourselves outMethods inherited from class org.itk.simple.ImageFilter
getCPtr, swigRelease
Methods 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:
finalize
in classImageFilter
-
delete
public void delete()virtual itk::simple::RescaleIntensityImageFilter::~RescaleIntensityImageFilter() Destructor- Overrides:
delete
in 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:
getName
in classProcessObject
-
toString
std::string itk::simple::RescaleIntensityImageFilter::ToString() const Print ourselves out- Overrides:
toString
in classProcessObject
-
execute
Image itk::simple::RescaleIntensityImageFilter::Execute(Image &&image1) Execute the filter on the input image
-