13 #ifndef HISTOGRAM_GENERATOR_H_HEADER_INCLUDED 14 #define HISTOGRAM_GENERATOR_H_HEADER_INCLUDED 17 #include <itkHistogram.h> 19 #include <itkObject.h> 31 itkFactorylessNewMacro(
Self);
36 itkSetMacro(Size,
int);
37 itkGetConstMacro(Size,
int);
38 itkGetConstObjectMacro(Histogram, HistogramType);
41 void ComputeHistogram();
42 float GetMaximumFrequency()
const;
43 static float CalculateMaximumFrequency(
const HistogramType *histogram);
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
mitk::Image::ConstPointer m_Image
Provides an easy way to calculate an itk::Histogram for a mitk::Image.