Class NormalizeImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.NormalizeImageFilter
Normalize an image by setting its mean to zero and variance to one.
NormalizeImageFilter shifts and scales an image so that the pixels in the image have a
zero mean and unit variance. This filter uses StatisticsImageFilter to compute the mean and variance of the input and then applies ShiftScaleImageFilter to shift and scale the pixels.
NB: since this filter normalizes the data such that the mean is at 0,
and $-\\sigma$ to $+\\sigma$ is mapped to -1.0 to 1.0, output image integral types will produce an
image that DOES NOT HAVE a unit variance due to 68% of the intensity
values being mapped to the real number range of -1.0 to 1.0 and then
cast to the output integral value.
See:
NormalizeToConstantImageFilter
itk::simple::Normalize for the procedural interface
itk::NormalizeImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkNormalizeImageFilter.h
-
Field Summary
Fields inherited from class ProcessObject
swigCMemOwn -
Constructor Summary
ConstructorsModifierConstructorDescriptionitk::simple::NormalizeImageFilter::NormalizeImageFilter() Default Constructor that takes no arguments and initializes default parametersprotectedNormalizeImageFilter(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()virtual itk::simple::NormalizeImageFilter::~NormalizeImageFilter() DestructorImage itk::simple::NormalizeImageFilter::Execute(const Image &image1) Execute the filter on the input imageprotected voidfinalize()protected static longgetName()std::string itk::simple::NormalizeImageFilter::GetName() const Name of this classprotected static longtoString()std::string itk::simple::NormalizeImageFilter::ToString() const Print ourselves outMethods inherited from class ImageFilter
getCPtr, swigReleaseModifier and TypeMethodDescriptionprotected static longgetCPtr(ImageFilter obj) protected static longswigRelease(ImageFilter obj) Methods inherited from class 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, swigReleaseModifier and TypeMethodDescriptionvoidabort()virtual void itk::simple::ProcessObject::Abort() Sets an abort flag on the active process.intaddCommand(EventEnum event, Command cmd) virtual int itk::simple::ProcessObject::AddCommand(itk::simple::EventEnum event, itk::simple::Command &cmd) Add a Command Object to observer the event.voiddebugOff()voiddebugOn()protected static longgetCPtr(ProcessObject obj) booleangetDebug()static doublestatic booleanstatic doublestatic longstatic Stringstatic booleanlonglongfloatvirtual float itk::simple::ProcessObject::GetProgress() const An Active Measurement of the progress of execution.static voidstatic voidstatic voidstatic voidbooleanhasCommand(EventEnum event) virtual bool itk::simple::ProcessObject::HasCommand(itk::simple::EventEnum event) const Query of this object has any registered commands for event.voidvirtual void itk::simple::ProcessObject::RemoveAllCommands() Remove all registered commands.voidsetDebug(boolean debugFlag) static voidsetGlobalDefaultCoordinateTolerance(double arg0) static voidsetGlobalDefaultDebug(boolean debugFlag) static voidsetGlobalDefaultDirectionTolerance(double arg0) static voidsetGlobalDefaultNumberOfThreads(long n) static booleansetGlobalDefaultThreader(String threader) static voidsetGlobalWarningDisplay(boolean flag) voidsetNumberOfThreads(long n) voidsetNumberOfWorkUnits(long n) protected static longswigRelease(ProcessObject obj)
-
Constructor Details
-
NormalizeImageFilter
protected NormalizeImageFilter(long cPtr, boolean cMemoryOwn) -
NormalizeImageFilter
public NormalizeImageFilter()itk::simple::NormalizeImageFilter::NormalizeImageFilter() 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::NormalizeImageFilter::~NormalizeImageFilter() Destructor- Overrides:
deletein classImageFilter
-
getName
std::string itk::simple::NormalizeImageFilter::GetName() const Name of this class- Overrides:
getNamein classProcessObject
-
toString
std::string itk::simple::NormalizeImageFilter::ToString() const Print ourselves out- Overrides:
toStringin classProcessObject
-
execute
-