Computer Vision, Image Processing, Computer Science, Colors, Engineering.
the values of the other channels to half of the maximum value of the channel you want to visualise. Note that once we have manipulated each channel, we need to convert it back to RGB to display properly using matplotlib. Y = im_YCrCb.copy() Y[:,:,(1,2)] = np.max(Y)/2 Y_RGB = cv2.cvtColor(Y,