Skip to content

Commit 0a63ab3

Browse files
MathLensalalek
authored andcommitted
Merge pull request opencv#8301 from tonyke1993:p3p_alg
New p3p algorithm (accepted by CVPR 2017) (opencv#8301) * add p3p source code * indent 4 * update publication info * fix filename * interface done * plug in done, test needed * debugging * for test * a working version * clean p3p code * test * test * fix warning, blank line * apply patch from @catree * add reference info * namespace, indent 4 * static solveQuartic * put small functions to anonymous namespace
1 parent 2561c59 commit 0a63ab3

File tree

6 files changed

+477
-6
lines changed

6 files changed

+477
-6
lines changed

doc/opencv.bib

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -897,3 +897,10 @@ @incollection{bottou2010large
897897
year={2010},
898898
publisher={Springer}
899899
}
900+
@INPROCEEDINGS{Ke17,
901+
author = {Ke, Tong and Roumeliotis, Stergios},
902+
title = {An Efficient Algebraic Solution to the Perspective-Three-Point Problem},
903+
booktitle = {Computer Vision and Pattern Recognition (CVPR), 2017 IEEE Conference on},
904+
year = {2017},
905+
organization = {IEEE}
906+
}

modules/calib3d/include/opencv2/calib3d.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,8 @@ enum { SOLVEPNP_ITERATIVE = 0,
236236
SOLVEPNP_EPNP = 1, //!< EPnP: Efficient Perspective-n-Point Camera Pose Estimation @cite lepetit2009epnp
237237
SOLVEPNP_P3P = 2, //!< Complete Solution Classification for the Perspective-Three-Point Problem @cite gao2003complete
238238
SOLVEPNP_DLS = 3, //!< A Direct Least-Squares (DLS) Method for PnP @cite hesch2011direct
239-
SOLVEPNP_UPNP = 4 //!< Exhaustive Linearization for Robust Camera Pose and Focal Length Estimation @cite penate2013exhaustive
240-
239+
SOLVEPNP_UPNP = 4, //!< Exhaustive Linearization for Robust Camera Pose and Focal Length Estimation @cite penate2013exhaustive
240+
SOLVEPNP_AP3P = 5 //!< An Efficient Algebraic Solution to the Perspective-Three-Point Problem @cite Ke17
241241
};
242242

243243
enum { CALIB_CB_ADAPTIVE_THRESH = 1,

0 commit comments

Comments
 (0)