videolib.cvt_color.bgr2cam16

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

Converts BGR to CAM16 color space.

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 CAM16 outputs.