colour.CIE1976UCS_to_XYZ#

colour.CIE1976UCS_to_XYZ(uvL: Annotated[TypeAliasForwardRef('ArrayLike'), 1, 1, 100], illuminant: ArrayLike = CCS_ILLUMINANTS['CIE 1931 2 Degree Standard Observer']['D65']) Annotated[ndarray[tuple[Any, ...], dtype[float16 | float32 | float64]], 1][source]#

Convert from \(uv^pL^*\) colourspace to CIE XYZ tristimulus values.

This colourspace combines the \(uv^p\) chromaticity coordinates with the Lightness \(L^{*}\) from the CIE L*u*v* colourspace.

It is a convenient definition for use with the CIE 1976 UCS Chromaticity Diagram.

Parameters:
  • uvL (Annotated[TypeAliasForwardRef('ArrayLike'), (1, 1, 100)]) – \(uv^pL^*\) colourspace array.

  • illuminant (ArrayLike) – Reference illuminant CIE xy chromaticity coordinates or CIE xyY colourspace array.

Returns:

CIE XYZ tristimulus values.

Return type:

numpy.ndarray

Notes

Domain

Scale - Reference

Scale - 1

uvL

u : 1

v : 1

L : 100

u : 1

v : 1

L : 1

illuminant

1

1

Range

Scale - Reference

Scale - 1

XYZ

1

1

Examples

>>> import numpy as np
>>> uvL = np.array([0.37720213, 0.50120264, 41.52787529])
>>> CIE1976UCS_to_XYZ(uvL)
array([0.2065400..., 0.1219722..., 0.0513695...])