Solar
|
Matches two sets of descriptors based on region constraints. UUID: bdef063d-96de-4425-83c5-fec7b7e448c8
Just implement the first interface, the second and third interface are implemented in ADescriptorMatcherRegion.
More...
#include <IDescriptorMatcherRegion.h>
Public Member Functions | |
IDescriptorMatcherRegion ()=default | |
IDescriptorMatcherRegion default constructor. | |
virtual | ~IDescriptorMatcherRegion ()=default |
IDescriptorMatcherRegion default destructor. | |
virtual FrameworkReturnCode | match (const SRef< SolAR::datastructure::DescriptorBuffer > descriptors1, const SRef< SolAR::datastructure::DescriptorBuffer > descriptors2, const std::vector< SolAR::datastructure::Point2Df > &points2D1, const std::vector< SolAR::datastructure::Point2Df > &points2D2, std::vector< SolAR::datastructure::DescriptorMatch > &matches, const float radius=-1.f, const float matchingDistanceMax=-1.f)=0 |
Match each descriptor of the first set to descriptors in its searching region of the second set. More... | |
virtual FrameworkReturnCode | match (const std::vector< SolAR::datastructure::Point2Df > &points2D, const std::vector< SRef< SolAR::datastructure::DescriptorBuffer > > &descriptors, const SRef< SolAR::datastructure::Frame > frame, std::vector< SolAR::datastructure::DescriptorMatch > &matches, const float radius=-1.f, const float matchingDistanceMax=-1.f)=0 |
Match each descriptor input to descriptors of a frame in a region. The searching space is a circle which is defined by a 2D center and a radius. More... | |
virtual FrameworkReturnCode | match (const SRef< SolAR::datastructure::Frame > currentFrame, const SRef< SolAR::datastructure::Frame > lastFrame, std::vector< SolAR::datastructure::DescriptorMatch > &matches, const float radius=-1.f, const float matchingDistanceMax=-1.f)=0 |
Match each descriptor of the current frame to descriptors of the last frame in a region. The searching space is a circle which is defined by a 2D center and a radius. More... | |
Matches two sets of descriptors based on region constraints. UUID: bdef063d-96de-4425-83c5-fec7b7e448c8
Just implement the first interface, the second and third interface are implemented in ADescriptorMatcherRegion.
|
pure virtual |
Match each descriptor of the first set to descriptors in its searching region of the second set.
[in] | descriptors1 | The first set of descriptors. |
[in] | descriptors2 | The second set of descriptors. |
[in] | points2D1 | The positions of the first set of descriptors. |
[in] | points2D2 | The positions of the second set of descriptors. |
[out] | matches | A vector of matches representing pairs of indices relatively to the first and second set of descriptors. |
[in] | radius | the radius of search region around each keypoint of the first set. |
[in] | matchingDistanceMax | the maximum distance to valid a match. |
Implemented in SolAR::base::features::ADescriptorMatcherRegion.
|
pure virtual |
Match each descriptor of the current frame to descriptors of the last frame in a region. The searching space is a circle which is defined by a 2D center and a radius.
[in] | currentFrame | the current frame. |
[in] | lastFrame | the last frame. |
[out] | matches | a vector of matches between two frames representing pairs of keypoint indices relatively. |
[in] | radius | the radius of search region around each keypoint of the last frame. |
[in] | matchingDistanceMax | the maximum distance to valid a match. |
Implemented in SolAR::base::features::ADescriptorMatcherRegion.
|
pure virtual |
Match each descriptor input to descriptors of a frame in a region. The searching space is a circle which is defined by a 2D center and a radius.
[in] | points2D | The center points of searching regions |
[in] | descriptors | The descriptors organized in a vector of dedicated buffer structure. |
[in] | frame | The frame contains descriptors to match. |
[out] | matches | A vector of matches representing pairs of indices relatively to the first and second set of descriptors. |
[in] | radius | the radius of search region around each keypoint of the first set. |
[in] | matchingDistanceMax | the maximum distance to valid a match. |
Implemented in SolAR::base::features::ADescriptorMatcherRegion.