Recovers 3D points defined in world coordinate system from a set of 2D points defined in the image coordinate system. UUID: 9938354d-6476-437e-8325-97e82666a46e
More...
#include <SolARUnprojectPlanarPointsOpencv.h>
|
| SolARUnprojectPlanarPointsOpencv () |
| SolARUnprojectPlanarPointsOpencv constructor;.
|
|
| ~SolARUnprojectPlanarPointsOpencv () override |
| SolARUnprojectPlanarPointsOpencv destructor;.
|
|
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...
|
|
FrameworkReturnCode | unproject (const std::vector< datastructure::Point2Df > &imagePoints, std::vector< datastructure::Point3Df > &worldPoints, const datastructure::Transform3Df &pose=datastructure::Transform3Df::Identity()) override |
| This method unproject a set of 2D image points in the 3D world coordinate system. More...
|
|
FrameworkReturnCode | unproject (const std::vector< datastructure::Keypoint > &imageKeypoints, std::vector< datastructure::Point3Df > &worldPoints, const datastructure::Transform3Df &pose=datastructure::Transform3Df::Identity()) override |
| This method unproject a set of 2D image points in the 3D world coordinate system. More...
|
|
void | unloadComponent () override final |
|
Recovers 3D points defined in world coordinate system from a set of 2D points defined in the image coordinate system. UUID: 9938354d-6476-437e-8325-97e82666a46e
◆ setCameraParameters()
void SolAR::MODULES::OPENCV::SolARUnprojectPlanarPointsOpencv::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. |
◆ unproject() [1/2]
FrameworkReturnCode SolAR::MODULES::OPENCV::SolARUnprojectPlanarPointsOpencv::unproject |
( |
const std::vector< datastructure::Keypoint > & |
imageKeypoints, |
|
|
std::vector< datastructure::Point3Df > & |
worldPoints, |
|
|
const datastructure::Transform3Df & |
pose = datastructure::Transform3Df::Identity() |
|
) |
| |
|
override |
This method unproject a set of 2D image points in the 3D world coordinate system.
- Parameters
-
[in] | imageKeypoints | the set of 2D keypoints to unproject |
[in] | pose | the 3D pose of the camera (a 4x4 float matrix) |
[out] | worldPoints | a set of world 3D points resulting from the unprojection of the 2D image points |
- Returns
- FrameworkReturnCode::SUCCESS if 3D projection succeed, else FrameworkReturnCode::_ERROR.
◆ unproject() [2/2]
FrameworkReturnCode SolAR::MODULES::OPENCV::SolARUnprojectPlanarPointsOpencv::unproject |
( |
const std::vector< datastructure::Point2Df > & |
imagePoints, |
|
|
std::vector< datastructure::Point3Df > & |
worldPoints, |
|
|
const datastructure::Transform3Df & |
pose = datastructure::Transform3Df::Identity() |
|
) |
| |
|
override |
This method unproject a set of 2D image points in the 3D world coordinate system.
- Parameters
-
[in] | imagePoints | the set of 2D points to unproject |
[in] | pose | the 3D pose of the camera (a 4x4 float matrix) |
[out] | worldPoints | a set of world 3D points resulting from the unprojection of the 2D image points |
- Returns
- FrameworkReturnCode::SUCCESS if 3D projection succeed, else FrameworkReturnCode::_ERROR.
The documentation for this class was generated from the following file: