Login  Register

Problem Macro Recording

Posted by Adrián Villalba on Apr 11, 2017; 1:53pm
URL: http://imagej.273.s1.nabble.com/Problem-Macro-Recording-tp5018507.html

Dear all,

I am very new to imageJ,
I tried to record a Macro like that:

run("Split Channels");
close();
selectWindow("IC_5.jpg (red)");
close();
selectWindow("IC_5.jpg (green)");
setAutoThreshold("Moments dark");
//run("Threshold...");
setAutoThreshold("Moments dark");
//setThreshold(82, 255);
setOption("BlackBackground", false);
run("Convert to Mask");
run("Close");
run("Erode");
run("Analyze Particles...", "size=200-Infinity show=[Overlay Masks] display
exclude clear summarize in_situ");


But when i try to re-use again, it does not work with other pictures
because of IC_5.jpg error name. I know this is a very basic question. Could
anyone help me? Thank you in advance!

--

   - Adrián Villalba Felipe.
   https://es.linkedin.com/in/adrianvillalba

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