colour.Luv_to_XYZ¶
-
colour.
Luv_to_XYZ
(Luv, illuminant=array([ 0.3127, 0.329 ]))[source]¶ Converts from CIE L*u*v* colourspace to CIE XYZ tristimulus values.
Parameters: - Luv (array_like) – CIE L*u*v* colourspace array.
- illuminant (array_like, optional) – Reference illuminant xy chromaticity coordinates or CIE xyY colourspace array.
Returns: CIE XYZ tristimulus values.
Return type: ndarray
Notes
Domain Scale - Reference Scale - 1 Luv
L
: [0, 100]u
: [-100, 100]v
: [-100, 100]L
: [0, 1]u
: [-1, 1]v
: [-1, 1]illuminant
[0, 1] [0, 1] Range Scale - Reference Scale - 1 XYZ
[0, 1] [0, 1] References
Examples
>>> Luv = np.array([41.52787529, 96.83626054, 17.75210149]) >>> Luv_to_XYZ(Luv) # doctest: +ELLIPSIS array([ 0.2065400..., 0.1219722..., 0.0513695...])