RunMacro is a Java program (not a plugin) that runs an
ImageJ macro from the command line with no GUI. It uses the IJ.runMacroFile(path, arg) method that was added in ImageJ 1.33c
to run a macro and to pass it a single string argument.
ImageJ 1.37h and later can also runs macros from the command line
using the -batch option documented at the beginning of ImageJ.java.
javac -classpath ij.jar RunMacro.java
To run “analyze.txt”, passing it the argument “blobs.tif”:
Author: Wayne Rasband (firstname.lastname@example.org) Date: 2000/9/26 Requirements: Requires ImageJ 1.19h or later. Source: Background_Task.java Installation: Copy Background_Task.class to the plugins folder and restart ImageJ. Description:
Author: Kavagiou Zaharoula (Kavagiouzaharoula@yahoo.com) European Molecular Biology Laboratory, Heidelberg Cell Biology and Cell Biophysics Programme Light Microscopy Group History: 2002/09/06: First version Source: Patchwork_.java Installation:
Author: Walter O’Dell PhD, email@example.com History: 2002/11/13: First version Source: The Java source code is included in the window-level.zip archive. Installation: Download window-level.zip and extract