videolib.cvt_color.lab2xyz

lab2xyz(lab, standard, range=None)[source]

Converts CIELAB aka La*b* to tristimulus XYZ.

Parameters:
  • lab (ndarray) – La*b* array of shape (R, C, 3)

  • standard (Standard) – Color standard to which the data conforms.

  • range (Union[int, float, None]) – Range of pixel values (Default: None - inferred from standard).

Return type:

ndarray

Returns:

Tristimulus XYZ array of shape (R, C, 3)