13 #ifndef mitkImageStatisticsCalculator_h
14 #define mitkImageStatisticsCalculator_h
57 void SetNBinsForHistogramStatistics(
unsigned int nBins);
62 unsigned int GetNBinsForHistogramStatistics()
const;
66 void SetBinSizeForHistogramStatistics(
double binSize);
71 double GetBinSizeForHistogramStatistics()
const;
80 m_nBinsForHistogramStatistics = 100;
81 m_binSizeForHistogramStatistics = 10;
82 m_UseBinSizeOverNBins =
false;
88 template <
typename TPixel,
unsigned int VImageDimension >
89 void InternalCalculateStatisticsUnmasked(
const itk::Image< TPixel, VImageDimension >* image,
TimeStepType timeStep);
91 template <
typename TPixel,
unsigned int VImageDimension >
92 void InternalCalculateStatisticsMasked(
const itk::Image< TPixel, VImageDimension >* image,
TimeStepType timeStep);
94 template <
typename TPixel,
unsigned int VImageDimension >
95 double GetVoxelVolume(
const itk::Image<TPixel, VImageDimension>* image)
const;
97 bool IsUpdateRequired()
const;
103 mitk::MaskGenerator::Pointer m_MaskGenerator;
106 mitk::MaskGenerator::Pointer m_SecondaryMaskGenerator;
109 unsigned int m_nBinsForHistogramStatistics;
110 double m_binSizeForHistogramStatistics;
111 bool m_UseBinSizeOverNBins;