colour.XYZ_to_CIE1960UCS#
- colour.XYZ_to_CIE1960UCS(XYZ: ArrayLike) NDArrayFloat [source]#
Convert from CIE XYZ tristimulus values to \(uvV\) colourspace.
This colourspace combines the CIE 1960 UCS \(UVW\) colourspace uv chromaticity coordinates with the luminance \(V\) from the CIE 1960 UCS \(UVW\) colourspace.
It is a convenient definition for use with the CIE 1960 UCS Chromaticity Diagram.
- Parameters:
XYZ (ArrayLike) – CIE XYZ tristimulus values.
- Returns:
\(uvV\) colourspace array.
- Return type:
Notes
Domain
Scale - Reference
Scale - 1
XYZ
[0, 1]
[0, 1]
illuminant
[0, 1]
[0, 1]
Range
Scale - Reference
Scale - 1
uvV
[0, 1]
[0, 1]
Examples
>>> import numpy as np >>> XYZ = np.array([0.20654008, 0.12197225, 0.05136952]) >>> XYZ_to_CIE1960UCS(XYZ) array([ 0.3772021..., 0.3341350..., 0.12197225])