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.

Taken literally, decimation involves<br />

a ratio of 10:9, not 10:1.<br />

For details of interpolators and<br />

decimators, see Crochiere, Ronald<br />

E., and Lawrence R. Rabiner,<br />

Multirate Digital Signal Processing<br />

(New York: Prentice-Hall, 1983).<br />

aliasing – and upsampling, where lowpass filtering is<br />

necessary to suppress “imaging.” In signal processing,<br />

the term interpolation generally implies upsampling,<br />

that is, resampling to any ratio of unity or greater. (The<br />

term interpolation also describes phase shift without<br />

sample rate change; think of this as the special case of<br />

upsampling with a ratio of 1:1.)<br />

Downsampling with a ratio of 10:9 is analogous to the<br />

policy by which the Roman army dealt with treachery<br />

and mutiny among its soldiers: One in ten of the<br />

offending soldiers was put to death. Their term decimation<br />

has come to describe downsampling in general.<br />

Lowpass filtering in decimation<br />

Earlier in this chapter, I expressed chroma subsampling<br />

as 2:1 decimation. In a decimator, samples are lowpass<br />

filtered to attenuate components at and above half the<br />

new sampling rate; then samples are dropped. Obviously,<br />

samples that are about to be dropped need not<br />

be computed! Ordinarily, the sample-dropping and<br />

filtering are incorporated into the same circuit.<br />

In the example of halfband decimation for chroma<br />

subsampling, I explained the necessity of lowpass<br />

filtering to 0.25 f S. In the 4f SC NTSC to Rec. 601<br />

example that I presented in Polyphase interpolators, on<br />

page 181, the input and output sample rates were so<br />

similar that no special attention needed to be paid to<br />

bandlimiting at the result sample rate. If downsampling<br />

ratio is much greater than unity – say 5:4, or greater –<br />

then the impulse response must incorporate a lowpass<br />

filtering (prefiltering, or antialiasing) function as well as<br />

phase shift. To avoid aliasing, the lowpass corner<br />

frequency must scale with the downsampling ratio. This<br />

may necessitate several sets of filter coefficients having<br />

different corner frequencies.<br />

CHAPTER 17 RESAMPLING, INTERPOLATION, AND DECIMATION 185

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

Saved successfully!

Ooh no, something went wrong!