原文:https://blog.csdn.net/u013608424/article/details/80117178
img = cv2.imread('y1.jpg') img_2 = img[:,:,[2,1,0]] plt.imshow(img_2, cmap='gray')