Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
|
Compute min. max, variance and mean of an (masked) Image. More...
#include <itkMaskedStatisticsImageFilter.h>
Public Types | |
typedef MaskedStatisticsImageFilter | Self |
typedef ImageToImageFilter< TInputImage, TInputImage > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::InputImageType | InputImageType |
typedef Superclass::InputImagePointer | InputImagePointer |
typedef TInputImage::RegionType | RegionType |
typedef TInputImage::SizeType | SizeType |
typedef TInputImage::IndexType | IndexType |
typedef TInputImage::PixelType | PixelType |
typedef NumericTraits< PixelType >::RealType | RealType |
typedef DataObject::Pointer | DataObjectPointer |
typedef SimpleDataObjectDecorator< RealType > | RealObjectType |
typedef SimpleDataObjectDecorator< PixelType > | PixelObjectType |
typedef TMaskImage | MaskImageType |
typedef MaskImageType::ConstPointer | MaskImageConstPointer |
typedef MaskImageType::RegionType | MaskImageRegionType |
typedef ProcessObject::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
Public Member Functions | |
virtual const char * | GetClassName () const |
itkStaticConstMacro (ImageDimension, unsigned int, TInputImage::ImageDimension) | |
PixelType | GetMinimum () const |
PixelObjectType * | GetMinimumOutput () |
const PixelObjectType * | GetMinimumOutput () const |
PixelType | GetMaximum () const |
PixelObjectType * | GetMaximumOutput () |
const PixelObjectType * | GetMaximumOutput () const |
RealType | GetMean () const |
RealObjectType * | GetMeanOutput () |
const RealObjectType * | GetMeanOutput () const |
RealType | GetSigma () const |
RealObjectType * | GetSigmaOutput () |
const RealObjectType * | GetSigmaOutput () const |
RealType | GetVariance () const |
RealObjectType * | GetVarianceOutput () |
const RealObjectType * | GetVarianceOutput () const |
RealType | GetSum () const |
RealObjectType * | GetSumOutput () |
const RealObjectType * | GetSumOutput () const |
DataObjectPointer | MakeOutput (DataObjectPointerArraySizeType idx) override |
virtual void | SetMask (const MaskImageType *_arg) |
virtual const MaskImageType * | GetMask () |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
MaskedStatisticsImageFilter () | |
~MaskedStatisticsImageFilter () override | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
void | AllocateOutputs () override |
void | BeforeThreadedGenerateData () override |
void | AfterThreadedGenerateData () override |
void | ThreadedGenerateData (const RegionType &outputRegionForThread, ThreadIdType threadId) override |
void | GenerateInputRequestedRegion () override |
void | EnlargeOutputRequestedRegion (DataObject *data) override |
Compute min. max, variance and mean of an (masked) Image.
MaskedStatisticsImageFilter computes the minimum, maximum, sum, 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.
The filter passes its input through unmodified. The filter is threaded. It computes statistics in each thread then combines them in its AfterThreadedGenerate method.
Definition at line 49 of file itkMaskedStatisticsImageFilter.h.
typedef SmartPointer< const Self > itk::MaskedStatisticsImageFilter< TInputImage, TMaskImage >::ConstPointer |
Definition at line 57 of file itkMaskedStatisticsImageFilter.h.
typedef DataObject::Pointer itk::MaskedStatisticsImageFilter< TInputImage, TMaskImage >::DataObjectPointer |
Smart Pointer type to a DataObject.
Definition at line 82 of file itkMaskedStatisticsImageFilter.h.
typedef ProcessObject::DataObjectPointerArraySizeType itk::MaskedStatisticsImageFilter< TInputImage, TMaskImage >::DataObjectPointerArraySizeType |
Make a DataObject of the correct type to be used as the specified output.
Definition at line 136 of file itkMaskedStatisticsImageFilter.h.
typedef TInputImage::IndexType itk::MaskedStatisticsImageFilter< TInputImage, TMaskImage >::IndexType |
Definition at line 71 of file itkMaskedStatisticsImageFilter.h.
typedef Superclass::InputImagePointer itk::MaskedStatisticsImageFilter< TInputImage, TMaskImage >::InputImagePointer |
Definition at line 67 of file itkMaskedStatisticsImageFilter.h.
typedef Superclass::InputImageType itk::MaskedStatisticsImageFilter< TInputImage, TMaskImage >::InputImageType |
Image related typedefs.
Definition at line 63 of file itkMaskedStatisticsImageFilter.h.
typedef MaskImageType::ConstPointer itk::MaskedStatisticsImageFilter< TInputImage, TMaskImage >::MaskImageConstPointer |
Definition at line 89 of file itkMaskedStatisticsImageFilter.h.
typedef MaskImageType::RegionType itk::MaskedStatisticsImageFilter< TInputImage, TMaskImage >::MaskImageRegionType |
Definition at line 90 of file itkMaskedStatisticsImageFilter.h.
typedef TMaskImage itk::MaskedStatisticsImageFilter< TInputImage, TMaskImage >::MaskImageType |
Definition at line 88 of file itkMaskedStatisticsImageFilter.h.
typedef SimpleDataObjectDecorator< PixelType > itk::MaskedStatisticsImageFilter< TInputImage, TMaskImage >::PixelObjectType |
Definition at line 86 of file itkMaskedStatisticsImageFilter.h.
typedef TInputImage::PixelType itk::MaskedStatisticsImageFilter< TInputImage, TMaskImage >::PixelType |
Definition at line 72 of file itkMaskedStatisticsImageFilter.h.
typedef SmartPointer< Self > itk::MaskedStatisticsImageFilter< TInputImage, TMaskImage >::Pointer |
Definition at line 56 of file itkMaskedStatisticsImageFilter.h.
typedef SimpleDataObjectDecorator< RealType > itk::MaskedStatisticsImageFilter< TInputImage, TMaskImage >::RealObjectType |
Type of DataObjects used for scalar outputs
Definition at line 85 of file itkMaskedStatisticsImageFilter.h.
typedef NumericTraits< PixelType >::RealType itk::MaskedStatisticsImageFilter< TInputImage, TMaskImage >::RealType |
Type to use for computations.
Definition at line 79 of file itkMaskedStatisticsImageFilter.h.
typedef TInputImage::RegionType itk::MaskedStatisticsImageFilter< TInputImage, TMaskImage >::RegionType |
Definition at line 69 of file itkMaskedStatisticsImageFilter.h.
typedef MaskedStatisticsImageFilter itk::MaskedStatisticsImageFilter< TInputImage, TMaskImage >::Self |
Standard Self typedef
Definition at line 54 of file itkMaskedStatisticsImageFilter.h.
typedef TInputImage::SizeType itk::MaskedStatisticsImageFilter< TInputImage, TMaskImage >::SizeType |
Definition at line 70 of file itkMaskedStatisticsImageFilter.h.
typedef ImageToImageFilter< TInputImage, TInputImage > itk::MaskedStatisticsImageFilter< TInputImage, TMaskImage >::Superclass |
Definition at line 55 of file itkMaskedStatisticsImageFilter.h.
|
protected |
|
inlineoverrideprotected |
Definition at line 152 of file itkMaskedStatisticsImageFilter.h.
|
overrideprotected |
Do final mean and variance computation from data accumulated in threads.
|
overrideprotected |
Pass the input through unmodified. Do this by Grafting in the AllocateOutputs method.
|
overrideprotected |
Initialize some accumulators before the threads run.
|
overrideprotected |
|
overrideprotected |
|
virtual |
Runtime information support.
|
virtual |
|
inline |
Return the computed Maximum.
Definition at line 100 of file itkMaskedStatisticsImageFilter.h.
References itk::MaskedStatisticsImageFilter< TInputImage, TMaskImage >::GetMaximumOutput().
PixelObjectType* itk::MaskedStatisticsImageFilter< TInputImage, TMaskImage >::GetMaximumOutput | ( | ) |
const PixelObjectType* itk::MaskedStatisticsImageFilter< TInputImage, TMaskImage >::GetMaximumOutput | ( | ) | const |
|
inline |
Return the computed Mean.
Definition at line 107 of file itkMaskedStatisticsImageFilter.h.
References itk::MaskedStatisticsImageFilter< TInputImage, TMaskImage >::GetMeanOutput().
RealObjectType* itk::MaskedStatisticsImageFilter< TInputImage, TMaskImage >::GetMeanOutput | ( | ) |
const RealObjectType* itk::MaskedStatisticsImageFilter< TInputImage, TMaskImage >::GetMeanOutput | ( | ) | const |
|
inline |
Return the computed Minimum.
Definition at line 93 of file itkMaskedStatisticsImageFilter.h.
References itk::MaskedStatisticsImageFilter< TInputImage, TMaskImage >::GetMinimumOutput().
PixelObjectType* itk::MaskedStatisticsImageFilter< TInputImage, TMaskImage >::GetMinimumOutput | ( | ) |
const PixelObjectType* itk::MaskedStatisticsImageFilter< TInputImage, TMaskImage >::GetMinimumOutput | ( | ) | const |
|
inline |
Return the computed Standard Deviation.
Definition at line 114 of file itkMaskedStatisticsImageFilter.h.
References itk::MaskedStatisticsImageFilter< TInputImage, TMaskImage >::GetSigmaOutput().
RealObjectType* itk::MaskedStatisticsImageFilter< TInputImage, TMaskImage >::GetSigmaOutput | ( | ) |
const RealObjectType* itk::MaskedStatisticsImageFilter< TInputImage, TMaskImage >::GetSigmaOutput | ( | ) | const |
|
inline |
Return the compute Sum.
Definition at line 128 of file itkMaskedStatisticsImageFilter.h.
References itk::MaskedStatisticsImageFilter< TInputImage, TMaskImage >::GetSumOutput().
RealObjectType* itk::MaskedStatisticsImageFilter< TInputImage, TMaskImage >::GetSumOutput | ( | ) |
const RealObjectType* itk::MaskedStatisticsImageFilter< TInputImage, TMaskImage >::GetSumOutput | ( | ) | const |
|
inline |
Return the computed Variance.
Definition at line 121 of file itkMaskedStatisticsImageFilter.h.
References itk::MaskedStatisticsImageFilter< TInputImage, TMaskImage >::GetVarianceOutput().
RealObjectType* itk::MaskedStatisticsImageFilter< TInputImage, TMaskImage >::GetVarianceOutput | ( | ) |
const RealObjectType* itk::MaskedStatisticsImageFilter< TInputImage, TMaskImage >::GetVarianceOutput | ( | ) | const |
itk::MaskedStatisticsImageFilter< TInputImage, TMaskImage >::itkStaticConstMacro | ( | ImageDimension | , |
unsigned int | , | ||
TInputImage::ImageDimension | |||
) |
Image related typedefs.
|
override |
|
static |
Method for creation through the object factory.
|
overrideprotected |
|
virtual |
|
overrideprotected |
Multi-thread version GenerateData.