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

Public Member Functions

 ADescriptorMatcher (std::map< std::string, std::string > componentInfosMap)
 ADescriptorMatcher constructor.
 
virtual FrameworkReturnCode match (const SRef< SolAR::datastructure::DescriptorBuffer > descriptors1, const SRef< SolAR::datastructure::DescriptorBuffer > descriptors2, std::vector< SolAR::datastructure::DescriptorMatch > &matches) override
 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) override
 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...
 
- Public Member Functions inherited from SolAR::api::features::IDescriptorMatcher
 IDescriptorMatcher ()=default
 IDescriptorMatcher default constructor.
 
virtual ~IDescriptorMatcher ()=default
 IDescriptorMatcher default destructor.
 

Member Function Documentation

◆ match() [1/2]

virtual FrameworkReturnCode SolAR::base::features::ADescriptorMatcher::match ( const SRef< SolAR::datastructure::DescriptorBuffer descriptors1,
const SRef< SolAR::datastructure::DescriptorBuffer descriptors2,
std::vector< SolAR::datastructure::DescriptorMatch > &  matches 
)
inlineoverridevirtual

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

Implements SolAR::api::features::IDescriptorMatcher.

◆ match() [2/2]

FrameworkReturnCode SolAR::base::features::ADescriptorMatcher::match ( const SRef< SolAR::datastructure::DescriptorBuffer descriptors1,
const std::vector< SRef< SolAR::datastructure::DescriptorBuffer > > &  descriptors2,
std::vector< SolAR::datastructure::DescriptorMatch > &  matches 
)
overridevirtual

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

Implements SolAR::api::features::IDescriptorMatcher.


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