Separable System in Multidimensional Signal Process - Study Guide | EEE 507, Study notes of Electrical and Electronics Engineering

Material Type: Notes; Professor: Karam; Class: Multidimension Signal Process; Subject: Electrical Engineering; University: Arizona State University - Tempe; Term: Spring 2004;

Typology: Study notes

Pre 2010

Uploaded on 09/02/2009

koofers-user-zwv
koofers-user-zwv 🇺🇸

9 documents

1 / 35

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Separable Systems
Separable
Systems
A 2D LSI system is separable if its impulse response is a separable
sequence
sequence
h(n1,n2) = h1(n1)h2(n2)
If LSI s
y
stem is se
p
arable, we can im
p
lement it more efficientl
y
yp p y
∑∑
−− = 1
0
1
0
21221121 ),(),(),( N
k
N
k
kkhknknxnny
=
=
0
0
12
k
k
¾If h(n1,n2) is NxN, we need N2multiplications and N2-1 adds for each
computed output sample y(n1,n2) for a general 2D LSI system.
Copyright 2004 by Prof. Lina Karam
1#
EEE 507 - Lecture 2 1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23

Partial preview of the text

Download Separable System in Multidimensional Signal Process - Study Guide | EEE 507 and more Study notes Electrical and Electronics Engineering in PDF only on Docsity!

Separable SystemsSeparable

Systems

-^

A 2D LSI system is separable if its impulse response is a separablesequencesequence

h

( n

n

h

n

h

n

-^

If LSI system is separable, we can implement it more efficiently

y

p

p

y

−^

1 0

1 0

2 1 2 2 1 1 2 1

N k

N k

k k h k n k n x n n y

=^

= 0

0

1

2

k^

k

If

h

( n

, 1 n

) is NxN, we need 2

N

2

multiplications and

N

2 -1 adds for each

computed output sample

y

( n

, 1 n

) for a general 2D LSI system. 2

Copyright 2004 by Prof. Lina Karam

EEE 507 - Lecture 2

1

Separable SystemsSeparable

Systems

¾

If

h

( n

, 1 n

) separable: 2

∑∑

− =

− =

1 0

1 0

2 2 1 1 2 2 1 1 2 1

1

2

N k

N k

k h k h k n k n x n n y

−^

1

1

N^

N

=^

=

0

2 1

1

0

2 2 2 2 1 1 1 1 1

2

k^

k

n k

n g

k h k n k n x k h 4 4 4 4

-^

1D

convolution in

n

2

direction

− =

1 0

2 1 1 1 1 1

N k

n k n g k h

-^

1D

convolution in

n

1

direction

¾

Then

) ( ) , ( ) ,

(^

2 2 2

2

1 0

1

2 1

2

k h k n n x n n g

N k^

=

− =

=

1

1 1 2 1 1 2 1 ) ( ) , ( ) , (

N

k h n k n g n n y ¾

Then

Copyright 2004 by Prof. Lina Karam

2

=^01 k

Separable SystemsSeparable

Systems

Theorem:

then ),

( ) ( ) , (

and ) ( ) ( ) , (

If

2 2 1 1 2 1 2 2 1 1 2 1 n h n h n n h n x n x n n x

=

=

) , ( ) , ( ) , ( 2 1 2 1 2 1 n n h n n x n n y

∗ ∗

=

)

(

)

(

2

2

1

1

n y n y = ) , ( ) , ( ) , (

2 1 2 1 2 1 n n h n n x n n y

.)

(

)

(

)

(

and ) ( ) ( ) (

where

2 2 2 2 2 1 1 1 1 1 n h n x n y n h n x n y

=

=

)

(

)

(

2

2

1

1

n

y

n

y^ Copyright 2004 by Prof. Lina Karam

4

Computational SavingsComputational

Savings

Assume:

x: M×Mh: N×N

(M>N)

h: N×N

(M>N)

1-D

x

(M-point) with 1-D

h

(N-point)

MN

Multiplies (Mults)

2 D

ith 2 D

h

M
2 N

2

M lt

2-D

x

with 2-D

h

M
2 N

2

Mults

2-D

x

with separable

h

M(MN)+(M+N-1)MN
2 M
2 N

Mults

2-D separable

x

with separable

h

2MN+(M+N-1)

2

Mults

Numerical Illustration: M=8; N=

576 Mults

312 Mults => 46% less

58 Mults

Copyright 2004 by Prof. Lina Karam

5

2D Discrete

Domain Systems

2D

Discrete-Domain Systems

-^

Auxiliary Definitions:

S pport ¾

Support

A sequence

x(n

,n 1

has support on R if

x(n

,n 1

for

(n

,n 1

R.

A system has support on

R

if its impulse response has support on

R.

Copyright 2004 by Prof. Lina Karam

EEE 507 - Lecture 2

7

Frequency Response of 2

D Systems

Frequency

Response of 2-D Systems

)

(^

n

n

j

ω

ω

)

(^

2 2

1 1

n

n

j e

ω

ω

)

,

(^

2

1

n

n h

= )

, (^

2

1

n

n y Copyright 2004 by Prof. Lina Karam

8

Frequency Response of 2-D Systems

q

y

p

y

-^

Example

n^2

h(n

,n 1

) 2

n^1

Question: Is this a separable system?Note: If a sequence is separable each row is a multiple of everyNote: If a sequence is separable, each row is a multiple of everyother row and each column is a multiple of every other column.

Copyright 2004 by Prof. Lina Karam

10

Frequency Response of 2

D Systems

Frequency

Response of 2-D Systems

-^

Example

n^2

h(n

,n 1

) 2

n^1

Determine the system frequency response:

j

j

=

1

2

2 2

1 1

)

,

(

)

,

(^

2

1

2

1

n^

n

jn

jn

n n h e e H

ω

ω

?

)

,

(^

2

1

=

n

n h

)

,

(^

2

1

Copyright 2004 by Prof. Lina Karam

11

Frequency Response of 2

D Systems

Frequency

Response of 2-D Systems

-^

ExampleDetermine the system frequency response:

Note:

(^
b a f b n a n n n
f^

δ

(^
a f a n n f n

δ

Copyright 2004 by Prof. Lina Karam

13

(^

2

1

2 1

1

2

b a f b n a n n n f

n^

n

δ

Frequency Response of 2

D Systems

Frequency

Response of 2-D Systems

-^

ExampleDetermine the system frequency response:

Copyright 2004 by Prof. Lina Karam

14

The 2-D Fourier Transform•^

The Fourier Transform of a sequence x(n

,n 1

) is defined as: 2

) ( 2 1 2 1 2 2 1 1

1

2

)

,

(

)

,

(^

n

n j

n^

n

e

n

n x

X

ω

ω

∑∑

Note: The 2D Fourier Transform is periodic with period 2

π

in

both

ω

1

and

ω

. 2 -^

The 2D inverse Fourier Transform is given by:

g

y

2 1 ) ( 2 1 2 2 1

ω

ω

ω

ω

π

ω

ω

π^

π

d d e X n n x

n

n j^

∫ ∫

-^

Note:

The frequency response is the Fourier transform of the

impulse response.

π

π^

π

−^

Copyright 2004 by Prof. Lina Karam

16

2-D Fourier Transform

b

1

Example:

⎧ ⎨ ⎩

<

<

=

otherwise

b

a

H

, 0

,

, 1

)

,

(^

2

1

2

1

π ω π ω ω ω

ω

2

b

π

ω

1

a

π

-^

π

-a

-b

-

π

Copyright 2004 by Prof. Lina Karam

17

2

D Fourier Transform

2

D

Fourier Transform

⎧ ⎨

<

<

,

, 1

)

(^

2

1

π ω π ω ω ω

b

a

H Example:

⎨ ⎩

otherwise

, 0

)

, (^

2

1

ω

ω H

ω

2

b

π

ω

1

a

π

-^

π

-a

-b

-

π

Copyright 2004 by Prof. Lina Karam

19

M

D Fourier Transform

M

D

Fourier Transform

-^

M-D Fourier Transform of a sequence x(n

,n 1

,…,n 2

M

):

) ( 2 1 2 1

1 1

1

2

) , , , ( ) , , , (

M M

M

n

n j

n^

n

M

n

M

e n n n x X

ω

ω

ω

ω

ω

K

K

K

K

=

-^

Inverse M-D Fourier Transform:

1

2

M

π^

π

1

M

n

n j

M

egral

M M

M

d d d e X n n n x

M

ω ω ω ω ω ω π

ω

ω

ω

π^

π

K

3 2 1

K

K

K

2 1 ) ( 2 1

int

2 1

2 2 1 1

)

,...,

,

(

) (^2) (

1

)

,

, , (^

−^

∫^

=

Copyright 2004 by Prof. Lina Karam

20#

20