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

Depth estimation based on disparity of matched features. UUID: 0d3c4b5d-bbb2-4adc-80b0-b7e8720a704d More...

#include <IDepthEstimation.h>

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

Public Member Functions

 IDepthEstimation ()=default
 IDepthEstimation constructor.
 
virtual ~IDepthEstimation ()=default
 ~IDepthEstimation
 
virtual FrameworkReturnCode estimate (std::vector< SolAR::datastructure::Keypoint > &rectKeypoints1, std::vector< SolAR::datastructure::Keypoint > &rectKeypoints2, const std::vector< SolAR::datastructure::DescriptorMatch > &matches, float focal, float baseline, SolAR::datastructure::StereoType type)=0
 Depth estimation based on disparity of matched rectified keypoints in a stereo camera. More...
 

Detailed Description

Depth estimation based on disparity of matched features. UUID: 0d3c4b5d-bbb2-4adc-80b0-b7e8720a704d

Member Function Documentation

◆ estimate()

virtual FrameworkReturnCode SolAR::api::geom::IDepthEstimation::estimate ( std::vector< SolAR::datastructure::Keypoint > &  rectKeypoints1,
std::vector< SolAR::datastructure::Keypoint > &  rectKeypoints2,
const std::vector< SolAR::datastructure::DescriptorMatch > &  matches,
float  focal,
float  baseline,
SolAR::datastructure::StereoType  type 
)
pure virtual

Depth estimation based on disparity of matched rectified keypoints in a stereo camera.

Parameters
[in,out]rectKeypoints1Rectified keypoints of the first image. The implementation stores depth estimation in the keypoints.
[in,out]rectKeypoints2Rectified keypoints of the second image. The implementation stores depth estimation in the keypoints.
[in]matchesA vector of matches representing pairs of indices relatively to the first and second set of descriptors.
[in]focalThe common focal of the camera.
[in]baselineThe baseline distance of two cameras.
[in]typeStereo type
Returns
FrameworkReturnCode::SUCCESS if estimating succeed, else FrameworkReturnCode::_ERROR

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