imagej / imagej2

Open scientific N-dimensional image processing :microscope: :sparkler:
https://imagej.net/
BSD 2-Clause "Simplified" License
1.2k stars 337 forks source link

Thresholding broken in ij52b.jar #202

Closed cortig closed 6 years ago

cortig commented 6 years ago

If I open an image in ij52b.jar and use Adjust > Threshold, I get the thresholding pane. I can make all the adjustments I want on the sliders, but when I hit Apply, the thresholding changes to a completely different value (with a minimum value much lower than what I had selected). The value seems to be always the same, regardless of what adjustments I had made with the sliders.

That seems to be new to this build. I never experienced it before. I was able to revert to ij1.51w which did not exhibit this issue: the applied threshold corresponds to what was selected in the thresholding sliders and previewed on the image.

ctrueden commented 6 years ago

/cc @rasband

rasband commented 6 years ago

This regression is fixed in the latest ImageJ daily build (1.52c14).

imagejan commented 6 years ago

The relevant git commit is https://github.com/imagej/imagej1/commit/5e469b132848cec88435f0e98f22814be614a3b9.

See also this forum discussion that might be related.