13 #ifndef mitkSimpleUnstructuredGridHistogram_h
14 #define mitkSimpleUnstructuredGridHistogram_h
20 #include <itkListSample.h>
29 double GetMin()
const override;
30 double GetMax()
const override;
32 void ComputeFromBaseData(
BaseData *source)
override;
33 float GetRelativeBin(
double start,
double end)
const override;
36 typedef double MeasurementType;
37 typedef itk::Vector<MeasurementType, 1> MeasurementVectorType;
38 typedef itk::Statistics::ListSample<MeasurementVectorType> ListSampleType;
40 typedef itk::Statistics::Histogram<MeasurementType> HistogramType;
42 HistogramType::ConstPointer m_UGHistogram;
46 HistogramType::BinMinContainerType m_Mins;
47 HistogramType::BinMaxContainerType m_Maxs;
49 double m_InvMaxFrequency;