Solar
Public Member Functions | List of all members
SolAR::MODULES::OPENCV::SolARUnprojectPlanarPointsOpencv Class Reference

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>

Inheritance diagram for SolAR::MODULES::OPENCV::SolARUnprojectPlanarPointsOpencv:
Inheritance graph
[legend]
Collaboration diagram for SolAR::MODULES::OPENCV::SolARUnprojectPlanarPointsOpencv:
Collaboration graph
[legend]

Public Member Functions

 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
 

Detailed Description

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

Member Function Documentation

◆ 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]Cameracalibration matrix parameters.
[in]Cameradistorsion 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]imageKeypointsthe set of 2D keypoints to unproject
[in]posethe 3D pose of the camera (a 4x4 float matrix)
[out]worldPointsa 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]imagePointsthe set of 2D points to unproject
[in]posethe 3D pose of the camera (a 4x4 float matrix)
[out]worldPointsa 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: