Computer Vision, Image Processing, Computer Science, Colors, Engineering.
channels plt.imshow(R) plt.show() To display the G channel: G = im_RGB.copy() # copy the image to another variable G[:,:,(0,2)] = 0 # zero out the first and third channels plt.imshow(G) plt.show() To display the B channel: B = im_RGB.copy() # copy the image to another variable B[:,:,(0,1)] = 0 #