17 #ifndef HISTOGRAM_GENERATOR_H_HEADER_INCLUDED
18 #define HISTOGRAM_GENERATOR_H_HEADER_INCLUDED
21 #include <itkHistogram.h>
23 #include <itkObject.h>
38 itkSetMacro(Size,
int);
39 itkGetConstMacro(Size,
int);
40 itkGetConstObjectMacro(Histogram, HistogramType);
43 void ComputeHistogram();
44 float GetMaximumFrequency() const;
45 static
float CalculateMaximumFrequency(const HistogramType *histogram);
50 virtual ~HistogramGenerator();
52 mitk::Image::ConstPointer m_Image;
54 HistogramType::ConstPointer m_Histogram;
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkClassMacroItkParent(className, SuperClassName)
Image class for storing images.
itk::Statistics::Histogram< double > HistogramType
Provides an easy way to calculate an itk::Histogram for a mitk::Image.