colour.Luv_to_uv#

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

Return the \(uv^p\) chromaticity coordinates from given CIE L*u*v* colourspace array.

Parameters:
  • Luv (ArrayLike) – CIE L*u*v* colourspace array.

  • illuminant (ArrayLike) – Reference illuminant CIE xy chromaticity coordinates or CIE xyY colourspace array.

Returns:

\(uv^p\) chromaticity coordinates.

Return type:

numpy.ndarray

Notes

Domain

Scale - Reference

Scale - 1

Luv

L : [0, 100]

u : [-100, 100]

v : [-100, 100]

L : [0, 1]

u : [-1, 1]

v : [-1, 1]

illuminant

[0, 1]

[0, 1]

References

[CIET14804g]

Examples

>>> import numpy as np
>>> Luv = np.array([41.52787529, 96.83626054, 17.75210149])
>>> Luv_to_uv(Luv)  
array([ 0.3772021...,  0.5012026...])