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

Matches keypoint between two input images. UUID: 157ec340-0682-4e6c-bf69-e4d95fa760d3 More...

#include <IImageMatcher.h>

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

Public Member Functions

 IImageMatcher ()=default
 IDescriptorsExtractorFromImage default constructor.
 
virtual FrameworkReturnCode match (const SRef< SolAR::datastructure::Image > image1, const SRef< SolAR::datastructure::Image > image2, std::vector< SolAR::datastructure::Keypoint > &keypoints1, std::vector< SolAR::datastructure::Keypoint > &keypoints2, SRef< SolAR::datastructure::DescriptorBuffer > descriptors1, SRef< SolAR::datastructure::DescriptorBuffer > descriptors2, std::vector< SolAR::datastructure::DescriptorMatch > &matches)=0
 match keypoints between two input images. More...
 

Detailed Description

Matches keypoint between two input images. UUID: 157ec340-0682-4e6c-bf69-e4d95fa760d3

This class provides a keypoint matching method between directly from two images.

Member Function Documentation

◆ match()

virtual FrameworkReturnCode SolAR::api::features::IImageMatcher::match ( const SRef< SolAR::datastructure::Image image1,
const SRef< SolAR::datastructure::Image image2,
std::vector< SolAR::datastructure::Keypoint > &  keypoints1,
std::vector< SolAR::datastructure::Keypoint > &  keypoints2,
SRef< SolAR::datastructure::DescriptorBuffer descriptors1,
SRef< SolAR::datastructure::DescriptorBuffer descriptors2,
std::vector< SolAR::datastructure::DescriptorMatch > &  matches 
)
pure virtual

match keypoints between two input images.

Parameters
[in]image1,thefirst image.
[in]image2,thesecond image.
[out]keypoints1,Thekeypoints detected in the first image.
[out]keypoints2,Thekeypoints detected in the second image.
[out]descriptors1,Thedescriptors of keypoint of image1.
[out]descriptors2,Thedescriptors of keypoint of image1.
[out]matches,thekeypoint matches between the first and second image
Returns
FrameworkReturnCode::SUCCESS if images are well matched, else FrameworkReturnCode::_ERROR

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