Evaluation metrics for the 3D reconstruction project
Each group should produce code for automatic evaluation of the estimated camera positions on the dinosaur dataset. This should be done using the following procedure:
- Extract the global position and orientation of cameras in the ground truth. This results in a set of K poses: (Rk,tk)
- Extract the global position and orientation of your estimated cameras on the same dataset. This results in a set of K poses: (Restk,testk)
- Align the two sets by estimating a similarity transformation that maps your camera positions testk to the ground truth positions tk, i.e.
tk=sMtestk+m,
where s is a scale change, M is the global rotation, and m is the global translation. (See e.g. the IREG compendium, or Horns article.) - Map your estimated camera centers and orientations using (s,M,m).
The camera positions are mapped as:
tmappedk=sMtestk+m,
and the orientations are mapped as:
Rmappedk=RestkMT -
Compute the individual errors for the camera positions as:
ek=||tk-tmappedk||
and the individual angular errors for the camera orientations using the 3D angular error (the geodesic distance on SO(3)):
ak=2sin-1(||Rmappedk-Rk||/sqrt(8))
See e.g. the article by Hartley et al. for a derivation of this error measure. - Summarize the errors for the entire set of poses using the mean-absolute errors (MAE) for each of the two errors above.
If any of the steps above is unclear to you, ask your project guide.
References
- B.K.P. Horn, Closed-form solution of absolute orientation using unit quaternions, JOSA, Vol 4, 1987.
- Klas Nordberg, Introduction to Representations and Estimation in Geometry (IREG).
- R. Hartley, J. Trumpf, Y. Dai, and H. Li. Rotation averaging. International Journal of Computer Vision, 103(3):267-305, July 2013
Last updated: 2019-03-24