Page MenuHomePhabricator

ImageStatisticsCalculator has hard coded histogram boundaries
Closed, ResolvedPublic


In mitk::ImageStatisticsCalculator the histogram calculation is currently limited to fixed boundaries which are set according to Houndsfieldscale from -1024 to 2048.

This is bad for different reasons:

  • some Images may have pixelvalues outside of the boundaries
  • the image statistics plugin shows correct range in its table view but drawn histogram is limited to the boundaries.

Propose solution: Histogram boundaries should at least correspond to images min and max values.

Event Timeline

[fd702e]: Merge branch 'bug-13171-hardCodedHistogramBoundaries'

Merged commits:

2012-09-20 13:40:11 Moritz Petry [636a30]
Fixed hard coded histogram boundaries

Boundaries are now set according to image min max