10 #include <ceres/ceres.h>
100 const std::vector<Eigen::Vector2d>& points2D,
101 const std::vector<Eigen::Vector3d>& points3D,
102 Eigen::Vector4d* qvec,
103 Eigen::Vector3d* tvec,
106 std::vector<char>* inlier_mask);
123 const std::vector<Eigen::Vector2d>& points1,
124 const std::vector<Eigen::Vector2d>& points2,
125 Eigen::Vector4d* qvec,
126 Eigen::Vector3d* tvec);
142 const std::vector<char>& inlier_mask,
143 const std::vector<Eigen::Vector2d>& points2D,
144 const std::vector<Eigen::Vector3d>& points3D,
145 Eigen::Vector4d* qvec,
146 Eigen::Vector3d* tvec,
170 const std::vector<Eigen::Vector2d>& points1,
171 const std::vector<Eigen::Vector2d>& points2,
172 Eigen::Vector4d* qvec,
173 Eigen::Vector3d* tvec);
static const int kMaxNumThreads
size_t EstimateRelativePose(const RANSACOptions &ransac_options, const std::vector< Eigen::Vector2d > &points1, const std::vector< Eigen::Vector2d > &points2, Eigen::Vector4d *qvec, Eigen::Vector3d *tvec)
bool EstimateAbsolutePose(const AbsolutePoseEstimationOptions &options, const std::vector< Eigen::Vector2d > &points2D, const std::vector< Eigen::Vector3d > &points3D, Eigen::Vector4d *qvec, Eigen::Vector3d *tvec, Camera *camera, size_t *num_inliers, std::vector< char > *inlier_mask)
bool RefineRelativePose(const ceres::Solver::Options &options, const std::vector< Eigen::Vector2d > &points1, const std::vector< Eigen::Vector2d > &points2, Eigen::Vector4d *qvec, Eigen::Vector3d *tvec)
bool RefineAbsolutePose(const AbsolutePoseRefinementOptions &options, const std::vector< char > &inlier_mask, const std::vector< Eigen::Vector2d > &points2D, const std::vector< Eigen::Vector3d > &points3D, Eigen::Vector4d *qvec, Eigen::Vector3d *tvec, Camera *camera)
bool estimate_focal_length
RANSACOptions ransac_options
size_t num_focal_length_samples
double min_focal_length_ratio
double max_focal_length_ratio
double loss_function_scale
double gradient_tolerance