videolib.cvt_color.yuv2linear_rgb¶
- yuv2linear_rgb(yuv, standard, range=None)[source]¶
Converts YUV to Linear RGB. :type yuv:
ndarray:param yuv: YUV 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:
Linear RGB array of shape (R, C, 3)