mmcv.image.gray2bgr¶
- mmcv.image.gray2bgr(img: numpy.ndarray) → numpy.ndarray[source]¶
Convert a grayscale image to BGR image.
- Parameters
img (ndarray) – The input image.
- Returns
The converted BGR image.
- Return type
ndarray
Convert a grayscale image to BGR image.
img (ndarray) – The input image.
The converted BGR image.
ndarray