17 #ifndef MITKSIMPLEUNSTRUCTUREDGRIDHISTOGRAM_H
18 #define MITKSIMPLEUNSTRUCTUREDGRIDHISTOGRAM_H
24 #include <itkListSample.h>
33 virtual double GetMin()
const override;
34 virtual double GetMax()
const override;
36 virtual void ComputeFromBaseData(
BaseData *source)
override;
37 virtual float GetRelativeBin(
double start,
double end)
const override;
40 typedef double MeasurementType;
41 typedef itk::Vector<MeasurementType, 1> MeasurementVectorType;
42 typedef itk::Statistics::ListSample<MeasurementVectorType> ListSampleType;
44 typedef itk::Statistics::Histogram<MeasurementType> HistogramType;
50 HistogramType::BinMinContainerType m_Mins;
51 HistogramType::BinMaxContainerType m_Maxs;
53 double m_InvMaxFrequency;
58 #endif // MITKSIMPLEUNSTRUCTUREDGRIDHISTOGRAM_H
Base of all data objects.
DataCollection - Class to facilitate loading/accessing structured data.
itk::SmartPointer< const Self > ConstPointer
#define MITKALGORITHMSEXT_EXPORT
Abstract superclass for histograms with double values. Classes which are deriving from this class can...