http://imagej.273.s1.nabble.com/Re-running-headless-Extended-Depth-of-Field-tp5000821p5000842.html
> in the meantime we (Kota Miura and me) hacked the EDF code ourselves in
> order to make it run headless.
>
> for those interested, here is how it works:
>
> 1) create a folder "edfgui" in the plugins folder
>
> 2) place the file at
https://gist.github.com/4077617 into this folder
>
> 3) then, using FIJI, when you can use it via a jython script like so:
>
> from edfgui import ExtendedDepthOfFieldHeadless
> from edfgui import Parameters
>
> imp = ...some image stack...
>
> IJ.log("EDF: start...")
> parameters = Parameters()
> parameters.setQualitySettings(1)
> parameters.setTopologySettings(0)
> parameters.show3dView = False
> parameters.showTopology = False
> edfh = ExtendedDepthOfFieldHeadless(imp, parameters)
> impEDF = edfh.processHeadless()
> IJ.log("EDF: done.")
>
> # if you want to see the result in the GUI mode:
> impEDF.show()
> # of course you have to remove above line in headless mode as it would
> crash otherwise
>
> 4) have fun, Tischi
least ported from EDF version to the next.