Skip to content

Instantly share code, notes, and snippets.

@miura
Created November 8, 2012 13:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save miura/4038817 to your computer and use it in GitHub Desktop.
Save miura/4038817 to your computer and use it in GitHub Desktop.
A test script to be called from pom.xml
import ij._
println ("Hello from external script :-)")
IJ.log("test ij")
IJ.log(IJ.getVersion())
val imp = IJ.openImage("http://imagej.nih.gov/ij/images/blobs.gif")
imp.show()
IJ.wait(2000)
imp.close()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment