Numpy and Scipy authors: Emmanuelle Gouillart, Gaël ...

Use matplotlib and imshow to display an image inside a matplotlib figure: Increase contrast by setting min and max values: from scipy import misc l = misc.lena() misc.imsave('lena.png', l) # uses the Image module (PIL) import matplotlib.pyplot as plt plt.imshow(l) plt.show() >>> from scipy import misc >>> lena = misc.imread('lena.png') >>> type ... ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download