Finds the camera pose of three 2D-3D points correspondences based on opengv Kneip P3P algorithm. UUID: 473faa6a-e023-49ac-9c48-f00ef9d79af3
More...
#include <PoseEstimationP3PKneip.h>
|
| PoseEstimationP3PKneip () |
| SolARPoseEstimationP3PKneip constructor;.
|
|
| ~PoseEstimationP3PKneip () |
| SolARPoseEstimationP3PKneip destructor;.
|
|
FrameworkReturnCode | estimate (const std::vector< datastructure::Point2Df > &imagePoints, const std::vector< datastructure::Point3Df > &worldPoints, datastructure::Transform3Df &pose, const datastructure::Transform3Df initialPose=datastructure::Transform3Df::Identity()) override |
| Estimates camera pose from a set of 2D image points of their corresponding 3D world points. More...
|
|
void | setCameraParameters (const datastructure::CamCalibration &intrinsicParams, const datastructure::CamDistortion &distorsionParams) override |
| this method is used to set intrinsic parameters and distorsion of the camera More...
|
|
void | unloadComponent () override final |
|
Finds the camera pose of three 2D-3D points correspondences based on opengv Kneip P3P algorithm. UUID: 473faa6a-e023-49ac-9c48-f00ef9d79af3
◆ estimate()
FrameworkReturnCode SolAR::MODULES::OPENGV::PoseEstimationP3PKneip::estimate |
( |
const std::vector< datastructure::Point2Df > & |
imagePoints, |
|
|
const std::vector< datastructure::Point3Df > & |
worldPoints, |
|
|
datastructure::Transform3Df & |
pose, |
|
|
const datastructure::Transform3Df |
initialPose = datastructure::Transform3Df::Identity() |
|
) |
| |
|
override |
Estimates camera pose from a set of 2D image points of their corresponding 3D world points.
- Parameters
-
[in] | imagePoints,set | of 2d_points seen in view_1. |
[in] | worldPoints,set | of 3d_points corresponding to view_1. |
[out] | pose,camera | pose (pose the camera defined in world corrdinate system) expressed as a Transform3D. |
[in] | initialPose | (Optional), a tranfsform3D to initialize the pose (reducing the convergence time and improving its success). If your world points are planar, do not use this argument. |
◆ setCameraParameters()
void SolAR::MODULES::OPENGV::PoseEstimationP3PKneip::setCameraParameters |
( |
const datastructure::CamCalibration & |
intrinsicParams, |
|
|
const datastructure::CamDistortion & |
distorsionParams |
|
) |
| |
|
override |
this method is used to set intrinsic parameters and distorsion of the camera
- Parameters
-
[in] | Camera | calibration matrix parameters. |
[in] | Camera | distorsion parameters. |
The documentation for this class was generated from the following file: