videolib.cvt_color.bgr2ciecam02

bgr2ciecam02(bgr, standard, env_setting='average', light_setting='default', bg_setting='default', three_channel='chroma_euclidean')[source]

Converts BGR to CIECAM02 color space that differ in terms of their color adaptation transforms (CAT).

Parameters:
  • bgr (ndarray) – BGR array of shape (R, C, 3)

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

  • env_setting (str) – String defining the environment setting.

  • light_setting (str) – String defining the lighting condition setting.

  • bg_setting (str) – String defining the background setting.

  • three_channel (Optional[str]) – Values to be returned. Must be None (all values), ‘chroma_euclidean’, ‘color_euclidean’, or ‘ucs_color_euclidean’.

Return type:

Union[ndarray, Tuple]

Returns:

Array or tuple of CIECAM02 outputs.