simple question about tresholding

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

simple question about tresholding

Leoncio Vergara
I am trying to do some intensity measurements using thresholding to exclude over and under saturated pixels on 16 bit images (0 and 65535 respectively). Whet I set the values to 1 and 65534, but they get reset to 0 and 65535. The min and max values within the mages are higher and lower than those limits respectively. Why is this happening? How can I can I do this correctly?

Thanks in advance for your help

Leo

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: simple question about tresholding

Cammer, Michael-2
I bet there is a better way to do this, but I think this would solve the problem via a macro:

run("32-bit");
changeValues(0,0,NaN);
changeValues(65535,65535,NaN);

Cheers-
Michael Cammer

-----Original Message-----
From: Leoncio Vergara <[hidden email]>
Sent: Thursday, June 6, 2019 6:17 PM
To: [hidden email]
Subject: simple question about tresholding

I am trying to do some intensity measurements using thresholding to exclude over and under saturated pixels on 16 bit images (0 and 65535 respectively). Whet I set the values to 1 and 65534, but they get reset to 0 and 65535. The min and max values within the mages are higher and lower than those limits respectively. Why is this happening? How can I can I do this correctly?

Thanks in advance for your help

Leo

--
ImageJ mailing list: https://urldefense.proofpoint.com/v2/url?u=http-3A__imagej.nih.gov_ij_list.html&d=DwIFaQ&c=j5oPpO0eBH1iio48DtsedeElZfc04rx3ExJHeIIZuCs&r=E0xNnPAQpUbDiPlC50tp7rW2nBkvV7fujQf0RknE5bU&m=OcAb0VRqC7HsmJAM6VxyVAFIqMovrL8LAXOogdNX4-k&s=ua4KZRuc56pP1g99UvhGVAIO-1-g5mrKNAq7ZYfBiRI&e=

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html