colour.Luv_to_XYZ#
- colour.Luv_to_XYZ(Luv: Annotated[_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], 100], illuminant: ArrayLike = CCS_ILLUMINANTS['CIE 1931 2 Degree Standard Observer']['D65']) Annotated[ndarray[tuple[Any, ...], dtype[float16 | float32 | float64]], 1][source]#
Convert from CIE L*u*v* colourspace to CIE XYZ tristimulus values.
- Parameters:
Luv (Annotated[_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], 100]) – CIE L*u*v* colourspace array.
illuminant (ArrayLike) – Reference illuminant CIE xy chromaticity coordinates or CIE xyY colourspace array.
- Returns:
CIE XYZ tristimulus values.
- Return type:
Notes
Domain
Scale - Reference
Scale - 1
Luv100
1
illuminant1
1
Range
Scale - Reference
Scale - 1
XYZ1
1
References
[CIET14804h], [Wikipedia07e]
Examples
>>> import numpy as np >>> Luv = np.array([41.52787529, 96.83626054, 17.75210149]) >>> Luv_to_XYZ(Luv) array([ 0.2065400..., 0.1219722..., 0.0513695...])