colour.LCHab_to_Lab¶
-
colour.LCHab_to_Lab(LCHab)[source]¶ Converts from CIE L*C*Hab colourspace to CIE L*a*b* colourspace.
Parameters: LCHab (array_like) – CIE L*C*Hab colourspace array. Returns: CIE L*a*b* colourspace array. Return type: ndarray Notes
Domain Scale - Reference Scale - 1 LCHabL: [0, 100]C: [0, 100]ab: [0, 360]L: [0, 1]C: [0, 1]ab: [0, 1]Range Scale - Reference Scale - 1 LabL: [0, 100]a: [-100, 100]b: [-100, 100]L: [0, 1]a: [-1, 1]b: [-1, 1]References
Examples
>>> LCHab = np.array([41.52787529, 59.12425901, 27.08848784]) >>> LCHab_to_Lab(LCHab) # doctest: +ELLIPSIS array([ 41.5278752..., 52.6385830..., 26.9231792...])