18 #ifndef itkStatisticsImageFilter_h
19 #define itkStatisticsImageFilter_h
54 template <
typename TInputImage>
81 static constexpr
unsigned int ImageDimension = TInputImage::ImageDimension;
94 itkGetDecoratedOutputMacro(Minimum,
PixelType);
97 itkGetDecoratedOutputMacro(Maximum,
PixelType);
100 itkGetDecoratedOutputMacro(Mean,
RealType);
103 itkGetDecoratedOutputMacro(Sigma,
RealType);
106 itkGetDecoratedOutputMacro(Variance,
RealType);
109 itkGetDecoratedOutputMacro(Sum,
RealType);
112 itkGetDecoratedOutputMacro(SumOfSquares,
RealType);
119 Superclass::SetNumberOfStreamDivisions(n);
124 return Superclass::GetNumberOfStreamDivisions();
130 using Superclass::MakeOutput;
134 #ifdef ITK_USE_CONCEPT_CHECKING
144 PrintSelf(std::ostream & os,
Indent indent)
const override;
148 BeforeStreamedGenerateData()
override;
153 AfterStreamedGenerateData()
override;
156 ThreadedStreamedGenerateData(
const RegionType &)
override;
158 itkSetDecoratedOutputMacro(Minimum,
PixelType);
159 itkSetDecoratedOutputMacro(Maximum,
PixelType);
160 itkSetDecoratedOutputMacro(Mean,
RealType);
161 itkSetDecoratedOutputMacro(Sigma,
RealType);
162 itkSetDecoratedOutputMacro(Variance,
RealType);
163 itkSetDecoratedOutputMacro(Sum,
RealType);
164 itkSetDecoratedOutputMacro(SumOfSquares,
RealType);
178 #ifndef ITK_MANUAL_INSTANTIATION
179 # include "itkStatisticsImageFilter.hxx"