videolib.cvt_colorΒΆ

Functions

bgr2cam16

Converts BGR to CAM16 color space.

bgr2ciecam02

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

bgr2hdrucs

Converts BGR to uniform color space designed for HDR (aka Jzazbz).

bgr2xyz

Converts BGR to tristimulus XYZ.

bgr2yuv

Converts BGR to YUV.

get_bgr2xyz_transfer_mat

Calculates conversion matrix from BGR to tristimulus XYZ

get_bgr2yuv_transfer_mat

Calculates conversion matrix from BGR to YUV

get_conversion_function

Selects color conversion function based on source and destination color spaces.

hsv2linear_rgb

Converts HSV to Linear RGB.

lab2xyz

Converts CIELAB aka La*b* to tristimulus XYZ.

linear_bgr2yuv

Converts Linear BGR to YUV.

linear_rgb2hsv

Converts Linear RGB to HSV.

linear_rgb2yuv

Converts Linear RGB to YUV.

linear_yuv2yuv

Converts Linear YUV to YUV.

rgb2yuv

Converts RGB to YUV.

xyz2bgr

Converts tristimulus XYZ to BGR.

xyz2lab

Converts tristimulus XYZ to CIELAB aka La*b*.

xyz2yuv

Converts tristimulus XYZ to YUV.

yuv2bgr

Converts YUV to BGR.

yuv2linear_bgr

Converts YUV to BGR.

yuv2linear_rgb

Converts YUV to Linear RGB.

yuv2linear_yuv

Converts YUV to Linear YUV.

yuv2rgb

Converts YUV to RGB.

yuv2xyz

Converts YUV to tristimulus XYZ.