The human eye will not detect the changes in image quality after
the sub sampling of the chrominance components. The main sub-sampling formats are YCbCr
4:2:0, YCbCr 4:2:2 andYCbCr 4:4:4.
On the other hand, the formula which we used is RGB conversion formula for YCbCr below: