|
| ADescriptorMatcherRegion (std::map< std::string, std::string > componentInfosMap) |
| ADescriptorMatcherRegion constructor.
|
|
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) override |
| 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) override |
| 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) override |
| 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...
|
|
| IDescriptorMatcherRegion ()=default |
| IDescriptorMatcherRegion default constructor.
|
|
virtual | ~IDescriptorMatcherRegion ()=default |
| IDescriptorMatcherRegion default destructor.
|
|
◆ match() [1/3]
Match each descriptor of the first set to descriptors in its searching region of the second set.
- Parameters
-
[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. |
- Returns
- FrameworkReturnCode::SUCCESS if matching succeed, else FrameworkReturnCode::_ERROR
Implements SolAR::api::features::IDescriptorMatcherRegion.
◆ match() [2/3]
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.
- Parameters
-
[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. |
- Returns
- FrameworkReturnCode::SUCCESS if matching succeed, else FrameworkReturnCode::_ERROR
Implements SolAR::api::features::IDescriptorMatcherRegion.
◆ match() [3/3]
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.
- Parameters
-
[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. |
- Returns
- FrameworkReturnCode::SUCCESS if matching succeed, else FrameworkReturnCode::_ERROR
Implements SolAR::api::features::IDescriptorMatcherRegion.
The documentation for this class was generated from the following files: