opencv python grayscale image to three-channel color image

Grayscale image to RGB

IMG_OUT = cv2.cvtColor(IMG_IN, cv2.COLOR_GRAY2RGB)

Guess you like

Origin blog.csdn.net/ALZFterry/article/details/109648828