Docsity

ECE547 Exercise 4: Quantization, FFT, Warping and Affine Transformations, Assignments of Electrical and Electronics Engineering

Toggle sidebar
bg1
ECE547: Exercise 4
Due date: Oct. 23rd, 2008
Problem 1
The value of the continuous-valued random variable
n
x
ranges from 0 to 1.
n
x
is uniformly quantized
with 256 levels, to yield
ˆ
n
x
. Assume the “Input quantization Folk theorem” is valid.
(a) Find
( )
n
p
,
( )
n
E
and
2
n
.
(b) Find
( )
n
E
,
2
n
,
( )
n m
E
as a function of n and m, and
( )
n
p
.
input sequence output sequence
n
x
n
y
n
x
ˆ
n
x
ˆ
n
y
nnn
yy ˆ
H:
1
1
ˆ ˆ ˆ
n n n
n n n
y x x
y x x
Problem 2
Fast Fourier Transform (FFT):
(a) Write down the 6-point DFT Matrix W.
(b) Since 6 = 2x3, according to the mathematical view of the FFT algorithm, we can factor W
thus:
W = W1W2
(W, W1, W2 are all 6x6 matrices)
where W1 has only 2x6 = 12 non-zero elements, and W 2 has only 3x6 = 18 non-zero elements. Find
W1 and W2.
(Hint: Follow the signal processing view of FFT to derive a flow chart for 6-point FFT. Then you can
get W1 and W2 from this flow chart.)
H
Q H
pf3

Partial preview of the text

Download ECE547 Exercise 4: Quantization, FFT, Warping and Affine Transformations and more Assignments Electrical and Electronics Engineering in PDF only on Docsity!

ECE547: Exercise 4

Due date: Oct. 23

rd

Problem 1

The value of the continuous-valued random variable

n

x

ranges from 0 to 1.

n

x

is uniformly quantized

with 256 levels, to yield

n

x

. Assume the “Input quantization Folk theorem” is valid.

(a) Find

n

p 

n

E 

and 2

n

(b) Find

n

E 

n

n m

E  

as a function of n and m, and

n

p 

input sequence output sequence

n

x

n

y

n n n

x x

n

x ˆ

n

x ˆ

n

y

n n n

y y

H:

1

1

n n n

n n n

y x x

y x x

Problem 2

Fast Fourier Transform (FFT):

(a) Write down the 6-point DFT Matrix W.

(b) Since 6 = 2x3, according to the mathematical view of the FFT algorithm, we can factor W

thus:

W = W

1

W

2

(W, W

1

, W

2

are all 6x6 matrices)

where W 1

has only 2x6 = 12 non-zero elements, and W 2

has only 3x6 = 18 non-zero elements. Find

W

1

and W 2

(Hint: Follow the signal processing view of FFT to derive a flow chart for 6-point FFT. Then you can

get W 1

and W 2

from this flow chart.)

H

Q H

Problem 3

Linear warping is defined as the mapping from F( x ) to G( z ) by some transformation z =Mx satisfying

G(Mx ) = F( x ).

Find the transformation matrix M of 2D warping illustrated by Figure (I)-(IV) for (a) Cartesian

coordinate system and (b) homogenous coordinate system respectively

(a) x =(x,y), z = ( z ,) , x, y, z ,∈ I

(b) x =(x,y,1), z = ( z ,,1) , x, y, z ,∈ I

If you believe M does not exist, please indicate and explain.

(I)

(II)

Problem 4

Affine warping can be extended to space of higher dimensions. For example, in 3D space, the affine

warping is defined as

Apparently the affine warping can be uniquely specified by 4 pairs of correspondences. While 4

vertices in a 3D space specify a triangular pyramid, any point in the triangular pyramid can be defined

as linear combination of the four vertices with some coefficient

similar to 2D warping case.

x

y

z

x

y

z

1 2 3 4

1 2 3 4

1 2 3 4

a a a a x

b b b b y

c c c c z

z