For this project, I implemented the following:
The projection matrix is:
0.7679 -0.4938 -0.0234 0.0067
-0.0852 -0.0915 -0.9065 -0.0878
0.1827 0.2988 -0.0742 1.0000
The total residual is: 0.0445
The estimated location of camera is: -1.5126, -2.3517, 0.2827
The projection matrix is:
-2.0466 1.1874 0.3889 243.7330
-0.4569 -0.3020 2.1472 165.9325
-0.0022 -0.0011 0.0006 1.0000
The total residual is: 15.6217
The estimated location of camera is: 303.0967, 307.1842, 30.4223
I got a much higher residual. However, the points projected points align very well with the real points as you can see in the plots below.
Go to this result page to view the the result of the above program on different sets of images.
Go to this Directory to view all the images organized into folders by name.
You can check some of the plots I created by varying the threshold and proportion while running RANSAC on the Rushmore set here. I could not finish analysing them on time. You can create your own plots using the exec.m script. I will look into them in the future.