Running Fiji from command line?

Posted by nickxtsui on
URL: http://imagej.273.s1.nabble.com/Running-Fiji-from-command-line-tp5006132.html

Dear Folks:
I want to run Fiji <http://fiji.sc/Fiji> from command-line, to do something
like batch image processing. I imagine by typing some command at some
console, some batch file can be launched to execute some macro. In this
case, the Fiji GUI will not show up, but the processing will be running
behind the scene.

Here is what I have done:

I simply tried the FIji headless <http://fiji.sc/wiki/index.php/Headless> ,
but when I tried* ./Build.sh misc/headless.jar *as the web suggested, the
console prompt returns could not find project for artifactID 'headless'; I
also tried Javassist <http://www.csg.ci.i.u-tokyo.ac.jp/~chiba/javassist/>,
pretty much just built it, but have not figure out how to use it.

Here is what I have encountered:

When I type* fiji --headless HelloWorldMacro.ijm*, nothing happened, where
inside the HelloWorldMacro.ijm is printf("Hello world!");

I am wondering, how should I run FIji from command line? What is the best
method for me to run Fiji using command line (I am on 64bit Windows 7 )? Is
what I have tried on the right track? If so, what additional work/changes
needed to make it work? Thanks a lot.

Nick

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html