Suppose two cameras view the same scene. The cameras are calibrated, meaning that we know their intrinsics (\(K_L, K_R\)) and extrinsics (\([R|t]_L, [R|t]_R\)).
cross
is in geometry.py
in the lecture
repo.In the next few problems, we will unsuccessfully attempt to break math by finding the intersection point of parallel lines.
Given the homogeneous coordinates of a line \(\ell = [a, b, c]^T\), derive an expression for the slope of the line. You may assume the slope is not undefined.
Give a criterion for determining whether two homoegeneous lines \(\ell_1 = [a_1, b_1, c_1]^T\) and \(\ell_2 = [a_2, b_2, c_2]^T\) are parallel. Again, assume their slopes as derived in part (a) are not undefined.
It turns out that in projective space, the intersection point of two parallel lines is well-defined. Using what we learned about point-line duality, calculate the intersection of \(\ell_1\) and \(\ell_2\) above.
Using the intersection point’s coordinates and the parallel criterion from part (2), show that the intersection of two parallel lines has \(0\) as its \(w\) coordinate.
Give a geometric interpretation of points at infinity using the more easily-visualized interpretation of homogeneous points as vectors in \(\mathbb{R}^3\).