optimizePoses
Syntax
Description
returns an image view set whose absolute poses are optimized. vSetOptim
= optimizePoses(vSet
)vSetOptim
and vSet
are imageviewset
objects.
The optimizePoses
function performs pose graph optimization on the
absolute poses for the Views
in the view set using the relative pose
constraints established by the Connections
property. You can use
optimizePoses
to correct drift in odometry after detecting loop
closures.
[
also returns the scales associated with the optimized absolute poses. This output applies
only when the vSetOptim
,poseScale
] = optimizePoses(vSet
)RelativePose
of at least one connection is represented as
a simtform3d
object.
additionally specifies the minimum number of matched feature points in a connection in order
for the connection to be included in optimization.vSetOptim
= optimizePoses(vSet
, minNumMatches
)
uses additional options specified by one or more name-value arguments.vSetOptim
= optimizePoses(___,Name,Value
)
Examples
Input Arguments
Output Arguments
Tips
To update a view set with optimized poses, use the
updateView
object function.The optimizePoses object function holds the first view fixed.
Algorithms
The optimizePoses
function uses the Levenberg Marquardt optimization
algorithm with sparse Cholesky factorization from the general (hyper) graph optimization (g2o)
library, (1).
References
[1] Kuemmerle, R., G. Grisetti, H. Strasdat, K. Konolige, and W. Burgard. "g2o: A General Framework for Graph Optimization IEEE International Conference on Robotics and Automation". Proceedings of the IEEE International Conference on Robotics and Automation, ICRA, 2011.