colour.Lab_to_LCHab#

colour.Lab_to_LCHab(Lab: ArrayLike) numpy.ndarray[source]#

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

Parameters

Lab (ArrayLike) – CIE L*a*b* colourspace array.

Returns

CIE L*C*Hab colourspace array.

Return type

numpy.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]

Hab : [0, 360]

L : [0, 1]

C : [0, 1]

Hab : [0, 1]

References

[CIET14804h]

Examples

>>> import numpy as np
>>> Lab = np.array([41.52787529, 52.63858304, 26.92317922])
>>> Lab_to_LCHab(Lab)  
array([ 41.5278752...,  59.1242590...,  27.0884878...])