|
| ADescriptorMatcherGeometric (std::map< std::string, std::string > componentInfosMap) |
| ADescriptorMatcherGeometric constructor.
|
|
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={}) override |
| 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={}) override |
| Match two sets of descriptors from two frames based on epipolar constraint. More...
|
|
| IDescriptorMatcherGeometric ()=default |
| IDescriptorMatcherGeometric default constructor.
|
|
virtual | ~IDescriptorMatcherGeometric ()=default |
| IDescriptorMatcherGeometric default destructor.
|
|
◆ match() [1/2]
Match two sets of descriptors from two frames based on epipolar constraint.
- Parameters
-
[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. |
- Returns
- FrameworkReturnCode::SUCCESS if matching succeed, else FrameworkReturnCode::_ERROR
Implements SolAR::api::features::IDescriptorMatcherGeometric.
◆ match() [2/2]
Match two sets of descriptors from two frames based on epipolar constraint.
- Parameters
-
[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. |
- Returns
- FrameworkReturnCode::SUCCESS if matching succeed, else FrameworkReturnCode::_ERROR
Implements SolAR::api::features::IDescriptorMatcherGeometric.
The documentation for this class was generated from the following files: