colour.UVW_to_XYZ#

colour.UVW_to_XYZ(UVW: ArrayLike, illuminant: ArrayLike = CCS_ILLUMINANTS['CIE 1931 2 Degree Standard Observer']['D65']) NDArrayFloat[source]#

Convert CIE 1964 U*V*W* colourspace to CIE XYZ tristimulus values.

Parameters:
  • UVW (ArrayLike) – CIE 1964 U*V*W* 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

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, 100

[0, 1]

References

[Wikipedia08d]

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])