OpenGV
A library for solving calibrated central and non-central geometric vision problems
methods.hpp File Reference

Methods for computing the absolute pose of a calibrated viewpoint. More...

#include <stdlib.h>
#include <vector>
#include <opengv/types.hpp>
#include <opengv/absolute_pose/AbsoluteAdapterBase.hpp>

Go to the source code of this file.

Namespaces

 opengv
 The namespace of this library.
 
 opengv::absolute_pose
 The namespace for the absolute pose methods.
 

Functions

translation_t opengv::absolute_pose::p2p (const AbsoluteAdapterBase &adapter, const std::vector< int > &indices)
 Compute the pose of a central viewpoint with known rotation using two point correspondences. More...
 
translation_t opengv::absolute_pose::p2p (const AbsoluteAdapterBase &adapter, size_t index0=0, size_t index1=1)
 Compute the pose of a central viewpoint with known rotation using two point correspondences. More...
 
transformations_t opengv::absolute_pose::p3p_kneip (const AbsoluteAdapterBase &adapter, const std::vector< int > &indices)
 Compute the pose of a central viewpoint using three point correspondences and Kneip's method [1]. More...
 
transformations_t opengv::absolute_pose::p3p_kneip (const AbsoluteAdapterBase &adapter, size_t index0=0, size_t index1=1, size_t index2=2)
 Compute the pose of a central viewpoint using three point correspondences and Kneip's method [1]. More...
 
transformations_t opengv::absolute_pose::p3p_gao (const AbsoluteAdapterBase &adapter, const std::vector< int > &indices)
 Compute the pose of a central viewpoint using three point correspondences and Gao's method [2]. More...
 
transformations_t opengv::absolute_pose::p3p_gao (const AbsoluteAdapterBase &adapter, size_t index0=0, size_t index1=1, size_t index2=2)
 Compute the pose of a central viewpoint using three point correspondences and Gao's method [2]. More...
 
transformations_t opengv::absolute_pose::gp3p (const AbsoluteAdapterBase &adapter, const std::vector< int > &indices)
 Compute the pose of a non-central viewpoint using three point correspondences and Kneip's method [3]. More...
 
transformations_t opengv::absolute_pose::gp3p (const AbsoluteAdapterBase &adapter, size_t index0=0, size_t index1=1, size_t index2=2)
 Compute the pose of a non-central viewpoint using three point correspondences and Kneip's method [3]. More...
 
transformation_t opengv::absolute_pose::epnp (const AbsoluteAdapterBase &adapter)
 Compute the pose of a central viewpoint using the EPnP method [4]. Using all available correspondences. More...
 
transformation_t opengv::absolute_pose::epnp (const AbsoluteAdapterBase &adapter, const std::vector< int > &indices)
 Compute the pose of a central viewpoint using the EPnP method [4]. More...
 
transformation_t opengv::absolute_pose::gpnp (const AbsoluteAdapterBase &adapter)
 Compute the pose of a non-central viewpoint using the gPnP method [3]. Using all available correspondences. More...
 
transformation_t opengv::absolute_pose::gpnp (const AbsoluteAdapterBase &adapter, const std::vector< int > &indices)
 Compute the pose of a non-central viewpoint using the gPnP method [3]. More...
 
transformations_t opengv::absolute_pose::upnp (const AbsoluteAdapterBase &adapter)
 Compute the poses of a non-central viewpoint using the uPnP method. Using all available correspondences. More...
 
transformations_t opengv::absolute_pose::upnp (const AbsoluteAdapterBase &adapter, const std::vector< int > &indices)
 Compute the poses of a non-central viewpoint using the uPnP method. More...
 
transformation_t opengv::absolute_pose::optimize_nonlinear (const AbsoluteAdapterBase &adapter)
 Compute the pose of a viewpoint using nonlinear optimization. Using all available correspondences. Works for central and non-central case. More...
 
transformation_t opengv::absolute_pose::optimize_nonlinear (const AbsoluteAdapterBase &adapter, const std::vector< int > &indices)
 Compute the pose of a viewpoint using nonlinear optimization. Works for central and non-central viewpoints. More...
 

Detailed Description

Methods for computing the absolute pose of a calibrated viewpoint.

The collection includes both minimal and non-minimal solutions for computing the absolute pose of a calibrated, either central or non-central viewpoint.