Login  Register

Re: Adjust threshold LUT

Posted by Rocco D'Antuono on Feb 20, 2014; 1:19pm
URL: http://imagej.273.s1.nabble.com/Adjust-threshold-LUT-tp3694674p5006599.html

Hi, is possible set a display mode as default?
I mean, if you execute the following lines:

setThreshold(120,255,"over/under");
run("Threshold...");

a threshold is correctly applied with "over/under" display mode, with the correct value range, but when you want to modify the values (clicking on "Threshold" window), the display mode change to the latest used one;
why IJ doesn't keep "over/under" (as I set in the first line of code)?

Thanks,
Rocco
Senior Microscopist
Crick Advanced Light Microscopy facility (CALM)
The Francis Crick Institute
1 Midland Road, NW1 1AT, London (UK)
https://roccodant.github.io/