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:
Notes
Domain
Scale - Reference
Scale - 1
JChJ: 1C: 1h: 360J: 1C: 1h: 1Range
Scale - Reference
Scale - 1
Jab1
1
References
Examples
>>> JCh = np.array([41.52787529, 59.12425901, 27.08848784]) >>> JCh_to_Jab(JCh) array([ 41.5278752..., 52.6385830..., 26.9231792...])