@@ -450,8 +450,10 @@ enum SolvePnPMethod {
450
450
SOLVEPNP_ITERATIVE = 0 ,
451
451
SOLVEPNP_EPNP = 1 , // !< EPnP: Efficient Perspective-n-Point Camera Pose Estimation @cite lepetit2009epnp
452
452
SOLVEPNP_P3P = 2 , // !< Complete Solution Classification for the Perspective-Three-Point Problem @cite gao2003complete
453
- SOLVEPNP_DLS = 3 , // !< A Direct Least-Squares (DLS) Method for PnP @cite hesch2011direct
454
- SOLVEPNP_UPNP = 4 , // !< Exhaustive Linearization for Robust Camera Pose and Focal Length Estimation @cite penate2013exhaustive
453
+ SOLVEPNP_DLS = 3 , // !< **Broken implementation. Using this flag will fallback to EPnP.** \n
454
+ // !< A Direct Least-Squares (DLS) Method for PnP @cite hesch2011direct
455
+ SOLVEPNP_UPNP = 4 , // !< **Broken implementation. Using this flag will fallback to EPnP.** \n
456
+ // !< Exhaustive Linearization for Robust Camera Pose and Focal Length Estimation @cite penate2013exhaustive
455
457
SOLVEPNP_AP3P = 5 , // !< An Efficient Algebraic Solution to the Perspective-Three-Point Problem @cite Ke17
456
458
SOLVEPNP_IPPE = 6 , // !< Infinitesimal Plane-Based Pose Estimation @cite Collins14 \n
457
459
// !< Object points must be coplanar.
@@ -806,7 +808,7 @@ vectors, respectively, and further optimizes them.
806
808
- **SOLVEPNP_ITERATIVE** Iterative method is based on a Levenberg-Marquardt optimization. In
807
809
this case the function finds such a pose that minimizes reprojection error, that is the sum
808
810
of squared distances between the observed projections imagePoints and the projected (using
809
- projectPoints ) objectPoints .
811
+ @ref projectPoints ) objectPoints .
810
812
- **SOLVEPNP_P3P** Method is based on the paper of X.S. Gao, X.-R. Hou, J. Tang, H.-F. Chang
811
813
"Complete Solution Classification for the Perspective-Three-Point Problem" (@cite gao2003complete).
812
814
In this case the function requires exactly four object and image points.
@@ -815,9 +817,11 @@ In this case the function requires exactly four object and image points.
815
817
In this case the function requires exactly four object and image points.
816
818
- **SOLVEPNP_EPNP** Method has been introduced by F. Moreno-Noguer, V. Lepetit and P. Fua in the
817
819
paper "EPnP: Efficient Perspective-n-Point Camera Pose Estimation" (@cite lepetit2009epnp).
818
- - **SOLVEPNP_DLS** Method is based on the paper of J. Hesch and S. Roumeliotis.
820
+ - **SOLVEPNP_DLS** **Broken implementation. Using this flag will fallback to EPnP.** \n
821
+ Method is based on the paper of J. Hesch and S. Roumeliotis.
819
822
"A Direct Least-Squares (DLS) Method for PnP" (@cite hesch2011direct).
820
- - **SOLVEPNP_UPNP** Method is based on the paper of A. Penate-Sanchez, J. Andrade-Cetto,
823
+ - **SOLVEPNP_UPNP** **Broken implementation. Using this flag will fallback to EPnP.** \n
824
+ Method is based on the paper of A. Penate-Sanchez, J. Andrade-Cetto,
821
825
F. Moreno-Noguer. "Exhaustive Linearization for Robust Camera Pose and Focal Length
822
826
Estimation" (@cite penate2013exhaustive). In this case the function also estimates the parameters \f$f_x\f$ and \f$f_y\f$
823
827
assuming that both have the same value. Then the cameraMatrix is updated with the estimated
@@ -1136,9 +1140,11 @@ In this case the function requires exactly four object and image points.
1136
1140
In this case the function requires exactly four object and image points.
1137
1141
- **SOLVEPNP_EPNP** Method has been introduced by F.Moreno-Noguer, V.Lepetit and P.Fua in the
1138
1142
paper "EPnP: Efficient Perspective-n-Point Camera Pose Estimation" (@cite lepetit2009epnp).
1139
- - **SOLVEPNP_DLS** Method is based on the paper of Joel A. Hesch and Stergios I. Roumeliotis.
1143
+ - **SOLVEPNP_DLS** **Broken implementation. Using this flag will fallback to EPnP.** \n
1144
+ Method is based on the paper of Joel A. Hesch and Stergios I. Roumeliotis.
1140
1145
"A Direct Least-Squares (DLS) Method for PnP" (@cite hesch2011direct).
1141
- - **SOLVEPNP_UPNP** Method is based on the paper of A.Penate-Sanchez, J.Andrade-Cetto,
1146
+ - **SOLVEPNP_UPNP** **Broken implementation. Using this flag will fallback to EPnP.** \n
1147
+ Method is based on the paper of A.Penate-Sanchez, J.Andrade-Cetto,
1142
1148
F.Moreno-Noguer. "Exhaustive Linearization for Robust Camera Pose and Focal Length
1143
1149
Estimation" (@cite penate2013exhaustive). In this case the function also estimates the parameters \f$f_x\f$ and \f$f_y\f$
1144
1150
assuming that both have the same value. Then the cameraMatrix is updated with the estimated
0 commit comments