Computer Vision, Image Processing, Computer Science, Colors, Engineering.
need to convert the colour image into a GRAY scale image. Since openCV does not have the LAB2GRAY converter, we have to go through the RGB format and then to GRAY L = im_Lab.copy() L[:, :, (1,2)] = 0 L_RGB = cv2.cvtColor(L,cv2.COLOR_LAB2RGB) L_GRAY = cv2.cvtColor(L_RGB,cv2.COLOR_RGB2GRAY)