COS 429 - Computer Vision

Fall 2017

Course home Outline and Lecture Notes Assignments Featured Projects


Assignment 2: Face Detection and Model Fitting

Due Thursday, Oct. 19


Part V. Model Fitting: a Concrete Example

Answer the following, considering the concrete set of points shown below. Justify your answer for each section:

  1. What class of models is appropriate for fitting this data (e.g., line, circle, ...)? Write the equation for the model in the form $y=f(x; a, b)$, with parameters $a$, $b$, ... How many degrees of freedom does your model have?
  2. Sketch what the (approximate) best fit of the model might look like. How many inliers and outliers are there?
  3. If you were to use RANSAC to fit this model to the data, what values would you use for the initial number of points and the consensus set size ($s$ and $d$ in the lecture slides)?
  4. If you were to use RANSAC on this data with this chosen parameter $s$, what is the probability that during a single iteration all $s$ sampled points will be inliers? Hint: Use $\binom{n}{k}$ notation to justify the answer, and the nchoosek function in matlab to compute the numerical probability.
  5. If you were to use RANSAC on this data with this chosen parameter $s$, how many iterations will it take to converge with probability > 99%? In other words, how many iterations would you have to run to be 99% sure at least one of the iterations contained only inliers?
  6. Suppose the above plot now has 100 random outliers (with the same number of inliers). What is the answer to questions d and e in this case?
  7. Taking a step back, suppose you're using a Hough transform instead to fit the model. How many dimensions does the Hough space have and what do they correspond to? What does a single point in the Hough space correspond to?
  8. Would you expect Hough transform and RANSAC to find the same optimal model? (Both 'yes' and 'no' answers are valid, but you have to justify why)
  9. If you were to use the Hough transform under the conditions in f, with 100 outliers, would you expect it to be faster or slower than RANSAC?






Last update 5-Oct-2017 02:06:35