Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Threshold dialog exhibits roundoff errs #16
The min and max values in the threshold dialog can be manipulated with the dark background button. When you do so the min/max cutoffs are succeptible to rounding issues due to calculating from bottom..cutoff and cutoff+1 .. top. The +1 here is done before scaling. The real effect is likely a nonissue but it looks bad. Perhaps when the image is of integral type the min/max values should always be rounded to integers.