Solar
|
Matches two sets of descriptors based on geometric constraints. UUID: 2ed445a6-32f3-44a1-9dc5-3b0cfec778db
Just implement the first interface, the second interface is implemented in ADescriptorMatcherGeometric.
More...
#include <IDescriptorMatcherGeometric.h>
Public Member Functions | |
IDescriptorMatcherGeometric ()=default | |
IDescriptorMatcherGeometric default constructor. | |
virtual | ~IDescriptorMatcherGeometric ()=default |
IDescriptorMatcherGeometric default destructor. | |
virtual FrameworkReturnCode | match (const SRef< SolAR::datastructure::DescriptorBuffer > descriptors1, const SRef< SolAR::datastructure::DescriptorBuffer > descriptors2, const std::vector< SolAR::datastructure::Keypoint > &undistortedKeypoints1, const std::vector< SolAR::datastructure::Keypoint > &undistortedKeypoints2, const SolAR::datastructure::Transform3Df &pose1, const SolAR::datastructure::Transform3Df &pose2, const SolAR::datastructure::CameraParameters &camParams, std::vector< SolAR::datastructure::DescriptorMatch > &matches, const std::vector< uint32_t > &mask={})=0 |
Match two sets of descriptors from two frames based on epipolar constraint. More... | |
virtual FrameworkReturnCode | match (const SRef< SolAR::datastructure::Frame > frame1, const SRef< SolAR::datastructure::Frame > frame2, const SolAR::datastructure::CameraParameters &camParams, std::vector< SolAR::datastructure::DescriptorMatch > &matches, const std::vector< uint32_t > &mask={})=0 |
Match two sets of descriptors from two frames based on epipolar constraint. More... | |
Matches two sets of descriptors based on geometric constraints. UUID: 2ed445a6-32f3-44a1-9dc5-3b0cfec778db
Just implement the first interface, the second interface is implemented in ADescriptorMatcherGeometric.
|
pure virtual |
Match two sets of descriptors from two frames based on epipolar constraint.
[in] | descriptors1 | The first set of descriptors. |
[in] | descriptors2 | The second set of descriptors. |
[in] | undistortedKeypoints1 | The first set of undistorted keypoints. |
[in] | undistortedKeypoints2 | The second set of undistorted keypoints. |
[in] | pose1 | The first pose. |
[in] | pose2 | The second pose. |
[in] | camParams | The intrinsic parameters of the camera. |
[out] | matches | A vector of matches representing pairs of indices relatively to the first and second set of descriptors. |
[in] | mask | The indices of descriptors in the first frame are used for matching to the second frame. If it is empty then all will be used. |
Implemented in SolAR::base::features::ADescriptorMatcherGeometric.
|
pure virtual |
Match two sets of descriptors from two frames based on epipolar constraint.
[in] | frame1 | The first frame containing descriptors and undistorted keypoints. |
[in] | frame2 | The second frame containing descriptors and undistorted keypoints. |
[in] | camParams | The intrinsic parameters of the camera. |
[out] | matches | A vector of matches representing pairs of indices relatively to the first and second set of descriptors. |
[in] | mask | The indices of descriptors in the first frame are used for matching to the second frame. If it is empty then all will be used. |
Implemented in SolAR::base::features::ADescriptorMatcherGeometric.