Login  Register

Automate "name" in selectWindow("name");

Posted by Mrtin_11 on Mar 20, 2020; 8:41pm
URL: http://imagej.273.s1.nabble.com/Automate-name-in-selectWindow-name-tp5023075.html

Hi,I have to analyse the grey level with a histogram for a lot of
images.using macro helps, but I lose a lot of time adapting the name to the
opened image that is currently in the
code.selectWindow("vlcsnap-00024.tiff");run("Histogram");selectWindow("vlcsnap-00024.tiff");makeRectangle(232,
127, 70,
25);run("Histogram");selectWindow("vlcsnap-00024.tiff");makeRectangle(159,
282, 125,
36);run("Histogram");selectWindow("vlcsnap-00024.tiff");makeRectangle(232,
453, 73,
52);run("Histogram");selectWindow("vlcsnap-00024.tiff");makeRectangle(393,
246, 113, 56);run("Histogram");selectWindow("vlcsnap-00024.tiff");How can I
automate the select window to the opened image?thank you



--
Sent from: http://imagej.1557.x6.nabble.com/

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