Re: "Set Threshold" records incorrect values - 16bit images - Ubuntu
Posted by
Ghislain Bugnicourt on
Aug 27, 2008; 6:47pm
URL: http://imagej.273.s1.nabble.com/Set-Threshold-records-incorrect-values-16bit-images-Ubuntu-tp3695217p3695224.html
I tried to understand what happens to these numbers. So, I show you 3 typical results :
doSet1: 107.0 500.0
doSet2: 107.0 500.0
doSet3: 8.6 155.08771929824562 84.0 768.0
doSet4: 107.0 500.0
-- This first time, the threshold works correctly. Like on Wayne's example. Final min/max : 107/500
doSet1: 107.0 500.0
doSet2: 107.0 500.0
doSet3: 8.6 155.08771929824562 84.0 768.0
doSet4: 107.0 500.0
-- This second time, I witnessed the bug ! Final min/max : 9/155, that is to say the 2 first numbers of line 3.
-- It may be surprising since these 4 lines are strictly identical to the 4 above.
-- Moreover, the result was the same as in my previous post, even if the fourth line is different !
-- I'm going crazy because I don't manage to get the same fourth line as in this previous post.
doSet1: 9.0 155.0
doSet2: 9.0 155.0
doSet3: 0.0 26.469298245614034 84.0 768.0
doSet4: 84.0 155.0
-- This time, I click 'set' and 'ok' without changing the values (which are the previous result : 9/155).
-- And the result is amazing : 84/155 ; the fourth line this time.
Wayne wrote
This is the output I always get, with your FA1-YL.tif example image,
when I click on the "Set" button in the plugin and then "OK" in the
dialog.
doSet1: 97.0 768.0
doSet2: 97.0 768.0
doSet3: 4.8 255.0 84.0 768.0
doSet4: 97.0 768.0
-wayne
Perhaps you're awaiting the lines I obtain with 97/768 instead of 107/500. Here they are :
doSet1: 97.0 768.0
doSet2: 97.0 768.0
doSet3: 4.8 255.0 84.0 768.0
doSet4: 97.0 768.0
-- Really like with 107/500 : these 4 lines are displayed whether there is a bug or not.