I have searched the forum and mailing list archive, and have not found an answer to this question, so I apologise if it has been asked before, or has an obvious answer,
I am using Fiji on a Windows system, and I want to automatically perform some processing on an image and save the modified image, all started from the command line. I might want to run in headless mode eventually, but I am happy for the UI to appear during development.
I have written a plugin that does the image processing that I need, but I cannot work out:
- How to start this plugin from the command line
- How to pass the input and output file names into the plugin for it to load and save the images
- How to close ImageJ automatically when it is finished
Because there is not much calculation in my plugin, I think that the image processing could be done in a script rather than a plugin if that makes my goal more achievable.
Any pointers to solving this would be greatly appreciated.