Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import numpy as np
- import matplotlib.pyplot as plt
- import matplotlib.image as mpimg
- img=mpimg.imread('flame.png')
- lum_img = img[:,:,0]
- img_plot = plt.imshow(lum_img)
- img_plot.set_cmap('jet')
- plt.axis('Off')
- plt.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement