videolib.cvt_color.linear_rgb2yuv¶
- linear_rgb2yuv(linear_rgb, standard, range=None)[source]¶
Converts Linear RGB to YUV. :type linear_rgb:
ndarray:param linear_rgb: Linear RGB array of shape (R, C, 3) :type standard:Standard:param standard: Color standard to which the data conforms. :type range:Union[int,float,None] :param range: Range of pixel values (Default: None - inferred from standard).- Return type:
- Returns:
YUV array of shape (R, C, 3)