Hello ImageJists,
Is it possible to have a script in FIJI take command line arguments for a non-GUI/headless scenario? i.e. ImageJ-linux64 —headless fiji-plugins/HelloWorld.clj lena.jpg This treats the jpg as another clojure script. I've tried a few different combinations and checked "*command-line-args*" from the clojure script, but I still haven't found a way to access the arguments. Noting that I would really like to be able to pass other arguments like floating-points, but just being able to specify images would be enough for now. Thank you, Kyle -- Dr Kyle I S Harrington Postdoctoral Researcher Bentley Group, Computational Biology Lab Center for Vascular Biology Research, Beth Israel Deaconess Medical Center Harvard Medical School, Boston, MA web: http://www.kyleharrington.com ________________________________ This message is intended for the use of the person(s) to whom it may be addressed. It may contain information that is privileged, confidential, or otherwise protected from disclosure under applicable law. If you are not the intended recipient, any dissemination, distribution, copying, or use of this information is prohibited. If you have received this message in error, please permanently delete it and immediately notify the sender. Thank you. -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Hi Kyle,
Sorry for the long delay in reply. > Is it possible to have a script in FIJI take command line arguments > for a non-GUI/headless scenario? I investigated briefly a while back, and AFAICT you cannot pass parameters like that. But of course you should be able to do it. So I filed an issue: https://github.com/imagej/imagej/issues/121 Regards, Curtis On Sun, Jan 18, 2015 at 9:40 AM, Kyle Harrington <[hidden email] > wrote: > Hello ImageJists, > > Is it possible to have a script in FIJI take command line arguments for a > non-GUI/headless scenario? i.e. > > ImageJ-linux64 —headless fiji-plugins/HelloWorld.clj lena.jpg > > This treats the jpg as another clojure script. I've tried a few different > combinations and checked "*command-line-args*" from the clojure script, but > I still haven't found a way to access the arguments. Noting that I would > really like to be able to pass other arguments like floating-points, but > just being able to specify images would be enough for now. > > Thank you, > Kyle > > -- > Dr Kyle I S Harrington > Postdoctoral Researcher > Bentley Group, Computational Biology Lab > Center for Vascular Biology Research, > Beth Israel Deaconess Medical Center > Harvard Medical School, Boston, MA > > web: http://www.kyleharrington.com > > > ________________________________ > This message is intended for the use of the person(s) to whom it may be > addressed. It may contain information that is privileged, confidential, or > otherwise protected from disclosure under applicable law. If you are not > the intended recipient, any dissemination, distribution, copying, or use of > this information is prohibited. If you have received this message in error, > please permanently delete it and immediately notify the sender. Thank you. > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Free forum by Nabble | Edit this page |