template<typename TInputImage>
class itk::StatisticsImageFilter< TInputImage >
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.
- ITK Sphinx Examples:
-
Definition at line 55 of file itkStatisticsImageFilter.h.
|
void | AfterStreamedGenerateData () override |
|
void | BeforeStreamedGenerateData () override |
|
void | PrintSelf (std::ostream &os, Indent indent) const override |
|
virtual void | SetMaximumOutput (const SimpleDataObjectDecorator< PixelType > *_arg) |
|
virtual void | SetMeanOutput (const SimpleDataObjectDecorator< RealType > *_arg) |
|
virtual void | SetMinimumOutput (const SimpleDataObjectDecorator< PixelType > *_arg) |
|
virtual void | SetSigmaOutput (const SimpleDataObjectDecorator< RealType > *_arg) |
|
virtual void | SetSumOfSquaresOutput (const SimpleDataObjectDecorator< RealType > *_arg) |
|
virtual void | SetSumOutput (const SimpleDataObjectDecorator< RealType > *_arg) |
|
virtual void | SetVarianceOutput (const SimpleDataObjectDecorator< RealType > *_arg) |
|
| StatisticsImageFilter () |
|
void | ThreadedStreamedGenerateData (const RegionType &) override |
|
| ~StatisticsImageFilter () override=default |
|
virtual void | AllocateOutputs () |
|
void | BeforeStreamedGenerateData () override |
|
void | GenerateNthInputRequestedRegion (unsigned int inputRequestedRegionNumber) override |
|
unsigned int | GetNumberOfInputRequestedRegions () override |
|
virtual unsigned int | GetNumberOfStreamDivisions () const |
|
| ImageSink () |
|
void | PrintSelf (std::ostream &os, Indent indent) const override |
|
virtual void | SetNumberOfStreamDivisions (unsigned int _arg) |
|
void | StreamedGenerateData (unsigned int inputRequestedRegionNumber) override |
|
virtual void | ThreadedStreamedGenerateData (const InputImageRegionType &inputRegionForChunk)=0 |
|
void | VerifyInputInformation () const override |
|
| ~ImageSink () override=default |
|
virtual void | SetRegionSplitter (SplitterType *_arg) |
|
virtual SplitterType * | GetModifiableRegionSplitter () |
|
virtual void | AfterStreamedGenerateData () |
|
virtual void | BeforeStreamedGenerateData () |
|
virtual void | GenerateNthInputRequestedRegion (unsigned int inputRequestedRegionNumber)=0 |
|
virtual unsigned int | GetNumberOfInputRequestedRegions ()=0 |
|
void | PrintSelf (std::ostream &os, Indent indent) const override |
|
virtual void | StreamedGenerateData (unsigned int inputRequestedRegionNumber)=0 |
|
| StreamingProcessObject () |
|
| ~StreamingProcessObject () override |
|
virtual void | AddInput (DataObject *input) |
|
void | AddOptionalInputName (const DataObjectIdentifierType &) |
|
void | AddOptionalInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx) |
|
virtual void | AddOutput (DataObject *output) |
|
bool | AddRequiredInputName (const DataObjectIdentifierType &) |
|
bool | AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx) |
|
virtual void | CacheInputReleaseDataFlags () |
|
virtual void | GenerateData () |
|
virtual void | GenerateInputRequestedRegion () |
|
virtual void | GenerateOutputInformation () |
|
virtual void | GenerateOutputRequestedRegion (DataObject *output) |
|
DataObject * | GetInput (const DataObjectIdentifierType &key) |
|
const DataObject * | GetInput (const DataObjectIdentifierType &key) const |
|
virtual const DataObjectPointerArraySizeType & | GetNumberOfRequiredInputs () const |
|
virtual const DataObjectPointerArraySizeType & | GetNumberOfRequiredOutputs () const |
|
bool | IsIndexedInputName (const DataObjectIdentifierType &) const |
|
bool | IsIndexedOutputName (const DataObjectIdentifierType &) const |
|
bool | IsRequiredInputName (const DataObjectIdentifierType &) const |
|
DataObjectPointerArraySizeType | MakeIndexFromInputName (const DataObjectIdentifierType &name) const |
|
DataObjectPointerArraySizeType | MakeIndexFromOutputName (const DataObjectIdentifierType &name) const |
|
DataObjectIdentifierType | MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const |
|
DataObjectIdentifierType | MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const |
|
virtual void | PopBackInput () |
|
virtual void | PopFrontInput () |
|
void | PrintSelf (std::ostream &os, Indent indent) const override |
|
| ProcessObject () |
|
virtual void | PropagateResetPipeline () |
|
virtual void | PushBackInput (const DataObject *input) |
|
virtual void | PushFrontInput (const DataObject *input) |
|
virtual void | ReleaseInputs () |
|
virtual void | RemoveInput (const DataObjectIdentifierType &key) |
|
virtual void | RemoveInput (DataObjectPointerArraySizeType) |
|
virtual void | RemoveOutput (const DataObjectIdentifierType &key) |
|
virtual void | RemoveOutput (DataObjectPointerArraySizeType idx) |
|
bool | RemoveRequiredInputName (const DataObjectIdentifierType &) |
|
virtual void | RestoreInputReleaseDataFlags () |
|
virtual void | SetInput (const DataObjectIdentifierType &key, DataObject *input) |
|
virtual void | SetNthInput (DataObjectPointerArraySizeType idx, DataObject *input) |
|
virtual void | SetNthOutput (DataObjectPointerArraySizeType idx, DataObject *output) |
|
void | SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num) |
|
void | SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num) |
|
virtual void | SetNumberOfRequiredInputs (DataObjectPointerArraySizeType) |
|
virtual void | SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg) |
|
virtual void | SetOutput (const DataObjectIdentifierType &name, DataObject *output) |
|
virtual void | SetPrimaryInput (DataObject *object) |
|
virtual void | SetPrimaryOutput (DataObject *object) |
|
void | SetRequiredInputNames (const NameArray &) |
|
virtual void | VerifyInputInformation () const |
|
virtual void | VerifyPreconditions () const |
|
| ~ProcessObject () override |
|
DataObject * | GetInput (DataObjectPointerArraySizeType idx) |
|
const DataObject * | GetInput (DataObjectPointerArraySizeType idx) const |
|
DataObject * | GetPrimaryInput () |
|
const DataObject * | GetPrimaryInput () const |
|
virtual void | SetPrimaryInputName (const DataObjectIdentifierType &key) |
|
virtual const char * | GetPrimaryInputName () const |
|
DataObject * | GetOutput (const DataObjectIdentifierType &key) |
|
const DataObject * | GetOutput (const DataObjectIdentifierType &key) const |
|
virtual void | SetPrimaryOutputName (const DataObjectIdentifierType &key) |
|
virtual const char * | GetPrimaryOutputName () const |
|
DataObject * | GetOutput (DataObjectPointerArraySizeType i) |
|
const DataObject * | GetOutput (DataObjectPointerArraySizeType i) const |
|
DataObject * | GetPrimaryOutput () |
|
const DataObject * | GetPrimaryOutput () const |
|
virtual bool | GetThreaderUpdateProgress () const |
|
virtual void | ThreaderUpdateProgressOn () |
|
virtual void | SetThreaderUpdateProgress (bool arg) |
|
| Object () |
|
bool | PrintObservers (std::ostream &os, Indent indent) const |
|
void | PrintSelf (std::ostream &os, Indent indent) const override |
|
virtual void | SetTimeStamp (const TimeStamp &timeStamp) |
|
| ~Object () override |
|
virtual LightObject::Pointer | InternalClone () const |
|
| LightObject () |
|
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
|
virtual void | PrintSelf (std::ostream &os, Indent indent) const |
|
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
|
virtual | ~LightObject () |
|