Created
August 5, 2013 07:28
-
-
Save miura/6154060 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
srcDir = DirectoryChooser("Choose!").getDirectory() | |
IJ.log("directory: "+srcDir) | |
for root, directories, filenames in os.walk(srcDir): | |
for filename in filenames: | |
if filename.endswith(".tif"): | |
path = os.path.join(root, filename) | |
IJ.log(path) | |
imp = IJ.openImage(path) | |
imp.show() | |
imp.close() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment