Convert CIELUV to the polar representation (polarLUV; HCL)
Description
Converts colors from the CIELUV color space into its polar representation (polarLUV
). The polarLUV
color space is also known as the HCL (Hue-Chroma-Luminance) color space which this package uses frequently, e.g., when creating efficient color maps. Inverse function of polarLUV_to_LUV.
Usage
colorlib.LUV_to_polarLUV(L, U, V)
Arguments
-
L
numpy.ndarray
-
Values for the
L
dimension. -
U
numpy.ndarray
-
Values for the
U
dimension. -
V
numpy.ndarray
-
Values for the
V
dimension.
Return
list
: Returns corresponding polar LUV chromaticities as a list of numpy.ndarray
s of the same length as the inputs ([L, A, B]
), also known as [H, C, L]
coordinates.