colour.UCS_to_XYZ#

colour.UCS_to_XYZ(UVW: Annotated[_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], 1]) Annotated[ndarray[tuple[Any, ...], dtype[float16 | float32 | float64]], 1][source]#

Convert from CIE 1960 UCS \(UVW\) colourspace to CIE XYZ tristimulus values.

Parameters:

UVW (Annotated[_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], 1]) – CIE 1960 UCS \(UVW\) colourspace array.

Returns:

CIE XYZ tristimulus values.

Return type:

numpy.ndarray

Notes

Domain

Scale - Reference

Scale - 1

UVW

1

1

Range

Scale - Reference

Scale - 1

XYZ

1

1

References

[Wikipedia08b], [Wikipedia08c]

Examples

>>> import numpy as np
>>> UVW = np.array([0.13769339, 0.12197225, 0.10537310])
>>> UCS_to_XYZ(UVW)
array([ 0.2065400...,  0.1219722...,  0.0513695...])