Created
February 4, 2016 08:24
-
-
Save samueljackson92/268d896237dd683ba814 to your computer and use it in GitHub Desktop.
Loading an image from the MIAS dataset
This file contains hidden or 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
from skimage import io | |
def load_image(path): | |
img = io.imread(path) | |
io.imshow(img) | |
io.show() | |
if __name__ == "__main__": | |
load_image("/Users/samuel/Downloads/mdb001.pgm") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment