Login  Register

Re: "Set Threshold" records incorrect values - 16bit images - Ubuntu

Posted by Ghislain Bugnicourt on Aug 27, 2008; 5:53pm
URL: http://imagej.273.s1.nabble.com/Set-Threshold-records-incorrect-values-16bit-images-Ubuntu-tp3695217p3695223.html

Very interesting...
Here is what I obtain from a plugin sent by Wayne (when the image is actually modified by the bug).
doSet1: 107.0   500.0
doSet2: 107.0   500.0
doSet3: 8.6   26.502000615574023   84.0   768.0
doSet4: 9.0   155.0

And here is what he obtained on the same image :
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

I'm not sure all the people following the tread recieved this plugin, so I upload it : Threshold_Adjuster.java
The four IJ.log() are located in the "doSet" function.
Here is the key. But I still don't understand. :)