Task #10648 (new)
Command-line processing via Scripts Example
|Reported by:||wmoore||Owned by:||wmoore|
Need to provide an up-to-date example of processing via command line called from Scripting service". We could use ImageJ as an example, since we know this is useful.
Ideally this would take a Tiff stack (or a single Tiff) and generate a processed Tiff stack (or single Tiff).
Most of what we need is in this example (we write a macro and pass it to ImageJ along with a tiff stack), https://github.com/will-moore/weblabs/blob/master/views.py#L74 except that it is in the web framework and it only generates a jpeg output (not suitable to upload back to OMERO as a new image).
First task is to identify a suitable macro / process to call on the command line from ImageJ, otherwise I'll just go with the example we have and upload jpegs as new images.