colour.models.JCh_to_Jab#

colour.models.JCh_to_Jab(JCh: Annotated[TypeAliasForwardRef('ArrayLike'), 1, 1, 360]) Annotated[ndarray[tuple[Any, ...], dtype[float16 | float32 | float64]], 1][source]#

Convert from JCh colour representation to Jab colour representation.

This definition performs conversion from CIE L*C*Hab colourspace to CIE L*a*b* colourspace and other similar conversions. It implements a generic transformation from the correlates of lightness \(J\), chroma \(C\) and hue angle \(h\) to lightness \(J\), \(a\) and \(b\) opponent colour dimensions

Parameters:

JCh (Annotated[TypeAliasForwardRef('ArrayLike'), (1, 1, 360)]) – JCh colour representation array.

Returns:

Jab colour representation array.

Return type:

numpy.ndarray

Notes

Domain

Scale - Reference

Scale - 1

JCh

J : 1

C : 1

h : 360

J : 1

C : 1

h : 1

Range

Scale - Reference

Scale - 1

Jab

1

1

References

[CIET14804h]

Examples

>>> JCh = np.array([41.52787529, 59.12425901, 27.08848784])
>>> JCh_to_Jab(JCh)
array([ 41.5278752...,  52.6385830...,  26.9231792...])