mmcv.image.bgr2hls¶
- mmcv.image.bgr2hls(img: numpy.ndarray) → numpy.ndarray¶
- Convert a BGR image to HLS
image.
- Parameters
img (ndarray or str) – The input image.
- Returns
The converted HLS image.
- Return type
ndarray
image.
img (ndarray or str) – The input image.
The converted HLS image.
ndarray