18 #ifndef itkStatisticsImageFilter_h
19 #define itkStatisticsImageFilter_h
53 template<
typename TInputImage >
81 static constexpr
unsigned int ImageDimension = TInputImage::ImageDimension;
95 {
return this->GetMinimumOutput()->Get(); }
96 PixelObjectType * GetMinimumOutput();
99 const PixelObjectType * GetMinimumOutput()
const;
103 {
return this->GetMaximumOutput()->Get(); }
104 PixelObjectType * GetMaximumOutput();
107 const PixelObjectType * GetMaximumOutput()
const;
111 {
return this->GetMeanOutput()->Get(); }
112 RealObjectType * GetMeanOutput();
115 const RealObjectType * GetMeanOutput()
const;
119 {
return this->GetSigmaOutput()->Get(); }
120 RealObjectType * GetSigmaOutput();
123 const RealObjectType * GetSigmaOutput()
const;
127 {
return this->GetVarianceOutput()->Get(); }
128 RealObjectType * GetVarianceOutput();
131 const RealObjectType * GetVarianceOutput()
const;
135 {
return this->GetSumOutput()->Get(); }
136 RealObjectType * GetSumOutput();
139 const RealObjectType * GetSumOutput()
const;
143 {
return this->GetSumOfSquaresOutput()->Get(); }
144 RealObjectType * GetSumOfSquaresOutput();
147 const RealObjectType * GetSumOfSquaresOutput()
const;
152 using Superclass::MakeOutput;
155 #ifdef ITK_USE_CONCEPT_CHECKING
165 void PrintSelf(std::ostream & os,
Indent indent)
const override;
170 void AllocateOutputs()
override;
173 void BeforeThreadedGenerateData()
override;
177 void AfterThreadedGenerateData()
override;
179 void DynamicThreadedGenerateData(
const RegionType &)
override;
182 void GenerateInputRequestedRegion()
override;
185 void EnlargeOutputRequestedRegion(
DataObject *data)
override;
199 #ifndef ITK_MANUAL_INSTANTIATION
200 #include "itkStatisticsImageFilter.hxx"
Light weight base class for most itk classes.
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
Define numeric traits for std::vector.
unsigned long SizeValueType
PixelType GetMaximum() const
typename TInputImage::IndexType IndexType
PixelType GetMinimum() const
typename NumericTraits< PixelType >::RealType RealType
typename TInputImage::Pointer InputImagePointer
typename TInputImage::PixelType PixelType
typename TInputImage::RegionType RegionType
Decorates any "simple" data type (data types without smart pointers) with a DataObject API...
ImageBaseType::SizeType SizeType
RealType GetVariance() const
Compute min, max, variance and mean of an Image.
ImageBaseType::IndexType IndexType
CompensatedSummation< RealType > m_SumOfSquares
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
RealType GetSumOfSquares() const
RealType GetSigma() const
typename TInputImage::SizeType SizeType
ImageBaseType::RegionType RegionType
SmartPointer< Self > Pointer
#define itkConceptMacro(name, concept)
CompensatedSummation< RealType > m_ThreadSum
Base class for all data objects in ITK.