

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
Material Type: Assignment; Professor: Fermuller; Class: Image Processing; Subject: Computer Science; University: University of Maryland; Term: Unknown 1989;
Typology: Assignments
1 / 3
This page cannot be seen from the preview
Don't miss anything!


Due: Tuesday, November 11, 2003 Programming
(1) A geometric transform is a vector function T that maps the pixel (x, y) to a new position (x′, y′). T is defined by its two components
x′^ = Tx(x, y) y′^ = Ty(x, y)
Geometric transformations are implemented in two steps. First for a point (x′, y′) we find from the inverse transform T −^1 the corresponding point (x, y). Second, since x and y are not integers, we need to estimate the brightness value at (x, y) by interpolation (from neighboring integer points). Develop programs for the following geometric transforms:
(a) Rotation (b) Change of scale (c) Skewing. Skewing by an angle φ is defined as
x′^ = x + ytan(φ) y′^ = y
(d) Affine transform calculated from three pairs of corresponding points. An affine transform is defined as
x′^ = a 0 + a 1 x + a 2 y y′^ = b 0 + b 1 x + b 2 y
For each of the above transforms, implement the following two bright- ness interpolation approaches:
Run your algorithms on a picture of your choice. Print the code. Print your results for (a) Scaling by a factor 3 (b) An affine transform with points A = (1, 0), B = (− 1 , 0), C = (0,
(2) Implement the Lukas-Kanade optical flow algorithm using the imple- mentation described in Barron et al. 1994. First compute the normal flow using the following steps:
(a) The image sequence is filtered with a spatio-temporal Gaussian filter, with standard deviation σ = 1.5 and kernel size 11× 11 ×11. (b) The spatial and temporal derivatives are computed using the 5- point symmetric kernel 121 (− 1 , 8 , 0 , − 8 , 1). (c) Estimation of the normal flow at points with high spatial gradient (experiment with the threshold)
Estimate the optical flow from the normal flow values with weighted least squares minimization using the 5 × 5 separable and isotropic win- dow function W 2. Its effective 1-d weights are (0. 0625 , 0. 25 , 0. 375 , 0. 25 , 0 .0625). Print your code. Plot one estimated normal flow and optical flow field for the office sequence. There are twenty frames, so you can compute the flow for 6 frames in the middle of the sequence.
Problems