|
YUV Formats
YUV Color Space
Color is decomposed in three components.
Y: represents
Luminance.
U (Cb): is the Chroma channel, U axis, blue
component.
V (Cr): is the Chroma channel, V axis, red
component. The first reason to use the YUV
decomposition is that a conversion of an RGB signal (such as the one used on
computer monitors) to YUV requires just a linear transform, which is really easy
to do with analogue circuitry and it is cheap to compute numerically.
The second reason that YUV allows separating the
color information from the luminance component (which we perceive as
brightness). For this reason YUV is used worldwide for television and motion
picture encoding standards such as PAL, SECAM and for JPEG/MPEG compression.
Since the human eye is also much more responsive to luminance, JPEG compresses
more heavily the chroma channels which are less likely to cause perceptible
differences in the resulting image.
4:4:4 Format (Base YUV Format)
In this format size of matrices of Y, U and V value are as same as RGB.
Image size: 176x144.
RGB: 3 matrices in size of 176x144.
YUV: 3 matrices in size of 176x144.
4:2:2 Format (Known as
YUY2)
However in 4:2:2 format Y value is 176x144 but U and
V values are half sizes, 88x72.
Image size: 176x144.
RGB: 3 matrices in size of 176x144.
Y: 176x144.
U: 88x72.
V: 88x72.
So when converting back to RGB color space each U
and V value is used four times to complete the conversion. Figure 1 shows the
usage of the 4:2:2 format while converting back to RGB.

Figure 1. YUV 4:2:2 format |