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

Depth estimation based on disparity of matched features. UUID: 153ffeaf-7583-44a7-bb7a-3474ba7d99cb More...

#include <SolARStereoDepthEstimation.h>

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

Public Member Functions

 SolARStereoDepthEstimation ()
 SolARStereoDepthEstimation constructor;.
 
 ~SolARStereoDepthEstimation () override
 SolARStereoDepthEstimation destructor;.
 
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) override
 Depth estimation based on disparity of matched rectified keypoints in a stereo camera. More...
 
void unloadComponent () override final
 

Detailed Description

Depth estimation based on disparity of matched features. UUID: 153ffeaf-7583-44a7-bb7a-3474ba7d99cb

Member Function Documentation

◆ estimate()

FrameworkReturnCode SolAR::MODULES::TOOLS::SolARStereoDepthEstimation::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 
)
override

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: