how to apply theshholds ot image
Posted by
Aryeh Weiss on
URL: http://imagej.273.s1.nabble.com/how-to-apply-theshholds-ot-image-tp5019448.html
After I run:
ip.setThreshold(stats.mean-multiplier*stats.stdDev,
2**imp.getBitDepth(), ImageProcessor.RED_LUT)
I have the thresholds associated with the image. I even see the correct
overlay.
However, I cannot figure how to apply these thresholds to the image in
order to create a binary image.
IJ.run(imp, "Convert to Mask", " background=Dark black")
applies one of the automatic threshholding methods, (even though I
removed that option from the argument list).
I tried also, ip.setBinaryThreshold(), but it does not appear to do what
I want (I am not quite sure what it does)
How are thresholds used to create a binary image?
Thanks again in advance
--aryeh
--
Aryeh Weiss
Faculty of Engineering
Bar Ilan University
Ramat Gan 52900 Israel
Ph: 972-3-5317638
FAX: 972-3-7384051
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html