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.

Figure 38.13 Because the<br />

quantizer is adjustable, the<br />

quantizer matrix must be<br />

conveyed through a side<br />

channel to the decoder. In<br />

color images, separate quantizer<br />

are used for the luma<br />

and chroma components.<br />

In ISO JPEG, the quantizer matrix is<br />

directly conveyed in the bitstream.<br />

In the DV adaptation of JPEG, several<br />

quantizer matrices are defined<br />

in the standard; the bitstream indicates<br />

which one to use.<br />

The notation mquant is found in the<br />

ITU-T H.261 standard for teleconferencing;<br />

mquant (or MQUANT) is not<br />

found in JPEG or MPEG documents,<br />

but is used informally.<br />

DCT Q VLE<br />

DCT -1<br />

TABLE<br />

Q -1<br />

TABLE<br />

VLE -1<br />

The quantizer matrix could, in principle, be chosen<br />

adaptively to maximize the performance for a particular<br />

image. However, this isn’t practical. JPEG encoders for<br />

still images generally offer a choice of several compression<br />

settings, each associated with a fixed quantizer<br />

that is chosen by the system designer.<br />

Because different quantizer matrices may be associated<br />

with different images, the quantizer matrix must be<br />

conveyed to the decoder, as sketched in Figure 38.13,<br />

either as part of the file, or through a side channel. In<br />

color images, separate quantizers are typically used for<br />

the luma and chroma components. In stillframe applications,<br />

the overhead of this operation is small. In<br />

a realtime system, the overhead of conveying quantizer<br />

matrices with every frame, or even within a frame, is<br />

a burden.<br />

A modified approach to compression ratio control is<br />

adopted in many forms of M-JPEG (and also, as you will<br />

see in the next chapter, in MPEG): Reference luma and<br />

chroma quantizer matrices are established, and all of<br />

their entries are scaled up and down by a single numerical<br />

parameter, the quantizer scale factor (QSF, sometimes<br />

denoted Mquant). The QSF is varied to<br />

accomplish rate control.<br />

As I mentioned, JPEG ordinarily uses luma/chroma<br />

coding, and 4:2:0 chroma subsampling. But the JPEG<br />

standard accommodates R’G’B’ image data without<br />

458 DIGITAL VIDEO AND HDTV ALGORITHMS AND INTERFACES

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

Saved successfully!

Ooh no, something went wrong!