Go to the documentation of this file.
   17 #include <Eigen/Dense> 
   19 #include <Eigen/StdVector> 
   21 #define TOL_LHM 0.00001 
   22 #define EPSILON_LHM 0.00000001 
   54         std::vector<Eigen::Matrix3d> 
F;  
 
   62         lhm(Eigen::MatrixXd obj_pts_, Eigen::MatrixXd img_pts_,
 
   63                 Eigen::MatrixXd cam_, 
int n0);
 
   73                 Eigen::Ref<Eigen::Matrix3d> R_, Eigen::Ref<Eigen::Vector3d> t_);
 
   97         Eigen::Matrix4d 
qMatQ(Eigen::VectorXd 
q);
 
  104         Eigen::Matrix4d 
qMatW(Eigen::VectorXd 
q);
 
  
GLdouble GLdouble GLdouble GLdouble q
 
bool compute_pose(Eigen::Ref< Eigen::Matrix3d > R_, Eigen::Ref< Eigen::Vector3d > t_)
Function to compute pose using LHM PnP algorithm.
 
Eigen::MatrixXd cam_intrinsic
Image points in pixel co-ordinates.
 
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
 
Eigen::Matrix4d qMatQ(Eigen::VectorXd q)
Iternal Function of quaternion.
 
double err2
Error variable for convergence selection.
 
Eigen::MatrixXd P
Camera intrinsic matrix.
 
Eigen::Matrix3d G
Matrix for internal computations.
 
Eigen::MatrixXd img_pts
Object points in Camera Co-ordinate system.
 
void estimate_t()
Function to estimate translation given an estimated rotation matrix.
 
void xform()
Transform object points in Body frame (Landmark Frame) to estimated Camera Frame.
 
int n
Error variable for convergence selection.
 
Eigen::Matrix4d qMatW(Eigen::VectorXd q)
Iternal Function of quaternion.
 
double err
Storage matrix for each point.
 
lhm(Eigen::MatrixXd obj_pts_, Eigen::MatrixXd img_pts_, Eigen::MatrixXd cam_, int n0)
Number of 2d/3d correspondences.
 
void absKernel()
Function to compute pose during an iteration.
 
Eigen::MatrixXd Q
Trnaspose of Object points @obj_pts.
 
Eigen::Vector3d t
Rotation Matrix.
 
Eigen::Matrix3d R
Transpose of Image points @img_pts.
 
std::vector< Eigen::Matrix3d > F
Translation Vector.
 
   |  Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST |   |