-
Notifications
You must be signed in to change notification settings - Fork 17
/
generateProjectedPoints.h
35 lines (30 loc) · 1.4 KB
/
generateProjectedPoints.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// LibQPEP: A Library for Globally Optimal Solving Quadratic Pose Estimation Problems,
// It also gives highly accurate uncertainty description of the solutions.
//
// Author: Jin Wu
// Affiliation: Hong Kong University of Science and Technology (HKUST)
// Emails: [email protected]; [email protected]
// Reference: Wu, J., et al. (2022) Quadratic Pose Estimation Problems:
// Globally Optimal Solutions,
// Solvability/Observability Analysis,
// and Uncertainty Description.
// IEEE Transactions on Robotics.
// https://doi.org/10.1109/TRO.2022.3155880
#ifndef LIBQPEP_GENERATEPROJECTEDPOINTS_H
#define LIBQPEP_GENERATEPROJECTEDPOINTS_H
#include <time.h>
#include <iostream>
#include <vector>
#include <map>
#include <cassert>
#include <Eigen/Core>
#include <Eigen/LU>
#include <Eigen/Dense>
#include <Eigen/Geometry> // For Quaternion
void generateProjectedPoints(std::vector<Eigen::Vector2d>& image_pt,
std::vector<double>& s,
const std::vector<Eigen::Vector3d>& world_pt,
const Eigen::Matrix3d& K,
const Eigen::Matrix3d& R,
const Eigen::Vector3d& t);
#endif //LIBQPEP_GENERATEPROJECTEDPOINTS_H