colour.Oklab_to_XYZ#

colour.Oklab_to_XYZ(Lab: 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 Oklab colourspace to CIE XYZ tristimulus values.

Parameters:

Lab (Annotated[_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], 1]) – Oklab colourspace array.

Returns:

CIE XYZ tristimulus values.

Return type:

numpy.ndarray

Notes

Domain

Scale - Reference

Scale - 1

Lab

1

1

Range

Scale - Reference

Scale - 1

XYZ

1

1

References

[Ott20]

Examples

>>> Lab = np.array([0.51634019, 0.15469500, 0.06289579])
>>> Oklab_to_XYZ(Lab)
array([ 0.2065400...,  0.1219722...,  0.0513695...])