Excluding overexposured pixel from auto thresholding

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

Excluding overexposured pixel from auto thresholding

pang
Dear ImageJ colleagues,


Is there any way to exclude some pixels with over-exposed (for example, any pixel greater than 4000 for 12-bit camera) before applying OTSU autothresholding?  Any suggestion is highly appreciated.

I tried to avoid using create selection and then restore selection, but if it is the only method, I think I will have to use it.

Thanks,

Zhengyu
Zhengyu Pang, Ph.D.
Biochemistry and Bioanalytics Laboratory Life Sciences and Molecular Diagnostics Technology Organization Diagnostics and Biomedical Technologies GE Global Research, K1-5B37A One Research Circle Niskayuna, NY 12309
T: 518-387-4015
F: 518-387-7765

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

Re: Excluding overexposured pixel from auto thresholding

Gabriel Landini
On Monday 16 Sep 2013 20:32:22 Pang, Zhengyu wrote:
> Is there any way to exclude some pixels with over-exposed (for example, any
> pixel greater than 4000 for 12-bit camera) before applying OTSU
> autothresholding?  Any suggestion is highly appreciated.

Yes, there is.
Convert the range of values that you do not want included in the computation
to either white or black, and see "Ignore black" and "Ignore white" in the
original version of the the autothreshold plugin:

http://www.dentistry.bham.ac.uk/landinig/software/autothreshold/autothreshold.html

Cheers

Gabriel

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