EE5356 Digital Image Processing Instructor: Dr. K.R. Rao Spring 2011, Test 1 Tuesday, 22 February 2011 2:00 – 3:20 PM (1 hour and 20 minutes) (CLOSED BOOK, CLOSED NOTES) INSTRUCTIONS: 1. Closed books and closed notes. 2. Please show all the steps in your works. 4. You can work problems in any order. At the end please rearrange in the correct order. 5. Please print your name and student ID. 6. No cheating, no talking. Name_______________________________________ Student ID ___________________________________ 1. For the Rayleigh density π’ π’2 exp (− 2 ) , π’ > 0 ππ’ (π’) = {π 2 2π 0 Show that the compander transformation is π₯ π(π₯) = π ∫ πΌ 1⁄3 exp (− 0 ,π’ < 0 πΌ2 ) ππΌ − 1 6π 2 where c is a normalization constant such that f(∞) = 1. Hint: π₯ ∫0 [ππ’ (π’)]1⁄3 ππ’ π(π₯) = π { π‘πΏ+1 },π₯ ≥ 0 ∫0 [ππ’ (π’)]1⁄3 ππ’ π(π₯) = π(−π₯), π₯ < 0 2. Complete the following matrices: 1 3 2 4 5 6 1 7 3 1 1:2 upsampling H & V Based on ZOH ο 1:2 upsampling H & V Based on FOH ο 3. Define zero order hold (ZOH) and first order hold (FOH). 4. (a) Complete the equation for Leibnitz rule: π(π‘) π(π‘) π π [∫ π(π₯, π‘)ππ₯ ] = ∫ [ π(π₯, π‘)] ππ₯ + β― ππ‘ π(π‘) π(π‘) ππ‘ (b) The sketch below shows forcing a uniform quantizer on a non-uniform pdf for step size Δ, given the number of output levels L. [Fig. 1. Pdf of x.] How does the step size Δ affect granular noise and overload noise? Explain clearly. 5. Explain dithering (pseudorandom noise quantization). Sketch and explain clearly. 6. Compandor. Sketch and explain the role of a compandor. 7. In an uniform quantizer for uniform PDF, if the number of output levels is doubled, what is the increase in PSNR in dB? What is the penalty for this? 8. Define first order entropy. (Both in words & equation.) 9. A Lloyd-max quantizer with L output levels is shown and the equations for MSE are given: Q u input )2 π‘πΏ+1 ∫π‘ (π’ 1 π’Μ output [Fig. 2. L level quantizer.] π‘ − π’Μ ππ’ (π’)ππ’ = ∑πΏπ=1 ∫π‘ πΏ+1(π’ − π’Μ )2 ππ’ (π’)ππ’ )2 MSE = πΈ[(π’ − π’Μ ] = 1 where, ti = input level ri = output level (π’Μ = ri, ti < ri < ti+1, i=1, 2, … , L) Get expressions for ti, ri (closed forms). What is the meaning of ri? 10. Sketch the midrise uniform quantizer and the midtread uniform quantizer. Label the axes. 11. A bandlimited 2 D spatial signal shown in fig. 3(a) is in the 2D frequency domain. It is uniformly sampled in the 2D spatial domain along a uniform sampling grid shown in fig. 3(b). π1 1/2 Region of support π1 1/2 -1/2 -1/2 (a) y 3 2 1 -5 -4 -3 -2 -1 0 1 2 3 4 x -1 -2 -3 (b) [Fig. 3. (a) β±[π(π₯, π¦)] = πΉ(π1 , π2 ). (b) 2 D uniform (infinite) sampling array.] Sketch its Fourier transform. 12. What happens if a bandlimited signal is sampled below the Nyquist rate? 13. Define the Nyquist sampling theorem. 14. The Fourier transform X(w) of a signal x(t) is shown: |X(w)| - fB 0 fB f [Fig. 4. Fourier transform of band-limited signal x(t).] x(t) is a band limited signal with bandwidth fB Hz. x(t) is sampled uniformly by multiplying with an impulse train: comb(t: T0) -3 T0 -2 T0 - T0 0 T0 2 T0 3 T0 t [Fig. 5. comb(t: T0).] 1 )]), Sketch β±([π₯(π‘)][ππππ(π‘, π0 assume > 2ππ΅ . How can x(t) be recovered from the uniformly π0 sampled values? 15. Find the Fourier transform of a periodic impulse train. Do not derive. Also draw a clear sketch of the Fourier transform. The given impulse train is represented as: -3βx -2βx -βx ∞ βx 2βx 3βx [Fig. 6. Periodic impulse train.] comb(x: βx) = ∑ δ(x − m β βx) π=−∞ 0 x