Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::HistogramStatisticsCalculator Class Reference

Computes basic histogram statistics such as Uniformity, UPP (Uniformity of positive entries), Entropy and Median (approximation) More...

#include <mitkHistogramStatisticsCalculator.h>

Public Types

typedef double MeasurementType
 
typedef itk::Statistics::Histogram< MeasurementTypeHistogramType
 

Public Member Functions

 HistogramStatisticsCalculator ()
 
void SetHistogram (HistogramType::Pointer histogram)
 SetHistogram requires a itk::Statistics::Histogram<double> More...
 
MeasurementType GetUPP ()
 
MeasurementType GetUniformity ()
 
MeasurementType GetEntropy ()
 
MeasurementType GetMedian ()
 
void CalculateStatistics ()
 calculate statistics More...
 

Detailed Description

Computes basic histogram statistics such as Uniformity, UPP (Uniformity of positive entries), Entropy and Median (approximation)

Definition at line 14 of file mitkHistogramStatisticsCalculator.h.

Member Typedef Documentation

Definition at line 18 of file mitkHistogramStatisticsCalculator.h.

Constructor & Destructor Documentation

mitk::HistogramStatisticsCalculator::HistogramStatisticsCalculator ( )

Definition at line 6 of file mitkHistogramStatisticsCalculator.cpp.

Member Function Documentation

void mitk::HistogramStatisticsCalculator::CalculateStatistics ( )

calculate statistics

Definition at line 61 of file mitkHistogramStatisticsCalculator.cpp.

Referenced by GetEntropy(), GetMedian(), GetUniformity(), and GetUPP().

HistogramStatisticsCalculator::MeasurementType mitk::HistogramStatisticsCalculator::GetEntropy ( )

Definition at line 21 of file mitkHistogramStatisticsCalculator.cpp.

References CalculateStatistics(), and MITK_WARN.

HistogramStatisticsCalculator::MeasurementType mitk::HistogramStatisticsCalculator::GetMedian ( )

Definition at line 31 of file mitkHistogramStatisticsCalculator.cpp.

References CalculateStatistics(), and MITK_WARN.

HistogramStatisticsCalculator::MeasurementType mitk::HistogramStatisticsCalculator::GetUniformity ( )

Definition at line 41 of file mitkHistogramStatisticsCalculator.cpp.

References CalculateStatistics(), and MITK_WARN.

HistogramStatisticsCalculator::MeasurementType mitk::HistogramStatisticsCalculator::GetUPP ( )

Definition at line 51 of file mitkHistogramStatisticsCalculator.cpp.

References CalculateStatistics(), and MITK_WARN.

void mitk::HistogramStatisticsCalculator::SetHistogram ( HistogramType::Pointer  histogram)

SetHistogram requires a itk::Statistics::Histogram<double>

Definition at line 12 of file mitkHistogramStatisticsCalculator.cpp.


The documentation for this class was generated from the following files: