Advertisement
Guest User

Untitled

a guest
Jul 29th, 2015
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. import numpy as np
  2. import matplotlib.pyplot as plt
  3. import matplotlib.image as mpimg
  4. img=mpimg.imread('flame.png')
  5. lum_img = img[:,:,0]
  6. img_plot = plt.imshow(lum_img)
  7. img_plot.set_cmap('jet')
  8. plt.axis('Off')
  9. plt.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement