colour.UVW_to_XYZ¶
-
colour.
UVW_to_XYZ
(UVW, illuminant=array([ 0.3127, 0.329 ]))[source]¶ Converts CIE 1964 U*V*W* colourspace to CIE XYZ tristimulus values.
- Parameters
UVW (array_like) – CIE 1964 U*V*W* colourspace array.
illuminant (array_like, optional) – Reference illuminant CIE xy chromaticity coordinates or CIE xyY colourspace array.
- Returns
CIE XYZ tristimulus values.
- Return type
ndarray
Warning
The input domain and output range of that definition are non standard!
Notes
Domain
Scale - Reference
Scale - 1
UVW
U
: [-100, 100]V
: [-100, 100]W
: [0, 100]U
: [-1, 1]V
: [-1, 1]W
: [0, 1]illuminant
[0, 1]
[0, 1]
Range
Scale - Reference
Scale - 1
XYZ
[0, 1]
[0, 1]
References
Examples
>>> import numpy as np >>> UVW = np.array([94.55035725, 11.55536523, 40.54757405]) >>> UVW_to_XYZ(UVW) array([ 20.654008, 12.197225, 5.136952])