imgviz.gray2rgb¶
- imgviz.gray2rgb(gray: ndarray) ndarray [source]¶
Covnert gray to rgb.
- Parameters:
gray (numpy.ndarray, (H, W), np.uint8) – Input gray image.
- Returns:
rgb – Output rgb image.
- Return type:
numpy.ndarray, (H, W, 3), np.uint8
Covnert gray to rgb.
gray (numpy.ndarray, (H, W), np.uint8) – Input gray image.
rgb – Output rgb image.
numpy.ndarray, (H, W, 3), np.uint8