On Friday 06 May 2016 11:10:16 you wrote:
> Hello,
>
> I am trying to reduce the threshold of multiple microscope images by using
> the following script:
>
> run("Invert");
> run("8-bit");
> setThreshold(0, 162, "black & white");
> run("Measure");
>
> however, the function only converts the images to black and white and have
> not adjusted the threshold. How can I change the code to set my desired
> threshold?
You are specifying to show as B&W (the image is not converted to B&W, only
shown in that LUT.
Try this instead:
setThreshold(0, 162, "Red");
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html