Package org.itk.simple
Class IntensityWindowingImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.IntensityWindowingImageFilter
Applies a linear transformation to the intensity levels of the input Image that are inside a user-defined interval. Values below this interval
are mapped to a constant. Values over the interval are mapped to
another constant.
IntensityWindowingImageFilter 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 and the lower and upper limits of the intensity window of
the input image. This operation is very common in visualization, and
can also be applied as a convenient preprocessing operation for image
segmentation.
All computations are performed in the precision of the input pixel's
RealType. Before assigning the computed value to the output pixel.
See:
RescaleIntensityImageFilter
itk::simple::IntensityWindowing for the procedural interface
itk::IntensityWindowingImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkIntensityWindowingImageFilter.h
-
Field Summary
Fields inherited from class org.itk.simple.ProcessObject
swigCMemOwn
-
Constructor Summary
ConstructorsModifierConstructorDescriptionitk::simple::IntensityWindowingImageFilter::IntensityWindowingImageFilter() Default Constructor that takes no arguments and initializes default parametersprotected
IntensityWindowingImageFilter
(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and TypeMethodDescriptionvoid
delete()
virtual itk::simple::IntensityWindowingImageFilter::~IntensityWindowingImageFilter() DestructorImage itk::simple::IntensityWindowingImageFilter::Execute(Image &&image1) Execute the filter on the input imageprotected void
finalize()
protected static long
getName()
std::string itk::simple::IntensityWindowingImageFilter::GetName() const Name of this classdouble
double itk::simple::IntensityWindowingImageFilter::GetOutputMaximum() const Set/Get the values of the maximum and minimum intensities of the output image.double
double itk::simple::IntensityWindowingImageFilter::GetOutputMinimum() const Set/Get the values of the maximum and minimum intensities of the output image.double
double itk::simple::IntensityWindowingImageFilter::GetWindowMaximum() const Set/Get the values of the maximum and minimum intensities of the input intensity window.double
double itk::simple::IntensityWindowingImageFilter::GetWindowMinimum() const Set/Get the values of the maximum and minimum intensities of the input intensity window.void
setOutputMaximum
(double OutputMaximum) Self& itk::simple::IntensityWindowingImageFilter::SetOutputMaximum(double OutputMaximum) Set/Get the values of the maximum and minimum intensities of the output image.void
setOutputMinimum
(double OutputMinimum) Self& itk::simple::IntensityWindowingImageFilter::SetOutputMinimum(double OutputMinimum) Set/Get the values of the maximum and minimum intensities of the output image.void
setWindowMaximum
(double WindowMaximum) Self& itk::simple::IntensityWindowingImageFilter::SetWindowMaximum(double WindowMaximum) Set/Get the values of the maximum and minimum intensities of the input intensity window.void
setWindowMinimum
(double WindowMinimum) Self& itk::simple::IntensityWindowingImageFilter::SetWindowMinimum(double WindowMinimum) Set/Get the values of the maximum and minimum intensities of the input intensity window.protected static long
toString()
std::string itk::simple::IntensityWindowingImageFilter::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
-
IntensityWindowingImageFilter
protected IntensityWindowingImageFilter(long cPtr, boolean cMemoryOwn) -
IntensityWindowingImageFilter
public IntensityWindowingImageFilter()itk::simple::IntensityWindowingImageFilter::IntensityWindowingImageFilter() 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::IntensityWindowingImageFilter::~IntensityWindowingImageFilter() Destructor- Overrides:
delete
in classImageFilter
-
setWindowMinimum
public void setWindowMinimum(double WindowMinimum) Self& itk::simple::IntensityWindowingImageFilter::SetWindowMinimum(double WindowMinimum) Set/Get the values of the maximum and minimum intensities of the input intensity window. -
getWindowMinimum
public double getWindowMinimum()double itk::simple::IntensityWindowingImageFilter::GetWindowMinimum() const Set/Get the values of the maximum and minimum intensities of the input intensity window. -
setWindowMaximum
public void setWindowMaximum(double WindowMaximum) Self& itk::simple::IntensityWindowingImageFilter::SetWindowMaximum(double WindowMaximum) Set/Get the values of the maximum and minimum intensities of the input intensity window. -
getWindowMaximum
public double getWindowMaximum()double itk::simple::IntensityWindowingImageFilter::GetWindowMaximum() const Set/Get the values of the maximum and minimum intensities of the input intensity window. -
setOutputMinimum
public void setOutputMinimum(double OutputMinimum) Self& itk::simple::IntensityWindowingImageFilter::SetOutputMinimum(double OutputMinimum) Set/Get the values of the maximum and minimum intensities of the output image. -
getOutputMinimum
public double getOutputMinimum()double itk::simple::IntensityWindowingImageFilter::GetOutputMinimum() const Set/Get the values of the maximum and minimum intensities of the output image. -
setOutputMaximum
public void setOutputMaximum(double OutputMaximum) Self& itk::simple::IntensityWindowingImageFilter::SetOutputMaximum(double OutputMaximum) Set/Get the values of the maximum and minimum intensities of the output image. -
getOutputMaximum
public double getOutputMaximum()double itk::simple::IntensityWindowingImageFilter::GetOutputMaximum() const Set/Get the values of the maximum and minimum intensities of the output image. -
getName
std::string itk::simple::IntensityWindowingImageFilter::GetName() const Name of this class- Overrides:
getName
in classProcessObject
-
toString
std::string itk::simple::IntensityWindowingImageFilter::ToString() const Print ourselves out- Overrides:
toString
in classProcessObject
-
execute
Image itk::simple::IntensityWindowingImageFilter::Execute(Image &&image1) Execute the filter on the input image
-