Fourier Descriptors and Normalized Cuts Homework, Assignments of Electrical and Electronics Engineering

Homework problems on two topics: fourier descriptors and normalized cuts. The first topic covers the discrete fourier transform (dft) of a 2d shape represented by complex numbers, and the effects of translations, scalings, rotations, and changes in starting points on the dft coefficients. The second topic deals with the normalized cuts algorithm, starting from its definition and leading to the final criterion function. Students are asked to derive expressions for the dft coefficients of transformed signals and suggest methods for shape matching invariance, as well as to solve the minimization problem using the rayleigh quotient.

Typology: Assignments

Pre 2010

Uploaded on 02/13/2009

koofers-user-1bh-1
koofers-user-1bh-1 🇺🇸

10 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
1
Homework 2
I. FOURIE R DES CR IP TORS
Let a 2D shape be represented by Npoints on its outer contour. The co-ordinates of these points will be considered as
complex numbers
U=
x0+jy0
x1+jy1
.
.
xN1+jyN1
(1)
where j=1. Considering Uto be a periodic signal, its discrete fourier transform (DFT) can be written as
F(k) =
N1
X
n=0
U(n)exp(j2π
Nnk)(2)
where U(n) = xn+jyn, for k= 0 . . . N 1.
Consider the situation when the points in the contour undergo
1) Translation: ˜
U(n) = U(n) + tn= 0 . . . N 1.
2) Scaling: ˜
U(n) = sU(n)n.
3) Rotation: ˜
U(n) = exp()U(n)n.
4) Change in starting point ˜
U(n) = U((n+m)mod(N)) n(cyclical shift by munits).
Question 1: Derive expressions for the DFT coefficients ˜
F(k)of ˜
U(n)in terms of F(k)and the transformation parameters
{t, s, θ, m}. (5 marks)
Question 2: If you had to match shapes using their Fourier descriptors, suggest methods to achieve invariance to the above
transformations i.e. 2 shapes which are related by the above transformations should still be declared to be the same shape even
though their raw DFT coefficients may be different. (5 marks).
II. NORMA LI ZE D CUT S
Question 1: Starting from the definition of Normalized cuts in Shi and Malik’s paper, work your way towards the final
criterion function given in equation (5) of the paper
minxNcut(x) = miny
yT(DW)y
yTDy (3)
(Derivation for the part before the definitions of α(x), β(x), γ will be made available on the course site). (5 marks)
Question 2: Solve the above minimization problem using the Rayleigh quotient result. (5 marks)

Partial preview of the text

Download Fourier Descriptors and Normalized Cuts Homework and more Assignments Electrical and Electronics Engineering in PDF only on Docsity!

1

Homework 2

I. FOURIER DESCRIPTORS

Let a 2D shape be represented by N points on its outer contour. The co-ordinates of these points will be considered as complex numbers

U =

x 0 + jy 0 x 1 + jy 1 . . xN − 1 + jyN − 1

where j =

− 1. Considering U to be a periodic signal, its discrete fourier transform (DFT) can be written as

F (k) =

N∑ − 1

n=

U (n)exp(−j

2 π N

nk) (2)

where U (n) = xn + jyn, for k = 0... N − 1. Consider the situation when the points in the contour undergo

  1. Translation: U˜ (n) = U (n) + t ∀n = 0... N − 1.
  2. Scaling: U˜ (n) = sU (n) ∀n.
  3. Rotation: U˜ (n) = exp(jθ)U (n) ∀n.
  4. Change in starting point U˜ (n) = U ((n + m)mod(N )) ∀n (cyclical shift by m units). Question 1: Derive expressions for the DFT coefficients F˜ (k) of U˜ (n) in terms of F (k) and the transformation parameters {t, s, θ, m}. (5 marks) Question 2: If you had to match shapes using their Fourier descriptors, suggest methods to achieve invariance to the above transformations i.e. 2 shapes which are related by the above transformations should still be declared to be the same shape even though their raw DFT coefficients may be different. (5 marks).

II. NORMALIZED CUTS

Question 1: Starting from the definition of Normalized cuts in Shi and Malik’s paper, work your way towards the final criterion function given in equation (5) of the paper

minxN cut(x) = miny

yT^ (D − W )y yT^ Dy

(Derivation for the part before the definitions of α(x), β(x), γ will be made available on the course site). (5 marks) Question 2: Solve the above minimization problem using the Rayleigh quotient result. (5 marks)