Solar
|
Matches descriptors based on a Hamming distance and selects the best matches of each descriptor. UUID: d67ce1ba-04a5-43bc-a0f8-e0c3653b32c9
More...
#include <SolARDescriptorMatcherHammingBruteForceOpencv.h>
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 |
Matches descriptors based on a Hamming distance and selects the best matches of each descriptor. UUID: d67ce1ba-04a5-43bc-a0f8-e0c3653b32c9
distanceRatio | Distance ratio used to keep good matches. Several matches can correspond to a given keypoint of the first image. The first match with the best score is always retained. But here, we can also retain the next matches if their distances or scores is greater than the score of the best match * m_distanceRatio. |
type: float; range : [0..MAX FLOAT]; default: 0.75f |
|
override |
Match two sets of descriptors together.
[in] | descriptors1 | The first set of descriptors organized in a dedicated buffer structure. |
[in] | descriptors2 | The second set of descriptors organized in a dedicated buffer structure. |
[out] | matches | A vector of matches representing pairs of indices relatively to the first and second set of descriptors. |