Login  Register

Re: Threshold ... why does it not work exactly ?

Posted by Michael Schmid on Nov 29, 2010; 6:00pm
URL: http://imagej.273.s1.nabble.com/Threshold-why-does-it-not-work-exactly-tp3686312p3686313.html

Hi Bal,

your observation is correct, the colors do not exactly reflect the  
threshold settings with full accuracy of 16-bit or float images.

The reason:
The displayed image has only 8 bits of resolution, and the red  
display is simply done by updating the lookup table, which is very  
fast (this was especially important in the early times of ImageJ),  
but has only 8 bits of precision.

An accurate solution would be clearly desired these days of fast  
computers, but it would require quite some effort to make it work.

So far my view of the problem, others might disagree...

Michael
________________________________________________________________

On 29 Nov 2010, at 18:08, Bal Sanghera wrote:

> Hi All
>
> Sorry a little new to this ......
>
> When I use ImageJ: Adjust: Threshold on 16-bit medical image volume  
> dataset and set the threshold to a specific upper and lower limit  
> value (when set to default and red or b/w in the tabs) it appears  
> the actual thresholding is not based exactly on the exact limits I  
> have set but appear to be based on a wider range than the ones I  
> have set.
>
> Should the simple threshold be based just on my upper and lower  
> limits as I input ?
>
> Please let me know if I am doing this wrong.
>
> kind regards
> bal