def rgb2ycbcr(rgb):
 arr = _convert(ycbcr_from_rgb, rgb)
 arr[..., 0] += 16
 arr[..., 1] += 128
 arr[..., 2] += 128
 return arr

def rgb2ycbcr ( rgb ) : arr = _convert ( ycbcr_from_rgb , rgb ) arr [ ... , 0 ] += 16 arr [ ... , 1 ] += 128 arr [ ... , 2 ] += 128 return arr
rgb to ycbcr color space conversion .