Exam1

advertisement
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
Download