
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

CS482 Homework 4, Spring 2005 (Due April 14) J. Koˇseck´a
This exercise lets you examine the suitability of previously covered image/patch representations for tracking.
Choose a template region in one of the initial frames of the video sequence and try to track it in the remaining frames of the sequence. The template region should be around 20 × 20 pixels (e.g. face of the person). The goal is to find the best matching region of the same size in the next frame. In order to make the search more efficient, in the consecutive frames search only around the previous position of the template (as opposed to exhaustively searching the whole image). For matching represent the template by color histogram and use χ^2 distance between two histograms to compute the score of the match. Report the results on the webpage and submit the hardcopy of the code, with comments to me in class. Suggestion: Instead of color histogram methods covered in class, you can compute the 1D chromaticity histogram of your color patch in the following way: The chromaticity value (hue) can be calculated as:
H = arctan(Cb, Cr)/π − 1 ≤ H ≤ 1 (1)
with (Y, Cb, Cr) defined as:
Cb Cr
You can download the color image sequence from the course website.