Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

matplotlib show image black and white

# maping image to gray scale
plt.imshow(image, cmap='gray')
plt.show()
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #matplotlib #show #image #black #white
ADD COMMENT
Topic
Name
5+2 =