Load image with outliers into MITK. E.g. the image located in the folder in the next comment. This image contains values between 1 and 100 + some outliers in the millions.
Naturally, one would like to see the histogram between 0 - 100 with bins of size 1. However. When selecting bin size 1, MITK crashes, probably due to memory restrictions.
Two options:
- Create a sparse histogram, since where are only some outliers not every bin really needs to be created.
- At least alert the user that he (or she) should remove the outliers before calculating the histogram.