Pages by Bose-Digital
Pages by Bose-Digital
Pages by Bose-Digital
IMAGE PROCESSING
TAMAL BOSE
SOLUTION MANUAL
CHAPTER 1
Ratchaneekorn Thamvichai
Tamal Bose
Problem 1:
(a) Digital signal or sequence
(b) Continuous-time signal
(c) Continuous-time signal
(d) Discrete-time signal or sequence
Problem 2:
Problem 3:
Discete-time signal is one that is defined at quantized time, i.e. time t is quantized in steps of
T s : t nT s . Note that the signal is simply undefined for noninteger values of n.
Discrete-time sequence is a sequence of numbers with no time reference between data samples.
Analog signal: continous-time and continuous-amplitude signal
Digital signal: discrete-time and descrete-amplitude signal
Problem 4:
varSn
xn Sn kVn, SNR x 10 log 10 varKVn
since SNR x 20 dB
varSn
10 log 10 10 log 10 0. 25 20 dB
varKVn K
0. 5 10 2 K 2
1
K 0. 52
2
0. 07071
10
Problem 5:
varSn 0. 5
SNR x 10 log 10 10 log 10 3. 01 dB
var0. 5Vn 0. 5 2 1
from
4 0.
1
5 0. 5 1
10 log 10 10 log 10 4
10 log 10 2
1
16
1 1 1
8
3. 01 dB
Problem 6:
(a) x 1 t t 2t 2t 0
(c) x 3 t e 3t t 2dt
e 32 t 2dt e 6
(d) x 4 t e 2t / t 2dt
1 dtd e 2t t2
12e 2t | t2 2e 4
Problem 7:
5
(a) xnn 5 x5n 5 1
2
n 5 1
32
n 5
xnn k xn n k xnun 1 n
(b) 2
un
ko ko
Problem 8:
t
(a) 2t 4t 2dt
1
since 4t 2 1 when 1
2
4t 2 1
2
3
8
t 5
8
t
1. if t 3
8
: 1 4t 2dt 0
t t
2. if 3
8
t 5
8
: 1 4t 2dt 3 1 dt t 3
8
8
t 5
3. if t 5
8
: 1 4t 2dt 38 1dt 2
8
1
4
8
(b) t 2utdt t 2u2dt u2 1
(c) a n un 2 un 2
a 2 n 2 a 1 n 1 n an 1
(d) 3 sin 0. 15n 6
un
Problem 9:
x0
(a) xn 1 6 3 4 9 2
even part 1
2 xn xn and odd part 1
2 xn xn
since xn x0
2 9 4 3 6 1
even part 1 9
2 3
3
x0
1 3 3
2 9
1
2 2 2 2
odd part 1 92 2 32 3
x0
0 3 3
2 9
1
2 2
Note: xn even part odd part
(b) yn 5 2 3 1 0 4 3
yn 3 4 0 1 3 2 5
even part 1
2 yn yn
3
2
2 0 1
2
32 1 5 1 32 1
2
0 2 3
2
odd part 1
2 yn yn
32 2 0 12 3
2
1 0 1 32 1
2
0 2 3
2
Problem 10:
(a) ft e 3t1 t e 1 t 1
e t.
t 0 ,t 0
(b) ft e / d
1 d
dt
e t0
,t 0
0, t 0
1, t 0
1
(c) ft t 2 4dt 0
1
since x 2 a 2 2|a|
1
x a x a, then
1 1
ft t 2 t 2dt
1 4
1 1
1
4 1
t 2dt 1
4
1 t 2dt 0
(d) ft t 4dt
2 1
t 2 t 2dt
4
14 1 1 12 .
Problem 11:
(a) xt A cos 0 t B sin 0 t
even part x e t 12 xt xt
12 A cos 0 t B sin 0 t 12 A cos 0 t B sin 0 t
12 A cos 0 t A cos 0 t 12 B sin 0 t B sin 0 t
12 A cos 0 t A cos 0 t 12 B sin 0 t B sin 0 t
A cos 0 t
odd part x 0 t B sin 0 t
Problem 12:
Property 5: ft t ft
ft t ft d
Prop 4
f td f |1|
1
t d
ft d ft
(Prop 2)
Problem 13:
(a) xn n 0. 5n 2 n 2 0. 5n 3 [unique]
un 0. 5un 1 1. 5n 2 0. 5un 3 0. 5un 4 or:
(b)
0. 5un 3 0. 5u2 n 1. 5u1 n0. 5un u1 n
Problem 14:
Let xn be a periodic sequence with period P 1 . Let yn be a periodic sequence with period P 2 .
zn xn yn is always periodic with fundamental period P 1 k 1 P 2 k 2 P for integer k 1 and k 2 .
Let zn xn yn,
zn P xn P yn P
xn k 1 P 1 yn k 2 P 2
xn yn
zn
Problem 15:
(a) sin 2
n 4
:frequency w 0 2
.
(b)
Problem 16:
No. Example periodic continous time signal xt sint
Problem 17:
(a) cos 37
n 0. 45 is periodic with period 14.
want cos 3nP
7
0. 45 cos 3 7
n 0. 45
cos 3
7
n 0. 45 cos 3
7
P sin 3
7
n 0. 45 sin 3
7
P
1 0
P 2m
3
7
P 143 m
let m 3, P 14
(b) sin0. 7n is not periodic
0. 7P 2m
P 2
0.7
m no integer m such that P is integer
(c) sin0. 4n cos0. 4n is periodic with period 5.
0. 4P 2m
P 0.4
2
m 5m
(d) 3 sin 0. 5n 2
cos 13
15
n is not periodic.
Problem 18:
xn cos 2
3
n 2 sin 16
3
n is periodic with P 3
2nP 16nP
xn xn P cos 3
2 sin 3
1 0
cos 2
3
n cos 2
3
P sin 2
3
n sin 2
3
P
2 sin 16
3
n cos 16
3
P cos 16
3
n sin 16
3
P
1 0
want 2
3
P 2m and 16
3
P 2m
P 3m P 38 m
3 m 1 3 m 8
Problem 20:
(a) 0 2 0 2
xn A cos 0 n
x0 0 A cos or 3
2 2 2
x1 2 A cos 0 n
2
A 2, 0 2m 0m 0
2
0
2
let A 2, w 0 2
, and 2
check
x2 2 cos 2 2 2 2 cos 2 0
x3 2 cos 3 2 2 2 cos 2
Then A 2, w 0 2 , and 2k 2 for any integer k.
(b) 1 1 1 1
(1) x0 1 A cos
(2) x1 1 A cos 0
(3) x2 1 A cos2 0
(4) x3 1 A cos3 0
0 2m 1 2
let 0 2
(c) 2 2 0 2 2 2 0 2
xn 2 cos 4
n 2k for integer k
A 2, 0 4
, and 2k.
Problem 21:
(a) f 1
20
cycles/ sample
(b) from f F
Fs
, F f Fs 1
20
100 5 Hz.
Problem 22:
want f 0. 3 cycles/ samples
from xt cos 7. 5t 3 , 7. 5 2F
F 7.5
2
Hz
then F s Ff 20.3
7.5
12. 5 samples/sec.
Problem 23:
sin21t has frequency F 21
2
10. 5 Hz xt sin21t cos16t
cos16t has frequency F 16
2
8 Hz has Nyquist frequency F H 10. 5 Hz
since F s 50 Hz 2F H 21 Hz), we can reconstruct the signal.
Problem 24:
zt 0. 5 t sin21t cos16t
The Nyquist frequency does not exist since 0. 5 t has unlimited bandwidth. Therefore, we cannot uniquely
reconstruct the signal.
Problem 25:
(a) yn Rxn 2xn 1 xn 2xn 1
linear
y 1 n Rx 1 n 2x 1 n 1 x 1 n 2x 1 n 1
y 2 n Rx 2 n 2x 2 n 1 x 2 n 2x 2 n 1
R 1 x 1 n 2 x 2 n 2 1 x 1 n 1 2 x 2 n 1
1 x 1 n 2 x 2 n 2 1 x 1 n 1 2 x 2 n 1
1 2x 1 n 1 x 1 n 2x 1 n 1
2 2x 2 n 1 x 2 n 2x 2 n 1
1 Rx 1 n 2 Rx 2 n 1 y 1 n 2 y 2 n
shift-invariant
Rxn m 2xn m 1 xn m 2xn m 1
yn m 2xn m 1 xn m 2xn m 1
yn m Rxn m
non-causal yn depends on xn 1
BIBO stable
|yn| |2xn 1 xn 2xn 1|
2|xn 1| |xn| 2|xn 1|
if |xn| for all n (bounded input), |yn| 5 (bounded output).
(b) yn Rxn 0. 5 n xn
linear
R 1 x 1 n 2 x 2 n 0. 5 n 1 x 1 n 2 x 2 n
1 0. 5 n x 1 n 2 0. 5 n x 2 n
1 Rx 1 n 2 Rx 2 n
Shift-variant
Rxn m 0. 5 n xn m
yn m 0. 5 nm xn m
yn m Rxn m
Causal
Non BIBO stable
|yn| |0. 5 n xn|
0. 5 n |xn|
As n , |yn| , which implies unstable system.
Shift-variant
Causal
Non BIBO stable
|yn| |xn| |n|
As n , yn , which implies the system is unstable.
(d) yn Rxn yn 1 xn
linear
y s n
y 1 n y 1 n 1 x 1 n
y 1 n y 2 n y 1 n 1 y 2 n 1 x 1 n x 2 n
y 2 n y 2 n 1 x 2 n
y s n Rx 1 n x 2 n Rx 1 n Rx 2 n
Shift-invariant
let xn n m,
let xn n
for m 0 : for m 0 :
y0 1
y 1 0 0 y 1 m 1
y1 1
y2 1 y 1 1 0 y 1 m 1 1
y 1 m 0 y 1 0 1
y 1 m 1 y 1 m 1 y 1 1 1
h 1 n 1 for n 0
h 1 n 1 for n m
Shift-invariant
Causal
BIBO stable
|yn| |sinxn xn 1| 1
Problem 26:
3t
(a) yt Rxt xd