colour.Lab_to_LCHab

colour.Lab_to_LCHab(Lab)[source]

Converts from CIE L*a*b* colourspace to CIE L*C*Hab colourspace.

Parameters:Lab (array_like) – CIE L*a*b* colourspace array.
Returns:CIE L*C*Hab colourspace array.
Return type:ndarray

Notes

Domain Scale - Reference Scale - 1
Lab

L : [0, 100]

a : [-100, 100]

b : [-100, 100]

L : [0, 1]

a : [-1, 1]

b : [-1, 1]

Range Scale - Reference Scale - 1
LCHab

L : [0, 100]

C : [0, 100]

ab : [0, 360]

L : [0, 1]

C : [0, 1]

ab : [0, 1]

References

[CIETC1-482004m]

Examples

>>> Lab = np.array([41.52787529, 52.63858304, 26.92317922])
>>> Lab_to_LCHab(Lab)  # doctest: +ELLIPSIS
array([ 41.5278752...,  59.1242590...,  27.0884878...])