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

Detects keypoints in an image. UUID: e81c7e4e-7da6-476a-8eba-078b43071272 More...

#include <SolARKeypointDetectorOpencv.h>

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

Public Member Functions

void unloadComponent () override final
 
org::bcom::xpcf::XPCFErrorCode onConfigured () override final
 
void setType (KeypointDetectorType type) override
 Set the type of method used to detect keypoints in the image. More...
 
KeypointDetectorType getType () override
 Get the type of method used to detect keypoints in the image. More...
 
void detect (const SRef< datastructure::Image > image, std::vector< datastructure::Keypoint > &keypoints) override
 This method detects keypoints in an input Image. More...
 

Detailed Description

Detects keypoints in an image. UUID: e81c7e4e-7da6-476a-8eba-078b43071272

Properties
imageRatio the ratio to apply to the size of the input image to compute the descriptor.
A ratio must be less or equal to 1. A ratio less than 1 will speedup computation
type: float; range : [0..1]; default: 1.f
nbDescriptors the number of descriptors that are selected. If negative, all extracted descriptors are selected
type: int; range : [-1..MAX INT]; default: 1000
threshold the threshold of detector to accept a keypoint
type: float; range : [0..MAX FLOAT]; default: 1e-3f
nbOctaves the number of octaves
type: int; range : [0..MAX INT]; default: 4
type type of descriptor used for the extraction (SIFT, AKAZE, AKAZE2, ORB, BRISK)
type: string; default: "AKAZE2"

Member Function Documentation

◆ detect()

void SolAR::MODULES::OPENCV::SolARKeypointDetectorOpencv::detect ( const SRef< datastructure::Image >  image,
std::vector< datastructure::Keypoint > &  keypoints 
)
override

This method detects keypoints in an input Image.

Parameters
[in]imageinput image on which we are extracting keypoints.
[out]keypointsThe keypoints detected from the image passed as first argument.

◆ getType()

KeypointDetectorType SolAR::MODULES::OPENCV::SolARKeypointDetectorOpencv::getType ( )
override

Get the type of method used to detect keypoints in the image.

Returns
The type of method used to detect keypoints.

◆ setType()

void SolAR::MODULES::OPENCV::SolARKeypointDetectorOpencv::setType ( KeypointDetectorType  type)
override

Set the type of method used to detect keypoints in the image.

Parameters
[in]typeThe type of method used to detect keypoints.

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