For images with small intensity differences (e.g. min 0 max 0.1), the bin size should be adapted to allow more than two decimals in case of:
- double/float image type
- (|max-min|<1)
For images with small intensity differences (e.g. min 0 max 0.1), the bin size should be adapted to allow more than two decimals in case of:
Technically, it works. But at small values for binSize (e.g. .001), MitkWorkbench crashes. Something went wrong in Histogram calculation.
See mitkExtendedStatisticsImageFilter:
if (m_UseHistogram) { histogramMeasurement[0] = value; m_HistogramPerThread[threadId]->GetIndex(histogramMeasurement, histogramIndex); m_HistogramPerThread[threadId]->IncreaseFrequencyOfIndex(histogramIndex, 1); }