Class StatisticsImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.StatisticsImageFilter
Compute min, max, variance and mean of an Image .
StatisticsImageFilter computes the minimum, maximum, sum, sum of squares, mean, variance
sigma of an image. The filter needs all of its input image. It behaves
as a filter with an input and output. Thus it can be inserted in a
pipeline with other filters and the statistics will only be recomputed
if a downstream filter changes.
This filter is automatically multi-threaded and can stream its input
when NumberOfStreamDivisions is set to more than one. Statistics are independently computed for each streamed and threaded region then
merged.
Internally a compensated summation algorithm is used for the
accumulation of intensities to improve accuracy for large images.
See:
 itk::StatisticsImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkStatisticsImageFilter.h
- 
Field SummaryFields inherited from class org.itk.simple.ProcessObjectswigCMemOwn
- 
Constructor SummaryConstructorsModifierConstructorDescriptionitk::simple::StatisticsImageFilter::StatisticsImageFilter() Default Constructor that takes no arguments and initializes default parametersprotectedStatisticsImageFilter(long cPtr, boolean cMemoryOwn) 
- 
Method SummaryModifier and TypeMethodDescriptionvoiddelete()virtual itk::simple::StatisticsImageFilter::~StatisticsImageFilter() Destructorvoidvoid itk::simple::StatisticsImageFilter::Execute(const Image &image) Execute the filter on the input imageprotected voidfinalize()protected static longdoubledouble itk::simple::StatisticsImageFilter::GetMaximum() const Return the computed Maximum.doublegetMean()double itk::simple::StatisticsImageFilter::GetMean() const Return the computed Mean.doubledouble itk::simple::StatisticsImageFilter::GetMinimum() const Return the computed Minimum.getName()std::string itk::simple::StatisticsImageFilter::GetName() const Name of this classdoublegetSigma()double itk::simple::StatisticsImageFilter::GetSigma() const Return the computed Standard Deviation.doublegetSum()double itk::simple::StatisticsImageFilter::GetSum() const Return the compute Sum.doubledouble itk::simple::StatisticsImageFilter::GetVariance() const Return the computed Variance.protected static longtoString()std::string itk::simple::StatisticsImageFilter::ToString() const Print ourselves outMethods inherited from class org.itk.simple.ImageFiltergetCPtr, swigReleaseMethods inherited from class org.itk.simple.ProcessObjectabort, 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- 
StatisticsImageFilterprotected StatisticsImageFilter(long cPtr, boolean cMemoryOwn) 
- 
StatisticsImageFilterpublic StatisticsImageFilter()itk::simple::StatisticsImageFilter::StatisticsImageFilter() Default Constructor that takes no arguments and initializes default parameters
 
- 
- 
Method Details- 
getCPtr
- 
swigRelease
- 
finalizeprotected void finalize()- Overrides:
- finalizein class- ImageFilter
 
- 
deletepublic void delete()virtual itk::simple::StatisticsImageFilter::~StatisticsImageFilter() Destructor- Overrides:
- deletein class- ImageFilter
 
- 
getMinimumpublic double getMinimum()double itk::simple::StatisticsImageFilter::GetMinimum() const Return the computed Minimum. This is a measurement. Its value is updated in the Execute methods, so the value will only be valid after an execution.
- 
getMaximumpublic double getMaximum()double itk::simple::StatisticsImageFilter::GetMaximum() const Return the computed Maximum. This is a measurement. Its value is updated in the Execute methods, so the value will only be valid after an execution.
- 
getMeanpublic double getMean()double itk::simple::StatisticsImageFilter::GetMean() const Return the computed Mean. This is a measurement. Its value is updated in the Execute methods, so the value will only be valid after an execution.
- 
getSigmapublic double getSigma()double itk::simple::StatisticsImageFilter::GetSigma() const Return the computed Standard Deviation. This is a measurement. Its value is updated in the Execute methods, so the value will only be valid after an execution.
- 
getVariancepublic double getVariance()double itk::simple::StatisticsImageFilter::GetVariance() const Return the computed Variance. This is a measurement. Its value is updated in the Execute methods, so the value will only be valid after an execution.
- 
getSumpublic double getSum()double itk::simple::StatisticsImageFilter::GetSum() const Return the compute Sum. This is a measurement. Its value is updated in the Execute methods, so the value will only be valid after an execution.
- 
getNamestd::string itk::simple::StatisticsImageFilter::GetName() const Name of this class- Overrides:
- getNamein class- ProcessObject
 
- 
toStringstd::string itk::simple::StatisticsImageFilter::ToString() const Print ourselves out- Overrides:
- toStringin class- ProcessObject
 
- 
executevoid itk::simple::StatisticsImageFilter::Execute(const Image &image) Execute the filter on the input image
 
-