Solar
Public Member Functions | List of all members
SolAR::api::features::IDescriptorMatcher Class Referenceabstract

Matches two sets of descriptors together. UUID: dda38a40-c50a-4e7d-8433-0f04c7c98518 Just implement the first interface, the second interface is implemented in ADescriptorMatcher. More...

#include <IDescriptorMatcher.h>

Inheritance diagram for SolAR::api::features::IDescriptorMatcher:
Inheritance graph
[legend]
Collaboration diagram for SolAR::api::features::IDescriptorMatcher:
Collaboration graph
[legend]

Public Member Functions

 IDescriptorMatcher ()=default
 IDescriptorMatcher default constructor.
 
virtual ~IDescriptorMatcher ()=default
 IDescriptorMatcher default destructor.
 
virtual FrameworkReturnCode match (const SRef< SolAR::datastructure::DescriptorBuffer > descriptors1, const SRef< SolAR::datastructure::DescriptorBuffer > descriptors2, std::vector< SolAR::datastructure::DescriptorMatch > &matches)=0
 Match two sets of descriptors together. More...
 
virtual FrameworkReturnCode match (const SRef< SolAR::datastructure::DescriptorBuffer > descriptors1, const std::vector< SRef< SolAR::datastructure::DescriptorBuffer > > &descriptors2, std::vector< SolAR::datastructure::DescriptorMatch > &matches)=0
 Match two sets of descriptors together. The second set is organized in a vector of descriptors buffer and can be used if the descriptors have been extracted on subsets of an image. More...
 

Detailed Description

Matches two sets of descriptors together. UUID: dda38a40-c50a-4e7d-8433-0f04c7c98518 Just implement the first interface, the second interface is implemented in ADescriptorMatcher.

Member Function Documentation

◆ match() [1/2]

virtual FrameworkReturnCode SolAR::api::features::IDescriptorMatcher::match ( const SRef< SolAR::datastructure::DescriptorBuffer descriptors1,
const SRef< SolAR::datastructure::DescriptorBuffer descriptors2,
std::vector< SolAR::datastructure::DescriptorMatch > &  matches 
)
pure virtual

Match two sets of descriptors together.

Parameters
[in]descriptors1The first set of descriptors organized in a dedicated buffer structure.
[in]descriptors2The second set of descriptors organized in a dedicated buffer structure.
[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

Implemented in SolAR::base::features::ADescriptorMatcher.

◆ match() [2/2]

virtual FrameworkReturnCode SolAR::api::features::IDescriptorMatcher::match ( const SRef< SolAR::datastructure::DescriptorBuffer descriptors1,
const std::vector< SRef< SolAR::datastructure::DescriptorBuffer > > &  descriptors2,
std::vector< SolAR::datastructure::DescriptorMatch > &  matches 
)
pure virtual

Match two sets of descriptors together. The second set is organized in a vector of descriptors buffer and can be used if the descriptors have been extracted on subsets of an image.

Parameters
[in]descriptors1The first set of descriptors organized in a dedicated buffer structure.
[in]descriptors2The second set of descriptors organized in a vector of dedicated buffer structure.
[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

Implemented in SolAR::base::features::ADescriptorMatcher.


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