Solar
Public Member Functions | List of all members
SolAR::MODULES::OPENCV::SolARDescriptorsExtractorFromImageOpencv Class Reference

Detect keypoints and compute the descriptors from an image. UUID: cf2721f2-0dc9-4442-ad1e-90c0ab12b0ff More...

#include <SolARDescriptorsExtractorFromImageOpencv.h>

Inheritance diagram for SolAR::MODULES::OPENCV::SolARDescriptorsExtractorFromImageOpencv:
Inheritance graph
[legend]
Collaboration diagram for SolAR::MODULES::OPENCV::SolARDescriptorsExtractorFromImageOpencv:
Collaboration graph
[legend]

Public Member Functions

 SolARDescriptorsExtractorFromImageOpencv ()
 SolARDescriptorsExtractorFromImageOpencv constructor;.
 
 ~SolARDescriptorsExtractorFromImageOpencv ()
 SolARDescriptorsExtractorFromImageOpencv destructor;.
 
org::bcom::xpcf::XPCFErrorCode onConfigured () override final
 
std::string getTypeString () override
 getType More...
 
FrameworkReturnCode extract (const SRef< SolAR::datastructure::Image > image, std::vector< SolAR::datastructure::Keypoint > &keypoints, SRef< SolAR::datastructure::DescriptorBuffer > &descriptors) override
 detect keypoints and compute the descriptors. More...
 
void unloadComponent () override final
 

Detailed Description

Detect keypoints and compute the descriptors from an image. UUID: cf2721f2-0dc9-4442-ad1e-90c0ab12b0ff

Injectables
SolAR::api::features::IKeypointDetector
SolAR::api::features::IDescriptorsExtractor

Member Function Documentation

◆ extract()

FrameworkReturnCode SolAR::MODULES::OPENCV::SolARDescriptorsExtractorFromImageOpencv::extract ( const SRef< SolAR::datastructure::Image >  image,
std::vector< SolAR::datastructure::Keypoint > &  keypoints,
SRef< SolAR::datastructure::DescriptorBuffer > &  descriptors 
)
override

detect keypoints and compute the descriptors.

Parameters
[in]imageimage on which the keypoint and their descriptor will be detected and extracted.
[out]keypointsThe keypoints detected in the input image.
[out]descriptorsThe descriptors of keypoints of the input image.
Returns
FrameworkReturnCode::SUCCESS if images are well matched, else FrameworkReturnCode::_ERROR

◆ getTypeString()

std::string SolAR::MODULES::OPENCV::SolARDescriptorsExtractorFromImageOpencv::getTypeString ( )
override

getType

Returns
a string describing the type of descriptor used during extraction.

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