Solar
Public Member Functions | List of all members
SolAR::base::features::ADescriptorMatcherStereo Class Reference
Inheritance diagram for SolAR::base::features::ADescriptorMatcherStereo:
Inheritance graph
[legend]
Collaboration diagram for SolAR::base::features::ADescriptorMatcherStereo:
Collaboration graph
[legend]

Public Member Functions

 ADescriptorMatcherStereo (std::map< std::string, std::string > componentInfosMap)
 ADescriptorMatcherStereo constructor.
 
virtual FrameworkReturnCode match (const SRef< SolAR::datastructure::DescriptorBuffer > &descriptors1, const SRef< SolAR::datastructure::DescriptorBuffer > &descriptors2, const std::vector< SolAR::datastructure::Keypoint > &undistortedKeypoints1, const std::vector< SolAR::datastructure::Keypoint > &undistortedKeypoints2, SolAR::datastructure::StereoType type, std::vector< SolAR::datastructure::DescriptorMatch > &matches) override
 Match two sets of descriptors from stereo images. More...
 
virtual FrameworkReturnCode match (const SRef< SolAR::datastructure::Frame > frame1, const SRef< SolAR::datastructure::Frame > frame2, SolAR::datastructure::StereoType type, std::vector< SolAR::datastructure::DescriptorMatch > &matches) override
 Match two sets of descriptors from stereo images. More...
 
- Public Member Functions inherited from SolAR::api::features::IDescriptorMatcherStereo
 IDescriptorMatcherStereo ()=default
 IDescriptorMatcherStereo constructor.
 
virtual ~IDescriptorMatcherStereo ()
 ~IDescriptorMatcherStereo
 

Member Function Documentation

◆ match() [1/2]

virtual FrameworkReturnCode SolAR::base::features::ADescriptorMatcherStereo::match ( const SRef< SolAR::datastructure::DescriptorBuffer > &  descriptors1,
const SRef< SolAR::datastructure::DescriptorBuffer > &  descriptors2,
const std::vector< SolAR::datastructure::Keypoint > &  undistortedKeypoints1,
const std::vector< SolAR::datastructure::Keypoint > &  undistortedKeypoints2,
SolAR::datastructure::StereoType  type,
std::vector< SolAR::datastructure::DescriptorMatch > &  matches 
)
inlineoverridevirtual

Match two sets of descriptors from stereo images.

Parameters
[in]descriptors1Descirptors of the first image.
[in]descriptors2Descirptors of the second image.
[in]undistortedKeypoints1Undistorted keypoints of the first image.
[in]undistortedKeypoints2Undistorted keypoints of the second image.
[in]typeStereo type (horizontal or vertical).
[out]matchesA vector of matches representing pairs of indices relatively to the first and second set of descriptors.
Returns
FrameworkReturnCode::SUCCESS if matching succeed, else FrameworkReturnCode::_ERROR

Implements SolAR::api::features::IDescriptorMatcherStereo.

◆ match() [2/2]

FrameworkReturnCode SolAR::base::features::ADescriptorMatcherStereo::match ( const SRef< SolAR::datastructure::Frame frame1,
const SRef< SolAR::datastructure::Frame frame2,
SolAR::datastructure::StereoType  type,
std::vector< SolAR::datastructure::DescriptorMatch > &  matches 
)
overridevirtual

Match two sets of descriptors from stereo images.

Parameters
[in]frame1The first frame containing descriptors and undistorted keypoints.
[in]frame2The second frame containing descriptors and undistorted keypoints.
[in]typeStereo type (horizontal or vertical).
[out]matchesA vector of matches representing pairs of indices relatively to the first and second set of descriptors.
Returns
FrameworkReturnCode::SUCCESS if matching succeed, else FrameworkReturnCode::_ERROR

Implements SolAR::api::features::IDescriptorMatcherStereo.


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