38 #ifndef OPENGV_RELATIVE_POSE_NONCENTRALRELATIVEADAPTER_HPP_ 39 #define OPENGV_RELATIVE_POSE_NONCENTRALRELATIVEADAPTER_HPP_ 54 namespace relative_pose
69 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
82 const camCorrespondences_t & camCorrespondences1,
83 const camCorrespondences_t & camCorrespondences2,
92 const camCorrespondences_t & camCorrespondences1,
93 const camCorrespondences_t & camCorrespondences2,
103 const camCorrespondences_t & camCorrespondences1,
104 const camCorrespondences_t & camCorrespondences2,
121 virtual double getWeight(
size_t index )
const;
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef std::vector< int > camCorrespondences_t
Definition: NoncentralRelativeAdapter.hpp:74
std::vector< bearingVector_t, Eigen::aligned_allocator< bearingVector_t > > bearingVectors_t
Definition: types.hpp:59
The namespace of this library.
Definition: AbsoluteAdapterBase.hpp:47
const rotations_t & _camRotations
Definition: NoncentralRelativeAdapter.hpp:162
Adapter-class for passing bearing-vector correspondences to the relative-pose algorithms.
virtual ~NoncentralRelativeAdapter()
Destructor.
opengv::rotation_t _R12
Definition: RelativeAdapterBase.hpp:188
virtual bearingVector_t getBearingVector2(size_t index) const
Eigen::Vector3d translation_t
Definition: types.hpp:63
A collection of variables used in geometric vision for the computation of calibrated absolute and rel...
Eigen::Matrix3d rotation_t
Definition: types.hpp:71
std::vector< rotation_t, Eigen::aligned_allocator< rotation_t > > rotations_t
Definition: types.hpp:75
virtual size_t getNumberCorrespondences() const
virtual rotation_t getCamRotation2(size_t index) const
virtual double getWeight(size_t index) const
opengv::translation_t _t12
Definition: RelativeAdapterBase.hpp:178
virtual rotation_t getCamRotation1(size_t index) const
Definition: RelativeAdapterBase.hpp:63
Definition: NoncentralRelativeAdapter.hpp:62
const bearingVectors_t & _bearingVectors2
Definition: NoncentralRelativeAdapter.hpp:141
Eigen::Vector3d bearingVector_t
Definition: types.hpp:55
virtual bearingVector_t getBearingVector1(size_t index) const
NoncentralRelativeAdapter(const bearingVectors_t &bearingVectors1, const bearingVectors_t &bearingVectors2, const camCorrespondences_t &camCorrespondences1, const camCorrespondences_t &camCorrespondences2, const translations_t &camOffsets, const rotations_t &camRotations)
Constructor. See protected class-members to understand parameters.
const bearingVectors_t & _bearingVectors1
Definition: NoncentralRelativeAdapter.hpp:137
virtual translation_t getCamOffset2(size_t index) const
const camCorrespondences_t & _camCorrespondences1
Definition: NoncentralRelativeAdapter.hpp:147
const translations_t & _camOffsets
Definition: NoncentralRelativeAdapter.hpp:158
std::vector< translation_t, Eigen::aligned_allocator< translation_t > > translations_t
Definition: types.hpp:67
virtual translation_t getCamOffset1(size_t index) const
const camCorrespondences_t & _camCorrespondences2
Definition: NoncentralRelativeAdapter.hpp:153