Solar
Public Member Functions | List of all members
SolAR::api::geom::IReprojectionStereo Class Referenceabstract

Reproject keypoints with estimating depth to 3D cloud points. UUID: 166a0aad-8c0a-4cdc-9edf-41ff9e514212 Just implement the first and second interface, the third interface is implemented in AReprojectionStereo. More...

#include <IReprojectionStereo.h>

Inheritance diagram for SolAR::api::geom::IReprojectionStereo:
Inheritance graph
[legend]
Collaboration diagram for SolAR::api::geom::IReprojectionStereo:
Collaboration graph
[legend]

Public Member Functions

 IReprojectionStereo ()=default
 IReprojectionStereo constructor.
 
virtual ~IReprojectionStereo ()=default
 ~IReprojectionStereo
 
virtual FrameworkReturnCode reprojectToUnrectification (const std::vector< SolAR::datastructure::Keypoint > &rectifiedKeypoints, const SolAR::datastructure::RectificationParameters &rectParams, std::vector< SolAR::datastructure::Keypoint > &unrectifiedKeypoints)=0
 Reproject depth of rectified keypoints to unrectified keypoints. More...
 
virtual 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)=0
 Reproject 2D keypoints with depths to 3D cloud points in the world coordinate system. More...
 
virtual FrameworkReturnCode reprojectToCloudPoints (SRef< SolAR::datastructure::Frame > frame, const SolAR::datastructure::CamCalibration &intrinsicParams, std::vector< SRef< SolAR::datastructure::CloudPoint > > &cloudPoints)=0
 Reproject 2D keypoints with depths of a frame to 3D cloud points in the world coordinate system. More...
 

Detailed Description

Reproject keypoints with estimating depth to 3D cloud points. UUID: 166a0aad-8c0a-4cdc-9edf-41ff9e514212 Just implement the first and second interface, the third interface is implemented in AReprojectionStereo.

Member Function Documentation

◆ reprojectToCloudPoints() [1/2]

virtual FrameworkReturnCode SolAR::api::geom::IReprojectionStereo::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 
)
pure virtual

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

Implemented in SolAR::base::geom::AReprojectionStereo.

◆ reprojectToCloudPoints() [2/2]

virtual FrameworkReturnCode SolAR::api::geom::IReprojectionStereo::reprojectToCloudPoints ( SRef< SolAR::datastructure::Frame frame,
const SolAR::datastructure::CamCalibration intrinsicParams,
std::vector< SRef< SolAR::datastructure::CloudPoint > > &  cloudPoints 
)
pure virtual

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

Parameters
[in]frameThe frame including keypoints with their depth estimations.
[in]intrinsicParamsThe intrinsic parameters of the camera.
[out]cloudPointsThe output cloud points.
Returns
FrameworkReturnCode::SUCCESS if reprojecting succeed, else FrameworkReturnCode::_ERROR

Implemented in SolAR::base::geom::AReprojectionStereo.

◆ reprojectToUnrectification()

virtual FrameworkReturnCode SolAR::api::geom::IReprojectionStereo::reprojectToUnrectification ( const std::vector< SolAR::datastructure::Keypoint > &  rectifiedKeypoints,
const SolAR::datastructure::RectificationParameters rectParams,
std::vector< SolAR::datastructure::Keypoint > &  unrectifiedKeypoints 
)
pure virtual

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

Implemented in SolAR::base::geom::AReprojectionStereo.


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