I used the Macro Recorder to perform a number of sequential steps on an image stack. The recorder catpures this step:
run(“Crop (3D)”, “change”);
However, what I want is a way to pass the crop values into the Crop3D plugin and bypass the GUI for Crop Options. In particular, I have already determined the x,y and z crop limits, and want to apply them to the stack.
This leads to several questions:
- Is there a way in the run command to pass these options and avoid the Crop Options dialog box?
- Alternatively, I could rewrite the code for Crop 3D, if I could find the relevant plugin code in them imagej directory (my search to find it so far has come up empty).
- Is there guidance available for upgrading existing plugins?