You may collaborate freely on this homework; the one rule is that you have to write up your own solutions.
Complete the following problems and submit your solutions to the HW3 assignment on Canvas. For all questions, justify your answers either or showing your work or giving a brief explanation. Please typeset your solutions using latex
or similar; you may include neatly hand-drawn figures so long as the scan quality is good. You may work with your classmates on these problems, but you must write up your own solutions individually.
(6 points) The following two arrays contain the descriptors of feature extracted from two images. The descriptors are 2-dimensional (much lower than we would usually use in pracice); each column of the matrix is the descriptor for a feature. In all of the following, use matrix-style (i, j) indexing with indices starting at 1. For example, feature 4 in image 1 has descriptor \(\begin{bmatrix}3 & 1\end{bmatrix}^T\). \[ F_1 = \begin{bmatrix} 0 & 1 & 4 & 3 \\ 1 & 0 & 4 & 1 \end{bmatrix}\\ \] \[ F_2 = \begin{bmatrix} 2 & 5 & 1\\ 1 & 5 & 2 \end{bmatrix} \]
(2 points) Create a table with 4 rows and 3 columns in which the \((i,j)\)th cell contains the SSD distance between feature \(i\) in image 1 and image \(j\) in image 2.
(2 points) For each feature in image 1, give the index of the closest feature match in image 2 using to the SSD metric.
(2 points) For each feature in image 2, give the index of the closest feature match in image 1 and the ratio distance between each feature and its closest match.
P(chose at least one outlier in one iteration) =
P(never chose only inliers in any of K iterations) =
P(at least one iteration chose all inliers) =