How to bring Thresholds window to front?
Posted by vischer on Oct 16, 2009; 6:08pm
URL: http://imagej.273.s1.nabble.com/ImageJ-in-Windows-7-tp3688881p3688884.html
Hi,
I want to ask the user to set the threshold and then proceed by macro
(see below).
However, the thresholds window is hidden behind the image.
SelectWindow("Threshold") didn't help.
Anyone who had this problem?
Norbert Vischer
newImage("demo-1", "8-bit Ramp", 1400, 1200, 1);
run("Threshold...");
waitForUser("Please adjust threshold");
getThreshold(lower, upper);
showMessage("upper ="+ upper);