March 2020
Intermediate to advanced
366 pages
9h 8m
English
Maybe the easiest way to make sure that we have recovered the correct camera matrices is to rectify the images. If they are rectified correctly, then a point in the first image and a point in the second image that corresponds to the same 3D world point will lie on the same vertical coordinate.
In a more concrete example, such as in our case, since we know that the cameras are upright, we can verify that horizontal lines in the rectified image correspond to horizontal lines in the 3D scene. Thus, we follow these steps to rectify our image:
def plot_rectified_images(self, feat_mode="SIFT"): ...