Beruflich Dokumente
Kultur Dokumente
SIGNAL
PROCESSING
Part 4
J.S. Lim, Two Dimensional Signal Processing, in Advanced Topics In Signal Processing, Prentice-Hall.
A.S.Kayhan
Signals:
Impulses: The 2-D impulse is,
1, n1 n 2 0
n1 , n 2
0, otherwise
A.S.Kayhan
xn1 , n2
x[k , k ] [n
1
k1 , n2 k 2 ].
k1 k 2
A.S.Kayhan
A.S.Kayhan
or
1, n2 0
xn1 , n2 T n2
0, otherwise
or
A.S.Kayhan
1, n1 n2
xn1 , n2 T n1 n2
0, otherwise
A.S.Kayhan
Step sequence:
n1 , n2 0
otherwise
1,
un1 , n2
0,
un1 , n2
n1
n2
[k , k ].
1
k1 k 2
or
n1 , n2 un1 , n2 un1 1, n2 un1 , n2 1 un1 1, n2 1
A.S.Kayhan
Separable sequences:
A separable sequence can be written as
xn1 , n2 f1 n1 f 2 n2
The impulse is separable
n1 , n2 n1 n2
Periodic sequences:
~
x n1 , n2 is periodic with period N1xN2 if
~
x n1 , n2 ~
x n1 N1 , n2 ~
x n1 , n2 N 2
Example: Periodic with 2x4
~
x n1 , n2 cos n1 ( / 2)n2
Digital Signal Processing
A.S.Kayhan
Systems:
The relation between the input
of the system is given by
y n 1 , n 2 F x n 1 , n 2 .
where
a y 1 n 1 , n 2 b y 2 n 1 , n 2 .
y i n 1 , n 2 F x i n 1 , n 2
, i 1, 2 .
y n 1
m 1 , n 2 m 2 .
Convolution:
For a LSI system with impulse response,
input/output relation is given by
A.S.Kayhan
h n 1 , n 2 ,the
x[k , k ]h[n
1
k1 , n2 k 2 ].
k1 k 2
xn1 , n2 * n1 m1 , n2 m2 x[n1 m1 , n2 m2 ].
A.S.Kayhan
Example:
y n1 , n 2
A.S.Kayhan
x [ k 1 , k 2 ] h [ n 1 k 1 , n 2 k 2 ].
k 1 k 2
A.S.Kayhan
yn1 , n2
x[k , k ]h [n
1
k1 ]h2 [n2 k 2 ]
k1 k 2
h [n
1
k1
h [n
1
k1 ] f k1 , n2
k1
A.S.Kayhan
Stability:
A system is BIBO stable iff a bounded input leads to a
bounded output. If
h[n , n ]
1
n1 n2
A.S.Kayhan
X (1 , 2 )
xn , n e
1
j1n1 j 2 n2
n1 n2
xn1 , n2
1
(2 ) 2
X (1 , 2 ) e j1n1 e j2 n2 d1d 2 .
A.S.Kayhan
A.S.Kayhan
Example:
Frequency Response:
If the input to Linear Shift Invariant (LSI) system is
x[n1 , n2 ] e j1n1 e j2 n2
then
y[ n1 , n2 ] H (1 , 2 ) e j1n1 e j2 n2
where
H (1 , 2 )
hk , k e
1
j1k1 j2 k 2
k1 k 2
Example:
Given LPF
A.S.Kayhan
1, 1 a and 2 b
H (1 , 2 )
otherwise
0,
H (1 , 2 ) H1 (1 ) H 2 ( 2 ).
A.S.Kayhan
then
sin(an1 ) sin(bn2 )
.
n1
n2
A.S.Kayhan
Example:
Given impulse response and magnitude response of a 2D LPF
as
A.S.Kayhan
10
Original
LP-Filtered
HP-Filtered
A.S.Kayhan
Example:
Given frequency response of a 2D LPF as
1,
H (1 , 2 )
0,
12 22 c
12 22 c and 1 , 2
A.S.Kayhan
11
A.S.Kayhan
2D Z-Transform:
2D Z-Transform is defined as
X ( z1 , z2 )
xn , n z
1
n1
z2
n2
n1 n2
A.S.Kayhan
12
Example:
Given 2D sequence
x[n1 , n2 ] a n1 b n2 un1 , n2
then
X ( z1 , z2 )
n1
b n2 un1 , n2 z1 n1 z 2 n2
n1 n2
a
n1 0 z1
n1
n2
b
1
1
, z1 a and z 2 b
1 az11 1 bz 21
n2 0 z 2
A.S.Kayhan
Inverse Z-Transform:
2-D polynomials, in general, can not be factored as a product
of lower order polynomials, therefore the partial fraction
expansion is not a general procedure for 2-D signals.
ak , k yn
1
( k1 , k 2 ) R A
k1 , n2 k 2
bk , k xn
1
k1 , n2 k 2
( k1 , k 2 ) RB
A.S.Kayhan
13
Example:
Given an IIR filter with a first quadrant impulse response as
H ( z1 , z 2 )
1
1 0.5 z11 z21
then
H ( z1 , z 2 )
Y ( z1 , z 2 )
1
X ( z1 , z 2 ) 1 0.5 z11 z 21
Y ( z1 , z 2 ) 0.5 Y ( z1 , z 2 ) z11 z 21 X ( z1 , z 2 )
y[n1 , n2 ] 0.5 y[n1 1, n2 1] x[n1 , n2 ]
A.S.Kayhan
End of Part 4
A.S.Kayhan
14