08.01.2013 Views

DigitalVideoAndHDTVAlgorithmsAndInterfaces.pdf

DigitalVideoAndHDTVAlgorithmsAndInterfaces.pdf

DigitalVideoAndHDTVAlgorithmsAndInterfaces.pdf

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

MPEG’s VLE tables are standardized;<br />

they do not need to be<br />

transmitted with each sequence<br />

or each picture.<br />

Figure 38.11 Reconstruction<br />

error is shown in this matrix of<br />

differences between original<br />

sample values and reconstructed<br />

sample values. Original sample<br />

values are not perfectly reconstructed,<br />

but discarding information<br />

according to the spatial<br />

frequency response of human<br />

vision ensures that the errors will<br />

not be too perceptible.<br />

differences from that. In essence, the previous DC term<br />

is used as a predictor for the current term. Separate<br />

predictors are maintained for Y’, C B, and C R.<br />

Zero AC coefficients are collapsed, and the string is<br />

represented in {run length, level} pairs, as shown in<br />

Figure 38.10:<br />

{1: -2}, {0: -1}, {0: -1}, {0: -1}, {2: -1}, EOB<br />

Figure 38.10 VLE {run length, level} pairs<br />

A JPEG encoder has one or more VLE tables that map<br />

the set of {run length, level} pairs to variable-length<br />

bitstrings; pairs with high probability are assigned short<br />

bitstrings. JPEG has no standard VLE tables; however,<br />

sample tables given in a nonnormative appendix are<br />

often used. Typically, there are two tables, one for luma<br />

and one for color differences. The tables used for an<br />

image are included at the head of the JPEG bitstream,<br />

and thereby conveyed to the decoder.<br />

JPEG decoding<br />

Decompression is achieved by performing the inverse of<br />

the encoder operations, in reverse order. Figure 38.11<br />

shows the matrix of differences between original<br />

sample values and reconstructed sample values for this<br />

example – the reconstruction error. As is typical of<br />

JPEG, the original sample values are not perfectly<br />

reconstructed. However, discarding information<br />

according to the spatial frequency response of human<br />

vision ensures that the errors introduced during<br />

compression will not be too perceptible.<br />

ε<br />

=<br />

-5 -2 0 1 1 -1 -1 -1<br />

-4 1 1 2 3 0 0 0<br />

-5 -1 3 5 0 -1 0 1<br />

-1 0 1 -2 -1 0 2 4<br />

-4 -3 -3 -1 0 -5 -3 -1<br />

-2 -2 -3 -3 -2 -3 -1 0<br />

2 1 -1 1 0 -4 -2 -1<br />

4 3 0 0 1 -3 -1 0<br />

456 DIGITAL VIDEO AND HDTV ALGORITHMS AND INTERFACES

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

Saved successfully!

Ooh no, something went wrong!