Computer Vision, Image Processing, Computer Science, Colors, Engineering.
cv2.COLOR_YCrCb2RGB) plt.imshow(Y_RGB) plt.show() Similarly for the Cb and Cr components: Cb = im_YCrCb.copy() Cb[:,:,(0,1)] = np.max(Cb)/2 Cb_RGB = cv2.cvtColor(Cb, cv2.COLOR_YCrCb2RGB) plt.show() plt.imshow(Cb_RGB) Cr = im_YCrCb.copy() Cr[:,:,(0,2)] = np.max(Cr)/2 Cr_RGB = cv2.cvtColor(Cr,