colour.Oklab_to_XYZ

colour.Oklab_to_XYZ(Lab)[source]

Converts from Oklab colourspace to CIE XYZ tristimulus values.

Parameters

Lab (array_like) – Oklab colourspace array.

Returns

CIE XYZ tristimulus values.

Return type

ndarray

Notes

Domain

Scale - Reference

Scale - 1

Lab

L : [0, 1]

a : [-1, 1]

b : [-1, 1]

L : [0, 1]

a : [-1, 1]

b : [-1, 1]

Range

Scale - Reference

Scale - 1

XYZ

[0, 1]

[0, 1]

References

[Ott20]

Examples

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