Contents:
cvt_color()
cvtColor()
rgb2bgr()
bgr2rgb()
rgba2bgra()
bgra2rgba()
rgb2gray()
bgr2gray()
gray2rgb()
gray2bgr()
gray2rgba()
gray2bgra()
bgr2hsv()
rgb2hsv()
hsv2bgr()
hsv2rgb()
rgb()
bgr()
rgba()
bgra()
Convert grayscale image to BGR.
img (numpy.ndarray) – Input grayscale image.
Image in BGR format.
numpy.ndarray
ValueError – If input image is not grayscale.