MRPT  2.0.5
List of all members | Public Member Functions | Private Attributes
mrpt::vision::pnp::ppnp Class Reference

Detailed Description

Chandra Mangipudi

Definition at line 28 of file ppnp.h.

#include <pnp/ppnp.h>

Public Member Functions

 ppnp (const Eigen::MatrixXd &obj_pts, const Eigen::MatrixXd &img_pts, const Eigen::MatrixXd &cam_intrinsic)
 Constructor for the P-PnP class. More...
bool compute_pose (Eigen::Matrix3d &R, Eigen::Vector3d &t, int n)
 Function to compute pose. More...

Private Attributes

Eigen::MatrixXd P
Eigen::MatrixXd S
 Image points in pixels. More...
Eigen::MatrixXd C
 Object points in Camera Co-ordinate system. More...

Constructor & Destructor Documentation

◆ ppnp()

mrpt::vision::pnp::ppnp::ppnp ( const Eigen::MatrixXd &  obj_pts,
const Eigen::MatrixXd &  img_pts,
const Eigen::MatrixXd &  cam_intrinsic 

Constructor for the P-PnP class.

Definition at line 20 of file ppnp.cpp.

References C, P, and S.

Member Function Documentation

◆ compute_pose()

bool mrpt::vision::pnp::ppnp::compute_pose ( Eigen::Matrix3d &  R,
Eigen::Vector3d &  t,
int  n 

Function to compute pose.

[out]RRotation matrix
tTrnaslation Vector
nNumber of 2d/3d correspondences

Definition at line 29 of file ppnp.cpp.

References mrpt::math::norm(), and R.

Referenced by mrpt::vision::pnp::CPnP::ppnp().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ C

Eigen::MatrixXd mrpt::vision::pnp::ppnp::C

Object points in Camera Co-ordinate system.

Definition at line 48 of file ppnp.h.

Referenced by ppnp().

◆ P

Eigen::MatrixXd mrpt::vision::pnp::ppnp::P

Definition at line 46 of file ppnp.h.

Referenced by ppnp().

◆ S

Eigen::MatrixXd mrpt::vision::pnp::ppnp::S

Image points in pixels.

Definition at line 47 of file ppnp.h.

Referenced by ppnp().

Page generated by Doxygen 1.8.14 for MRPT 2.0.5 Git: b26ce1112 Mon Jul 6 09:39:08 2020 +0200 at lun jul 6 09:45:13 CEST 2020