Login  Register

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

Posted by Gabriel Landini on Aug 26, 2008; 4:39pm
URL: http://imagej.273.s1.nabble.com/Set-Threshold-records-incorrect-values-16bit-images-Ubuntu-tp3695217p3695248.html

On Tuesday 26 August 2008, Ghislain Bugnicourt wrote:
> I meet the same problem using four java versions :  the one joined with
> ImageJ, sun's java 1.6.0_05, but also sun's 1.6.0_06 and 1.6.0_07, and
> finally the open source version, openjdk 1.6.0_0.
> Nevertheless, it doesn't show that it is not a java problem. :)
> I repeat (for those who are discovering this thread) that I found the bug
> on Ubuntu 8.04 and on an old version of Debian, NOT on Windows and Mac OS
> x.

I have installed 1.6.0_07 (suse 11.0)
I can load the m51.tif, I can set the threshold to any numbers I type.

setThreshold(444, 1000);
setThreshold(445, 1000);
setThreshold(445, 1014);
setThreshold(446, 1015);

> When I said 'numbers not available with the scrollbars', I didn't mean
> outside the scale. I just meant : between the values that 'threshold' is
> proposing.

I do not see that either. I can put 359 as min (and the jump between
scrollable points are 357 and 396).

> What you described is not a bug, I agree with you.
> I upload a typical image :  http://n2.nabble.com/file/n784535/FA1-YL.tif
> FA1-YL.tif
> On this image, please try to 'set' the lower threshold value to 107, and
> the upper to 500, for instance. On my computer, it works about 5 times out
> of 10. But I insist on this fact : sometimes it seems to work more than 10
> times ! And the problem occurs in series.

I do not see that either. I can set it to 100-500 with the ij.jar 1.41k
the recorded shows setThreshold(107, 500); and so does the Threshol window.

Regards

G.