Skip to content

Latest commit

 

History

History
 
 

p3p_code_final

P3p - Matlab and C++ functions
Author: Laurent Kneip
Paper: A Novel Parametrization of the Perspective-Three-Point Problem for a Direct Computation of Absolute Camera Position and Orientation
License: BSD-new

You are kindly asked to cite the paper in case of using it for your research.

Description: Compute the four solutions for the absolute pose [R,C] of a camera using three 3D-to-2D correspondences. Use:

p3p.m under Matlab
P3p.h / P3p.cpp under C++

Instructions how to use the code are given inside the individual files. The C++-implementation additionally depends on TooN and thus also Lapack. A documentation is given at:

http://mi.eng.cam.ac.uk/~twd20/TooN/html/index.html

The TooN package can be downloaded at:

http://mi.eng.cam.ac.uk/~er258/cvd/toon.html