16 #ifndef __mitkExtendedStatisticsImageFilter_h
17 #define __mitkExtendedStatisticsImageFilter_h
19 #include "itkStatisticsImageFilter.h"
20 #include "itkScalarImageToHistogramGenerator.h"
44 template<
class TInputImage >
45 class ExtendedStatisticsImageFilter :
public StatisticsImageFilter< TInputImage >
53 typedef typename Superclass::RealType
RealType;
57 itkFactorylessNewMacro( Self );
58 itkCloneMacro( Self );
62 typedef itk::Statistics::ScalarImageToHistogramGenerator< TInputImage >
124 const typename HistogramGeneratorType::HistogramType*
163 bool m_HistogramCalculated;
201 #ifndef ITK_MANUAL_INSTANTIATION
202 #include "mitkExtendedStatisticsImageFilter.hxx"
itk::Statistics::ScalarImageToHistogramGenerator< TInputImage > HistogramGeneratorType
RealObjectType * GetMedianOutput()
const HistogramGeneratorType::HistogramType * GetHistogram()
Return the computed Histogram.
void SetBinSize(int size)
Set the Binsize for the Histogram.
SmartPointer< const Self > ConstPointer
itk::SmartPointer< Self > Pointer
ExtendedStatisticsImageFilter()
double GetUPP() const
Return the computed UPP.
double GetEntropy() const
Return the computed Entropy.
double GetUniformity() const
Return the computed Uniformity.
RealObjectType * GetEntropyOutput()
RealObjectType * GetSkewnessOutput()
void AfterThreadedGenerateData()
RealObjectType * GetUniformityOutput()
RealObjectType * GetUPPOutput()
void ComputeEntropyUniformityMedianAndUPP()
SmartPointer< Self > Pointer
virtual ~ExtendedStatisticsImageFilter()
double GetMedian() const
Return the computed Median.
Superclass::RealObjectType RealObjectType
Superclass::RealType RealType
RealObjectType * GetKurtosisOutput()
HistogramGeneratorType::Pointer m_HistogramGenerator
Histogram.
virtual DataObject::Pointer MakeOutput(ProcessObject::DataObjectPointerArraySizeType idx)
RealObjectType * GetMPPOutput()
Extension of the itkStatisticsImageFilter that also calculates the Skewness and Kurtosis.
double GetKurtosis() const
Return the computed Kurtosis.
void CalculateHistogram()
void ComputeSkewnessKurtosisAndMPP()
Compute Entropy,uniformity,MPP,UPP, Median.
ExtendedStatisticsImageFilter Self
StatisticsImageFilter< TInputImage > Superclass
Superclass::PixelType PixelType
double GetSkewness() const
Return the computed Skewness.