magpack.image_utils.hls2rgb#
- hls2rgb(hue, lightness, saturation)#
Convert HLS values (Hue, Lightness, Saturation) to RGB values (Red, Green, Blue) for plotting.
- Parameters:
- hue, lightness, saturationarray_like
Values for the hue [0, 2pi], lightness [0, 1] and saturation [0, 1] to be converted to RGB.
- Returns:
- np.ndarray
Numpy array of size (input.shape, 3) with RGB values in the 0 to 255 range.