multicolorfits.rgb_to_hsl#
- multicolorfits.rgb_to_hsl(rgb)[source]#
Vectorized RGB to HSL conversion.
- Parameters:
rgb (numpy.ndarray) – RGB image with shape (…, 3) and values in [0, 1]
- Returns:
numpy.ndarray – HSL image with same shape: channels (hue, saturation, lightness), all in [0, 1]