Page MenuHomePhabricator | MITK

Image Statistics plugin: histogram bin size for images with small intensity differences
Closed, InvalidPublic


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)

Event Timeline

hentsch created this task.Sep 25 2017, 1:47 PM
hentsch claimed this task.Sep 27 2017, 9:59 AM

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);
hentsch removed hentsch as the assignee of this task.Sep 27 2017, 4:33 PM
hentsch closed this task as Invalid.Jan 18 2018, 10:31 AM

obsolete after T24012 (nBins instead of bin size)