1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
#ifndef POSELIB_RELPOSE_6PT_EQUAL_FOCAL_H
#define POSELIB_RELPOSE_6PT_EQUAL_FOCAL_H
#include "PoseLib/camera_pose.h"
#include <Eigen/Dense>
#include <vector>
namespace poselib {
// Solves for relative pose with one unknown focal length from 6 correspondences
// The solver is created using Larsson et al. CVPR 2017
int relpose_6pt_shared_focal(const std::vector<Eigen::Vector3d> &x1, const std::vector<Eigen::Vector3d> &x2,
ImagePairVector *out_image_pairs);
}; // namespace poselib
#endif
|