Projects a set of 3D points on a 2D image plane. UUID: 741fc298-0149-4322-a7a9-ccb971e857ba
More...
#include <SolARProjectOpencv.h>
|
| SolARProjectOpencv () |
| SolARProjectOpencv constructor;.
|
|
| ~SolARProjectOpencv () override |
| SolARProjectOpencv 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 | project (const std::vector< datastructure::Point3Df > &inputPoints, std::vector< datastructure::Point2Df > &imagePoints, const datastructure::Transform3Df &pose=datastructure::Transform3Df::Identity()) override |
| This method project a set of 3D points in the image plane. More...
|
|
FrameworkReturnCode | project (const std::vector< SRef< datastructure::CloudPoint > > &inputPoints, std::vector< datastructure::Point2Df > &imagePoints, const datastructure::Transform3Df &pose=datastructure::Transform3Df::Identity()) override |
| This method project a set of 3D cloud points in the image plane. More...
|
|
void | unloadComponent () override final |
|
Projects a set of 3D points on a 2D image plane. UUID: 741fc298-0149-4322-a7a9-ccb971e857ba
◆ project() [1/2]
FrameworkReturnCode SolAR::MODULES::OPENCV::SolARProjectOpencv::project |
( |
const std::vector< datastructure::Point3Df > & |
inputPoints, |
|
|
std::vector< datastructure::Point2Df > & |
imagePoints, |
|
|
const datastructure::Transform3Df & |
pose = datastructure::Transform3Df::Identity() |
|
) |
| |
|
override |
This method project a set of 3D points in the image plane.
- Parameters
-
[in] | inputPoints | the set of 3D points to project |
[in] | pose | the 3D pose of the camera (a 4x4 float matrix) |
[out] | outputPoints | the resulting set of 2D points define in the image coordinate systemn |
- Returns
- FrameworkReturnCode::SUCCESS if 3D projection succeed, else FrameworkReturnCode::_ERROR.
◆ project() [2/2]
FrameworkReturnCode SolAR::MODULES::OPENCV::SolARProjectOpencv::project |
( |
const std::vector< SRef< datastructure::CloudPoint > > & |
inputPoints, |
|
|
std::vector< datastructure::Point2Df > & |
imagePoints, |
|
|
const datastructure::Transform3Df & |
pose = datastructure::Transform3Df::Identity() |
|
) |
| |
|
override |
This method project a set of 3D cloud points in the image plane.
- Parameters
-
[in] | inputPoints | the set of 3D cloud points to project |
[in] | pose | the 3D pose of the camera (a 4x4 float matrix) |
[out] | outputPoints | the resulting set of 2D points define in the image coordinate systemn |
- Returns
- FrameworkReturnCode::SUCCESS if 3D projection succeed, else FrameworkReturnCode::_ERROR.
◆ setCameraParameters()
void SolAR::MODULES::OPENCV::SolARProjectOpencv::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: