Skip to content

Instantly share code, notes, and snippets.

@miura
Created October 22, 2012 22:55
Show Gist options
  • Select an option

  • Save miura/3935253 to your computer and use it in GitHub Desktop.

Select an option

Save miura/3935253 to your computer and use it in GitHub Desktop.
testing headless edf, for Tischi
from edfgui import ExtendedDepthOfField
from edfgui import ExtendedDepthOfFieldHeadless
from edfgui import Parameters
from ij import IJ
print 'test'
imp = IJ.openImage('http://imagej/nih.gov/ij/images/mri-stack.zip')
edf = ExtendedDepthOfFieldHeadless(imp, Parameters())
# I added a test method in the java file only with IJ.log("test method") to see if instance is sucessfully made
edf.testpp()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment