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.

Figure 18.9 Response of<br />

[1, 1] FIR filter operating<br />

in the vertical domain,<br />

scaled for unity gain, is<br />

shown. This is a two-line<br />

(1H) comb filter. Magnitude<br />

falls as cos ω.<br />

⎡1<br />

1⎤<br />

⎢ ⎥<br />

⎣⎢<br />

1 1⎦⎥<br />

⎡1<br />

2 1⎤<br />

⎢ ⎥<br />

⎢2<br />

4 2⎥<br />

⎢<br />

⎣<br />

1 2 1⎥<br />

⎦<br />

Figure 18.10 Separable<br />

spatial filter examples<br />

⎡1<br />

1 1⎤<br />

⎢ ⎥<br />

⎢1<br />

1 1⎥<br />

⎢<br />

⎣<br />

1 1 1⎥<br />

⎦<br />

⎡0<br />

0 1 0 0⎤<br />

⎢<br />

⎥<br />

⎢0<br />

1 1 1 0⎥<br />

⎢1<br />

1 1 1 1⎥<br />

⎢<br />

⎥<br />

⎢0<br />

1 1 1 0⎥<br />

⎢<br />

⎣0<br />

0 1 0 0<br />

⎥<br />

⎦<br />

Figure 18.11 Inseparable<br />

spatial filter examples<br />

1<br />

0.5<br />

0<br />

0<br />

0.5LA Frequency, ω, C/PW<br />

LA (=1·fS )<br />

(picture) samples per line, and these two samples are<br />

presented to a comb filter like that of Figure 16.19, on<br />

page 156, but having 639 zero-samples between the<br />

two “ones,” then the action of the comb filter will be<br />

identical to the action of a filter having two taps<br />

weighted [1, 1] operating in the vertical direction. In<br />

Figure 16.12, on page 153, I graphed the frequency<br />

response of a one-dimensional [1, 1] filter. The graph in<br />

Figure 18.9 above shows the response of the comb<br />

filter, expressed in terms of its response in the vertical<br />

direction. Here magnitude response is shown normalized<br />

for unity gain at DC; the filter has a response of<br />

about 0.707 (i.e., it is 3 db down) at one-quarter the<br />

vertical sampling frequency.<br />

Spatial filtering<br />

Placing a [1, 1] horizontal lowpass filter in tandem with<br />

a [1, 1] vertical lowpass filter is equivalent to computing<br />

a weighted sum of spatial samples using the weights<br />

indicated in the matrix on the left in Figure 18.10.<br />

Placing a [1, 2, 1] horizontal lowpass filter in tandem<br />

with a [1, 2, 1] vertical lowpass filter is equivalent to<br />

computing a weighted sum of spatial samples using the<br />

weights indicated in the matrix on the right in<br />

Figure 18.10. These are examples of spatial filters. These<br />

particular spatial filters are separable: They can be<br />

implemented using horizontal and vertical filters in<br />

tandem. Many spatial filters are inseparable: Their<br />

computation must take place directly in the two-dimensional<br />

spatial domain; they cannot be implemented<br />

using cascaded one-dimensional horizontal and vertical<br />

filters. Examples of inseparable filters are given in the<br />

matrices in Figure 18.11.<br />

CHAPTER 18 IMAGE DIGITIZATION AND RECONSTRUCTION 191

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

Saved successfully!

Ooh no, something went wrong!