18 #ifndef itkStatisticsImageFilter_h
19 #define itkStatisticsImageFilter_h
48 template<
typename TInputImage >
74 itkStaticConstMacro(ImageDimension,
unsigned int,
75 TInputImage::ImageDimension);
89 {
return this->GetMinimumOutput()->Get(); }
90 PixelObjectType * GetMinimumOutput();
93 const PixelObjectType * GetMinimumOutput()
const;
97 {
return this->GetMaximumOutput()->Get(); }
98 PixelObjectType * GetMaximumOutput();
101 const PixelObjectType * GetMaximumOutput()
const;
105 {
return this->GetMeanOutput()->Get(); }
106 RealObjectType * GetMeanOutput();
109 const RealObjectType * GetMeanOutput()
const;
113 {
return this->GetSigmaOutput()->Get(); }
114 RealObjectType * GetSigmaOutput();
117 const RealObjectType * GetSigmaOutput()
const;
121 {
return this->GetVarianceOutput()->Get(); }
122 RealObjectType * GetVarianceOutput();
125 const RealObjectType * GetVarianceOutput()
const;
129 {
return this->GetSumOutput()->Get(); }
130 RealObjectType * GetSumOutput();
133 const RealObjectType * GetSumOutput()
const;
138 using Superclass::MakeOutput;
141 #ifdef ITK_USE_CONCEPT_CHECKING
151 void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
156 void AllocateOutputs() ITK_OVERRIDE;
159 void BeforeThreadedGenerateData() ITK_OVERRIDE;
163 void AfterThreadedGenerateData() ITK_OVERRIDE;
166 void ThreadedGenerateData(const RegionType &
167 outputRegionForThread,
171 void GenerateInputRequestedRegion() ITK_OVERRIDE;
174 void EnlargeOutputRequestedRegion(
DataObject *data) ITK_OVERRIDE;
187 #ifndef ITK_MANUAL_INSTANTIATION
188 #include "itkStatisticsImageFilter.hxx"
Array class with size defined at construction time.
TInputImage::Pointer InputImagePointer
~StatisticsImageFilter() override
Light weight base class for most itk classes.
DataObject::Pointer DataObjectPointer
SmartPointer< Self > Pointer
PixelType GetMaximum() const
NumericTraits< PixelType >::RealType RealType
unsigned long SizeValueType
PixelType GetMinimum() const
TInputImage::PixelType PixelType
SimpleDataObjectDecorator< RealType > RealObjectType
Decorates any "simple" data type (data types without smart pointers) with a DataObject API...
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
RealType GetVariance() const
Compute min. max, variance and mean of an Image.
TInputImage::IndexType IndexType
unsigned int ThreadIdType
ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
SmartPointer< const Self > ConstPointer
TInputImage::RegionType RegionType
SimpleDataObjectDecorator< PixelType > PixelObjectType
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
StatisticsImageFilter Self
TInputImage::SizeType SizeType
ImageBaseType::SizeType SizeType
RealType GetSigma() const
Define additional traits for native types such as int or float.
ImageToImageFilter< TInputImage, TInputImage > Superclass
#define itkConceptMacro(name, concept)
Base class for all data objects in ITK.
ImageBaseType::IndexType IndexType