37 #ifndef OPENGV_RELATIVE_POSE_METHODS_HPP_ 38 #define OPENGV_RELATIVE_POSE_METHODS_HPP_ 53 namespace relative_pose
70 const RelativeAdapterBase & adapter,
72 const std::vector<int> & indices );
92 const RelativeAdapterBase & adapter,
107 const RelativeAdapterBase & adapter,
108 const std::vector<int> & indices );
122 const RelativeAdapterBase & adapter,
146 const RelativeAdapterBase & adapter,
147 const std::vector<int> & indices );
176 const RelativeAdapterBase & adapter,
177 const std::vector<int> & indices );
206 const RelativeAdapterBase & adapter,
207 const std::vector<int> & indices );
220 const RelativeAdapterBase & adapter,
221 const std::vector<int> & indices );
250 const RelativeAdapterBase & adapter,
251 const std::vector<int> & indices );
280 const RelativeAdapterBase & adapter,
281 const std::vector<int> & indices );
295 const RelativeAdapterBase & adapter,
297 bool useWeights =
false );
313 const RelativeAdapterBase & adapter,
314 const std::vector<int> & indices,
316 bool useWeights =
false );
329 const RelativeAdapterBase & adapter,
330 bool useWeights =
false );
344 const RelativeAdapterBase & adapter,
345 const std::vector<int> & indices,
346 bool useWeights =
false );
357 const RelativeAdapterBase & adapter );
370 const RelativeAdapterBase & adapter,
371 const std::vector<int> & indices );
386 const RelativeAdapterBase & adapter,
388 bool useWeights =
false );
405 const RelativeAdapterBase & adapter,
406 const std::vector<int> & indices,
408 bool useWeights =
false );
421 rotation_t ge(
const RelativeAdapterBase & adapter,
bool useWeights =
false );
436 const RelativeAdapterBase & adapter,
437 const std::vector<int> & indices,
438 bool useWeights =
false );
469 const RelativeAdapterBase & adapter,
470 const std::vector<int> & indices );
501 RelativeAdapterBase & adapter,
502 const std::vector<int> & indices );
complexEssentials_t fivept_stewenius(const RelativeAdapterBase &adapter)
Compute the complex essential matrices between two central viewpoints using Stewenius' method [5]...
Eigen::Matrix< double, 3, 4 > transformation_t
Definition: types.hpp:82
The namespace of this library.
Definition: AbsoluteAdapterBase.hpp:47
rotations_t sixpt(const RelativeAdapterBase &adapter)
Compute the relative rotation between two non-central viewpoints following Stewenius' method [16]...
Adapter-class for passing bearing-vector correspondences to the relative-pose algorithms.
struct opengv::EigensolverOutput eigensolverOutput_t
essential_t eightpt(const RelativeAdapterBase &adapter)
Compute the essential matrix between two central viewpoints using the eight-point algorithm [9...
Eigen::Matrix3d essential_t
Definition: types.hpp:105
Eigen::Vector3d translation_t
Definition: types.hpp:63
A collection of variables used in geometric vision for the computation of calibrated absolute and rel...
rotation_t eigensolver(const RelativeAdapterBase &adapter, eigensolverOutput_t &output, bool useWeights=false)
Compute the rotation matrix between two central viewpoints as an iterative eigenproblem [11]...
essentials_t sevenpt(const RelativeAdapterBase &adapter)
Compute the essential matrices between two central viewpoints using the seven-point algorithm [8]...
Eigen::Matrix3d rotation_t
Definition: types.hpp:71
std::vector< essential_t, Eigen::aligned_allocator< essential_t > > essentials_t
Definition: types.hpp:109
std::vector< rotation_t, Eigen::aligned_allocator< rotation_t > > rotations_t
Definition: types.hpp:75
std::vector< complexEssential_t, Eigen::aligned_allocator< complexEssential_t > > complexEssentials_t
Definition: types.hpp:119
essentials_t fivept_nister(const RelativeAdapterBase &adapter)
Compute the essential matrices between two central viewpoints using Nister's method [6]...
struct opengv::GeOutput geOutput_t
rotations_t fivept_kneip(const RelativeAdapterBase &adapter, const std::vector< int > &indices)
Compute the rotation matrices between two central viewpoints using Kneips's method [7]...
rotation_t rotationOnly(const RelativeAdapterBase &adapter)
Compute the rotation between two central viewpoints with pure rotation change using Arun's method [13...
translation_t twopt(const RelativeAdapterBase &adapter, bool unrotate, const std::vector< int > &indices)
Compute the translation between two central viewpoints with known relative rotation, and using two correspondences.
transformation_t seventeenpt(const RelativeAdapterBase &adapter)
Compute the relative pose between two non-central viewpoints following Li's method [12]...
rotation_t twopt_rotationOnly(const RelativeAdapterBase &adapter, const std::vector< int > &indices)
Compute the rotation between two central viewpoints with pure rotation change, using only two corresp...
transformation_t optimize_nonlinear(RelativeAdapterBase &adapter)
Compute the pose between two viewpoints using nonlinear optimization. Using all available corresponde...
rotation_t ge(const RelativeAdapterBase &adapter, geOutput_t &output, bool useWeights=false)
Compute the rotation matrix between two non-central viewpoints as an iterative eigenproblem. Using all available correspondences.