Skip to content

Instantly share code, notes, and snippets.

@miura
Created March 21, 2014 15:47
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/9689171 to your computer and use it in GitHub Desktop.
Save miura/9689171 to your computer and use it in GitHub Desktop.
from ij import IJ
IJ.log('write to Log window')
#Loading Image, Interactively
imp = IJ.openImage()
imp.show()
#Loading image, defined path
import os
root = '/Users/miura/Dropbox/20140315_EMBLCentreCourse/singleset'
filename = '--W00005--P00001--Z00000--T00000--dapi.tif'
fullpath = os.path.join(root, filename)
imp = IJ.openImage(fullpath)
imp.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment