Package org.itk.simple
Class NormalizeToConstantImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.NormalizeToConstantImageFilter
Scales image pixel intensities to make the sum of all pixels equal a
user-defined constant.
The default value of the constant is 1. It can be changed with SetConstant() .
This transform is especially useful for normalizing a convolution
kernel.
This code was contributed in the Insight Journal paper: "FFT based
convolution" by Lehmann G. https://insight-journal.org/browse/publication/717
Gaetan Lehmann. Biologie du Developpement et de la Reproduction, INRA
de Jouy-en-Josas, France.
See:
NormalizeImageFilter
StatisticsImageFilter
DivideImageFilter
itk::simple::NormalizeToConstant for the procedural interface
itk::NormalizeToConstantImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkNormalizeToConstantImageFilter.h
-
Field Summary
Fields inherited from class org.itk.simple.ProcessObject
swigCMemOwn
-
Constructor Summary
ConstructorsModifierConstructorDescriptionitk::simple::NormalizeToConstantImageFilter::NormalizeToConstantImageFilter() Default Constructor that takes no arguments and initializes default parametersprotected
NormalizeToConstantImageFilter
(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and TypeMethodDescriptionvoid
delete()
virtual itk::simple::NormalizeToConstantImageFilter::~NormalizeToConstantImageFilter() DestructorImage itk::simple::NormalizeToConstantImageFilter::Execute(const Image &image1) Execute the filter on the input imageprotected void
finalize()
double
double itk::simple::NormalizeToConstantImageFilter::GetConstant() const Set/get the normalization constant.protected static long
getName()
std::string itk::simple::NormalizeToConstantImageFilter::GetName() const Name of this classvoid
setConstant
(double Constant) Self& itk::simple::NormalizeToConstantImageFilter::SetConstant(double Constant) Set/get the normalization constant.protected static long
toString()
std::string itk::simple::NormalizeToConstantImageFilter::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
-
NormalizeToConstantImageFilter
protected NormalizeToConstantImageFilter(long cPtr, boolean cMemoryOwn) -
NormalizeToConstantImageFilter
public NormalizeToConstantImageFilter()itk::simple::NormalizeToConstantImageFilter::NormalizeToConstantImageFilter() 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::NormalizeToConstantImageFilter::~NormalizeToConstantImageFilter() Destructor- Overrides:
delete
in classImageFilter
-
setConstant
public void setConstant(double Constant) Self& itk::simple::NormalizeToConstantImageFilter::SetConstant(double Constant) Set/get the normalization constant. -
getConstant
public double getConstant()double itk::simple::NormalizeToConstantImageFilter::GetConstant() const Set/get the normalization constant. -
getName
std::string itk::simple::NormalizeToConstantImageFilter::GetName() const Name of this class- Overrides:
getName
in classProcessObject
-
toString
std::string itk::simple::NormalizeToConstantImageFilter::ToString() const Print ourselves out- Overrides:
toString
in classProcessObject
-
execute
Image itk::simple::NormalizeToConstantImageFilter::Execute(const Image &image1) Execute the filter on the input image
-