Solar
Public Member Functions | List of all members
SolAR::MODULES::TOOLS::SolARStereoReprojection Class Reference

Reproject keypoints with estimating depth to 3D cloud points. UUID: 6f0c5373-1b00-41ce-ab1b-a845b83f65b3 More...

#include <SolARStereoReprojection.h>

Inheritance diagram for SolAR::MODULES::TOOLS::SolARStereoReprojection:
Inheritance graph
[legend]
Collaboration diagram for SolAR::MODULES::TOOLS::SolARStereoReprojection:
Collaboration graph
[legend]

Public Member Functions

 SolARStereoReprojection ()
 SolARStereoReprojection constructor;.
 
 ~SolARStereoReprojection () override
 SolARStereoReprojection destructor;.
 
FrameworkReturnCode reprojectToUnrectification (const std::vector< SolAR::datastructure::Keypoint > &rectifiedKeypoints, const SolAR::datastructure::RectificationParameters &rectParams, std::vector< SolAR::datastructure::Keypoint > &unrectifiedKeypoints) override
 Reproject depth of rectified keypoints to unrectified keypoints. More...
 
FrameworkReturnCode reprojectToCloudPoints (const std::vector< SolAR::datastructure::Keypoint > &undistortedKeypoints, const SRef< SolAR::datastructure::DescriptorBuffer > descriptors, const SolAR::datastructure::Transform3Df &pose, const SolAR::datastructure::CamCalibration &intrinsicParams, std::vector< SRef< SolAR::datastructure::CloudPoint > > &cloudPoints) override
 Reproject 2D keypoints with depths to 3D cloud points in the world coordinate system. More...
 
void unloadComponent () override final
 

Detailed Description

Reproject keypoints with estimating depth to 3D cloud points. UUID: 6f0c5373-1b00-41ce-ab1b-a845b83f65b3

Member Function Documentation

◆ reprojectToCloudPoints()

FrameworkReturnCode SolAR::MODULES::TOOLS::SolARStereoReprojection::reprojectToCloudPoints ( const std::vector< SolAR::datastructure::Keypoint > &  undistortedKeypoints,
const SRef< SolAR::datastructure::DescriptorBuffer >  descriptors,
const SolAR::datastructure::Transform3Df &  pose,
const SolAR::datastructure::CamCalibration &  intrinsicParams,
std::vector< SRef< SolAR::datastructure::CloudPoint > > &  cloudPoints 
)
override

Reproject 2D keypoints with depths to 3D cloud points in the world coordinate system.

Parameters
[in]undistortedkeypointsThe undistorted keypoints of image.
[in]descriptorsThe descriptors corresponding to the keypoints.
[in]poseThe pose of image.
[in]intrinsicParamsThe intrinsic parameters of the camera.
[out]cloudPointsThe output cloud points.
Returns
FrameworkReturnCode::SUCCESS if reprojecting succeed, else FrameworkReturnCode::_ERROR

◆ reprojectToUnrectification()

FrameworkReturnCode SolAR::MODULES::TOOLS::SolARStereoReprojection::reprojectToUnrectification ( const std::vector< SolAR::datastructure::Keypoint > &  rectifiedKeypoints,
const SolAR::datastructure::RectificationParameters &  rectParams,
std::vector< SolAR::datastructure::Keypoint > &  unrectifiedKeypoints 
)
override

Reproject depth of rectified keypoints to unrectified keypoints.

Parameters
[in]rectifiedKeypointsThe rectified keypoints containing depth information.
[in]rectParamsThe rectification parameters.
[out]unrectifiedKeypointsThe unrectified keypoints for estimating depth information.
Returns
FrameworkReturnCode::SUCCESS if reprojecting succeed, else FrameworkReturnCode::_ERROR

The documentation for this class was generated from the following file: