I’m trying to create a java plugin that execute some analysis on every file in a directory. The problem is that the command that the macro recorder give to me doesn’t work properly because it doesn’t affect the input or the output.
This is the command but even if i change the section in
output= the batch process is executed on the last directory used in imagej.
IJ.run("Macro... ", "input=[C:/Ddewx/Input/] output=[C:/Ddewx/Output/] output_format=TIFF file= text1=[run(\"Make Binary\");\nrun(\"Analyze Particles...\", \" show=Ellipses display\");\n]");
Do u have any tip to make this change the input and output?
Thanks in advance