16 #ifndef __mitkExtendedLabelStatisticsImageFilter_h
17 #define __mitkExtendedLabelStatisticsImageFilter_h
19 #include "itkLabelStatisticsImageFilter.h"
38 template<
class TInputImage,
class TLabelImage >
39 class ExtendedLabelStatisticsImageFilter :
public LabelStatisticsImageFilter< TInputImage, TLabelImage >
44 typedef LabelStatisticsImageFilter < TInputImage, TLabelImage >
Superclass;
48 typedef typename Superclass::RealType
RealType;
53 itkFactorylessNewMacro( Self );
54 itkCloneMacro( Self );
90 RealType
GetEntropy( LabelPixelType label)
const;
91 RealType
GetMPP( LabelPixelType label)
const;
92 RealType
GetUPP( LabelPixelType label)
const;
118 CoefficientsMap m_LabelStatisticsCoefficients;
119 std::list< int> m_RelevantLabels;
126 #ifndef ITK_MANUAL_INSTANTIATION
127 #include "mitkExtendedLabelStatisticsImageFilter.hxx"
void AfterThreadedGenerateData()
Superclass::RealType RealType
void CalculateSettingsForLabels()
std::list< int > GetRelevantLabels() const
RealType GetUniformity(LabelPixelType label) const
RealType GetMPP(LabelPixelType label) const
RealType GetUPP(LabelPixelType label) const
Extension of the itkLabelStatisticsImageFilter that also calculates the Skewness,Kurtosis,Entropy,Uniformity.
RealType GetKurtosis(LabelPixelType label) const
virtual ~ExtendedLabelStatisticsImageFilter()
Superclass::PixelType PixelType
Internal class which stores the calculated coefficients Skewness,Kurtosis,Uniformity,UPP,MPP,Entropy.
SmartPointer< const Self > ConstPointer
itk::Statistics::Histogram< double > HistogramType
SmartPointer< Self > Pointer
ExtendedLabelStatisticsImageFilter Self
Superclass::MapIterator MapIterator
bool GetMaskingNonEmpty() const
RealType GetEntropy(LabelPixelType label) const
CoefficientsMap::const_iterator CoefficientsMapConstIterator
Superclass::LabelPixelType LabelPixelType
std::map< LabelPixelType, CoefficientsClass > CoefficientsMap
RealType GetSkewness(LabelPixelType label) const
void ComputeSkewnessKurtosisAndMPP()
ComputeSkewnessKurtosisAndMPP(),ComputeEntropyUniformityAndUPP() will be called after superclass both...
void ComputeEntropyUniformityAndUPP()
ExtendedLabelStatisticsImageFilter()
LabelStatisticsImageFilter< TInputImage, TLabelImage > Superclass