Page MenuHomePhabricator

Number of bins of the histogram in the statistics view is fix defined
Closed, ResolvedPublic

Description

The number of bins of the histogram in the statistics view is fix defined to 768. In some images, the difference between the min and max gray value is less than 768 bins, which results in an useless-resolution histogram (especially if values are copied by "Copy to Clipboard" to Excel).

The number of histogram bins should be set variable for each image. For example: initialize the number of histogram bins with the difference between the min and max gray value of the image and add a slider to reduce the number of bins by a factor x e.g. for images with a high gray value difference.

Event Timeline

User wald has pushed new remote branch:

bug-17525-SetNumberOfHistogramBins

User metzger has pushed new remote branch:

bug-17525-SetNumberOfHistogramBinsIntegration

[a8c2d3]: Merge branch 'bug-17525-SetNumberOfHistogramBinsIntegration'

Merged commits:

2014-04-28 13:30:59 Jasmin Metzger [7d051b]
Merge branch 'bug-17525-SetNumberOfHistogramBins' into bug-17525-SetNumberOfHistogramBinsIntegration
Conflicts in StatisticsCalculationThread.cpp


2014-03-31 18:25:27 Diana Wald [c5e85d]
Set number of histogram bins variable for each input image

Add QSlider to GUI to reduce number of histogram bins by factor 1 to 5.