Computer Vision, Image Processing, Computer Science, Colors, Engineering.
Download source code., CC BY-SA 3.0, https://commons.wikimedia.org/w/index.php?curid=9803283 Let us go back to our original image and decompose it to its RGB channels. To display the R channel: R = im_RGB.copy() # copy the image to another variable R[:,:,(1,2)] = 0 # zero out the second and third