Solar
Public Member Functions | List of all members
SolAR::MODULES::OPENCV::SolARDescriptorMatcherRadiusOpencv Class Reference

Matches descriptors and selects all matches not farther than a specified distance. UUID: 549f7873-96e4-4eae-b4a0-ae8d80664ce5 More...

#include <SolARDescriptorMatcherRadiusOpencv.h>

Inheritance diagram for SolAR::MODULES::OPENCV::SolARDescriptorMatcherRadiusOpencv:
Inheritance graph
[legend]
Collaboration diagram for SolAR::MODULES::OPENCV::SolARDescriptorMatcherRadiusOpencv:
Collaboration graph
[legend]

Public Member Functions

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...
 
org::bcom::xpcf::XPCFErrorCode onConfigured () override final
 
void unloadComponent () override
 

Detailed Description

Matches descriptors and selects all matches not farther than a specified distance. UUID: 549f7873-96e4-4eae-b4a0-ae8d80664ce5

Properties
maxDistance Threshold for the distance between matched descriptors.
Distance means here metric distance (e.g. Hamming distance), not the distance between coordinates (which is measured in Pixels)
type: float; range : [0..MAX FLOAT]; default: default: 1.f

Member Function Documentation

◆ match()

FrameworkReturnCode SolAR::MODULES::OPENCV::SolARDescriptorMatcherRadiusOpencv::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.

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

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