Medical Imaging Interaction Toolkit
2024.06.00
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
13 #ifndef mitkStatisticsImageFilter_h
14 #define mitkStatisticsImageFilter_h
21 #include <itkCompensatedSummation.h>
22 #include <itkHistogram.h>
23 #include <itkImageSink.h>
24 #include <itkNumericTraits.h>
25 #include <itkSimpleDataObjectDecorator.h>
31 template <
typename TInputImage>
40 itkFactorylessNewMacro(
Self);
47 using RealType =
typename itk::NumericTraits<PixelType>::RealType;
82 using Superclass::MakeOutput;
113 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
118 bool m_ComputeHistogram;
119 unsigned int m_HistogramSize;
124 itk::CompensatedSummation<RealType> m_Sum;
125 itk::CompensatedSummation<RealType> m_SumOfPositivePixels;
126 itk::CompensatedSummation<RealType> m_SumOfSquares;
127 itk::CompensatedSummation<RealType> m_SumOfCubes;
128 itk::CompensatedSummation<RealType> m_SumOfQuadruples;
130 itk::SizeValueType m_Count;
131 itk::SizeValueType m_CountOfPositivePixels;
139 #ifndef ITK_MANUAL_INSTANTIATION
140 #include <mitkStatisticsImageFilter.hxx>
itk::ImageSink< TInputImage > Superclass
void BeforeStreamedGenerateData() override
void SetHistogramParameters(unsigned int size, RealType lowerBound, RealType upperBound)
typename TInputImage::PixelType PixelType
itkSetDecoratedOutputMacro(Minimum, PixelType)
void PrintSelf(std::ostream &os, itk::Indent indent) const override
Find image slices visible on a given plane.
typename itk::Statistics::Histogram< RealType > HistogramType
itk::ProcessObject::DataObjectIdentifierType DataObjectIdentifierType
void ThreadedStreamedGenerateData(const RegionType &) override
typename TInputImage::RegionType RegionType
typename itk::DataObject::Pointer DataObjectPointer
typename itk::NumericTraits< PixelType >::RealType RealType
DataObjectPointer MakeOutput(const DataObjectIdentifierType &name) override
SimpleDataObjectDecorator< RealType > RealObjectType
itk::ProcessObject ProcessObject
SimpleDataObjectDecorator< PixelType > PixelObjectType
void AfterStreamedGenerateData() override
itk::SimpleDataObjectDecorator< T > SimpleDataObjectDecorator
itkGetDecoratedOutputMacro(Minimum, PixelType)