ImageJ
Save summary information to TXT files in DOS -batch mode
Posts  1 - 1  of  1
imikeclassic
Hi.

I do particle analysis over a loop of images, and this generates information in the summary window. I then save the summaries as a TXT files using the "saveAS()" function.

I can run this macro from DOS using the -macro option, e.g. like "imagej.exe -macro macro.ijm". When I run the same macro with the -batch option from DOS it will not save the TXT files.

I noticed that the problem was to do SelectWindow("Summary"). If I check that isOpen("Summary"), it is false when I run the macro with the -batch open.

Is there a way to "reach" the summary data and save to TXT files in DOS -batch mode?
Save
Cancel
Reply
 
x
OK