videolib.cvt_color.xyz2bgr

xyz2bgr(xyz, standard, range=None)[source]

Converts tristimulus XYZ to BGR.

Parameters:
  • xyz (ndarray) – XYZ 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:

BGR array of shape (R, C, 3)