
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Assignment 4 for the computer vision course (cse252) taught by prof. Serge belongie at ucsd. The assignment covers three topics: optical flow using the lucas-kanade algorithm, spline interpolation, and pairwise clustering. Students are required to implement the lucas-kanade algorithm, prove constraints for cubic spline functions, reproduce interpolated grid points from bookstein's paper, and apply normalized cuts for clustering.
Typology: Assignments
1 / 1
This page cannot be seen from the preview
Don't miss anything!

CSE252 – Computer Vision – Assignment # Instructor: Prof. Serge Belongie. http://www-cse.ucsd.edu/classes/sp03/cse Target Due Date: Tue. May 27, 2003.
(a) Implement the Lucas-Kanade optical flow algorithm. Demonstrate it on the translating square sequence in frames.mat. Matlab hints: quiver. (b) Use the eigenvalues of AT^ A to identify the regions with reliable optical flow.
(a) Let U (x) = |x|^3 denote the cubic spline, which is the 1D counterpart to the thin plate spline (TPS). Prove that in order for the function
f (x) = a + bx +
∑^ n
i=
wiU (x − xi)
to have a square integrable second derivative, the following constraints must be satisfied:
∑^ n
i=
wi = 0 and
∑^ n
i=
wixi = 0.
(b) Reproduce Fig. 4 in Bookstein’s 1989 PAMI paper. You do not need to reproduce the principal warps part (i.e. the signed segments or the little table), but you do need to show the interpolated grid points and compute the integral bending norm. (c) Repeat the previous step using regularization, i.e. replace K by K + λI, and demonstrate the effect of varying λ.
(a) Run the script make_pointset.m to produce the pointset shown in class consisting of an annulus and an off-center clump. Calculate and display the affinity matrix using the Gaussian weighted Euclidean distance wij = e−(dij^ /α)
2 . (b) Implement the Normalized Cuts algorithm to partition this pointset into two clusters. Run your algorithm with several choices of α and discuss the resulting partitions.