- Author
- Chandra Mangipudi
- Date
- 10/08/16
Definition at line 39 of file lhm.h.
|
| lhm (Eigen::MatrixXd obj_pts_, Eigen::MatrixXd img_pts_, Eigen::MatrixXd cam_, int n0) |
| Number of 2d/3d correspondences. More...
|
|
bool | compute_pose (Eigen::Ref< Eigen::Matrix3d > R_, Eigen::Ref< Eigen::Vector3d > t_) |
| Function to compute pose using LHM PnP algorithm. More...
|
|
void | absKernel () |
| Function to compute pose during an iteration. More...
|
|
void | estimate_t () |
| Function to estimate translation given an estimated rotation matrix. More...
|
|
void | xform () |
| Transform object points in Body frame (Landmark Frame) to estimated Camera Frame. More...
|
|
Eigen::Matrix4d | qMatQ (Eigen::VectorXd q) |
| Iternal Function of quaternion. More...
|
|
Eigen::Matrix4d | qMatW (Eigen::VectorXd q) |
| Iternal Function of quaternion. More...
|
|
|
Eigen::MatrixXd | obj_pts |
|
Eigen::MatrixXd | img_pts |
| Object points in Camera Co-ordinate system. More...
|
|
Eigen::MatrixXd | cam_intrinsic |
| Image points in pixel co-ordinates. More...
|
|
Eigen::MatrixXd | P |
| Camera intrinsic matrix. More...
|
|
Eigen::MatrixXd | Q |
| Trnaspose of Object points . More...
|
|
Eigen::Matrix3d | R |
| Transpose of Image points . More...
|
|
Eigen::Matrix3d | G |
| Matrix for internal computations. More...
|
|
Eigen::Vector3d | t |
| Rotation Matrix. More...
|
|
std::vector< Eigen::Matrix3d > | F |
| Translation Vector. More...
|
|
double | err |
| Storage matrix for each point. More...
|
|
double | err2 |
| Error variable for convergence selection. More...
|
|
int | n |
| Error variable for convergence selection. More...
|
|
bool lhm::compute_pose |
( |
Eigen::Ref< Eigen::Matrix3d > |
R_, |
|
|
Eigen::Ref< Eigen::Vector3d > |
t_ |
|
) |
| |
Function to compute pose using LHM PnP algorithm.
- Parameters
-
R_ | Rotation matrix |
t_ | Trnaslation Vector |
- Returns
- Success flag
Definition at line 187 of file lhm.cpp.
References absKernel(), EPSILON_LHM, err, err2, F, G, mrpt::pbmap::inverse(), n, P, Q, R, and TOL_LHM.
Referenced by mrpt::vision::pnp::CPnP::lhm().
Function to estimate translation given an estimated rotation matrix.
Definition at line 41 of file lhm.cpp.
References F, G, n, P, and R.
Referenced by absKernel().
Transform object points in Body frame (Landmark Frame) to estimated Camera Frame.
Definition at line 49 of file lhm.cpp.
References n, P, Q, R, and t.
Referenced by absKernel().