Solar
Public Member Functions | List of all members
SolAR::api::features::IKeypointsReIndexer Class Referenceabstract

Reorganizes the keypoints detected from two images that match together in two vector of points where the nth point of the first vector matches with the nth point of the second vector. UUID: 920e64a2-df17-11e7-80c1-9a214cf093ae More...

#include <IKeypointsReIndexer.h>

Inheritance diagram for SolAR::api::features::IKeypointsReIndexer:
Inheritance graph
[legend]
Collaboration diagram for SolAR::api::features::IKeypointsReIndexer:
Collaboration graph
[legend]

Public Member Functions

 IKeypointsReIndexer ()=default
 IKeypointsReIndexer default constructor.
 
virtual ~IKeypointsReIndexer ()=default
 IContoursExtractor default destructor.
 
virtual FrameworkReturnCode reindex (const std::vector< SolAR::datastructure::Keypoint > &keypoints1, const std::vector< SolAR::datastructure::Keypoint > &keypoints2, const std::vector< SolAR::datastructure::DescriptorMatch > &matches, std::vector< SolAR::datastructure::Point2Df > &matchedKeypoints1, std::vector< SolAR::datastructure::Point2Df > &matchedKeypoints2)=0
 This method reorganizes the keypoints detected from two images that match together in two vector of points where the nth point of the first vector matches with the nth point of the second vector. More...
 

Detailed Description

Reorganizes the keypoints detected from two images that match together in two vector of points where the nth point of the first vector matches with the nth point of the second vector. UUID: 920e64a2-df17-11e7-80c1-9a214cf093ae

Member Function Documentation

◆ reindex()

virtual FrameworkReturnCode SolAR::api::features::IKeypointsReIndexer::reindex ( const std::vector< SolAR::datastructure::Keypoint > &  keypoints1,
const std::vector< SolAR::datastructure::Keypoint > &  keypoints2,
const std::vector< SolAR::datastructure::DescriptorMatch > &  matches,
std::vector< SolAR::datastructure::Point2Df > &  matchedKeypoints1,
std::vector< SolAR::datastructure::Point2Df > &  matchedKeypoints2 
)
pure virtual

This method reorganizes the keypoints detected from two images that match together in two vector of points where the nth point of the first vector matches with the nth point of the second vector.

Parameters
[in]keypoints1The first set of keypoints that have been matched.
[in]keypoints2The second set of keypoints that have been matched.
[in]matchesThe matches between the first and the second set of keypoints.
[out]matchedKeypoints1The keypoints from the first set that match with one or more keypoints of the second set of keypoints. The nth point of this set match with the nth point of the second set matchedKeypoints2.
[out]matchedKeypoints2The keypoints from the second set that match with one or more keypoints of the first set of keypoints. The nth point of this set match with the nth point of the first set matchedKeypoints1.
Returns
FrameworkReturnCode::SUCCESS if reindexing succeed, else FrameworkReturnCode::_ERROR.

The documentation for this class was generated from the following file: