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
tabsize=2 | |
indent.size=2 | |
use.tabs=0 | |
line.margin.visible=1 | |
position.width=1024 | |
position.height=900 | |
menu.language=\ |
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
// To view the default settings, hold "alt" while clicking on the "Settings" button. | |
// For documentation on these settings, see: https://aka.ms/terminal-documentation | |
{ | |
"$schema": "https://aka.ms/terminal-profiles-schema", | |
"defaultProfile": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}", | |
"profiles": |
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
# -*- coding: utf-8 -*- | |
""" | |
Test Read PGM member | |
Created on Sun Jan 25 21:52:38 2015 | |
@author: shakes | |
""" | |
import imageio | |
image, depth = imageio.readPGM("lena.pgm") |
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
''' | |
This module extends scipy modules for saving and loading images losslessly. | |
It ensures files are written and arrays returned are in 32-bit integer format | |
PIL Modes: L - 8 bit, I - 32 bit, RGB, RGBA, 1 - 1 bit | |
@author: Shekhar S. Chandra | |
''' | |
import Image #PIL | |
import numpy as np | |
import scipy.misc |