08.01.2013 Views

DigitalVideoAndHDTVAlgorithmsAndInterfaces.pdf

DigitalVideoAndHDTVAlgorithmsAndInterfaces.pdf

DigitalVideoAndHDTVAlgorithmsAndInterfaces.pdf

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Y’CBCR<br />

e.g., 4:2:2<br />

CHROMA<br />

INTERPOLATION<br />

Y’CBCR<br />

NONLINEAR<br />

3×3<br />

-1<br />

[P ]<br />

R’G’B’<br />

TRANSFER<br />

FUNCTION<br />

γ D =2.5<br />

matrix (P), to obtain luma and color difference components<br />

Y’C B C R or Y’P B P R . (This matrix depends upon the<br />

luma coefficients in use, and upon color difference scale<br />

factors.) Then, if necessary, a chroma subsampling filter<br />

is applied to obtain subsampled color difference<br />

components; luma is subject to a compensating delay.<br />

A decoder uses the inverse operations of the encoder,<br />

in the opposite order, as sketched in Figure 24.8. In<br />

a digital decoder, the chroma interpolation filter reconstructs<br />

missing chroma samples; in an analog decoder,<br />

no explicit operation is needed. The 3×3 color difference<br />

matrix (P -1 ) reconstructs nonlinear red, green, and<br />

blue primary components. The transfer functions restore<br />

the primary components to their linear-light tristimulus<br />

values. Finally, the tristimulus 3×3 matrix (T 2) transforms<br />

from the primaries of the interchange standard to<br />

the primaries implemented in the display device.<br />

When a decoder is intimately associated with a CRT<br />

monitor, the decoder’s transfer function is performed by<br />

the nonlinear voltage-to-luminance relationship<br />

intrinsic to the CRT: No explicit operations are required<br />

for this step. However, to exploit this transfer function,<br />

the display primaries must be the same as – or at least<br />

very similar to – the interchange primaries.<br />

CHAPTER 24 LUMA AND COLOR DIFFERENCES 295<br />

RGB<br />

TRISTIMULUS<br />

3×3<br />

[ T 2 ]<br />

XYZ<br />

or R 2G 2B 2<br />

Figure 24.8 Luma/color difference decoder involves the inverse of the four stages of Figure 24.7<br />

in opposite order. First, subsampled color difference (chroma) signals are interpolated; luma<br />

undergoes a compensating delay. The matrix P -1 then recovers R’G’B’ from luma and two color<br />

differences. A transfer function having an exponent of about 2.5 is then applied, which produces<br />

linear-light (tristimulus) signals RGB. If the display’s primaries differ from the interchange<br />

primaries, RGB are transformed through the matrix T 2 to produce appropriate R 2 G 2 B 2 .<br />

Figures 24.7 and 24.8 show<br />

3×3 matrix transforms being<br />

used for two distinctly different<br />

tasks. When someone hands<br />

you a 3×3, you have to ascertain<br />

whether it is intended for<br />

a linear or nonlinear task.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!