Solar
Public Member Functions | List of all members
SolAR::MODULES::NONFREEOPENCV::SolARKeypointDetectorNonFreeOpencv Class Reference

Detects keypoints in an image (based on SIFT or SURF algorithm). UUID: d1f9317c-9519-4671-8ff5-4629773544f2 More...

#include <SolARKeypointDetectorNonFreeOpencv.h>

Inheritance diagram for SolAR::MODULES::NONFREEOPENCV::SolARKeypointDetectorNonFreeOpencv:
Inheritance graph
[legend]
Collaboration diagram for SolAR::MODULES::NONFREEOPENCV::SolARKeypointDetectorNonFreeOpencv:
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 (based on SIFT or SURF algorithm). UUID: d1f9317c-9519-4671-8ff5-4629773544f2

Properties
imageRatio resize image to speedup computation
type: float; range : [0..MAX FLOAT]; default: 1.f
nbDescriptors number of best features to select
type: int; range : [0..MAX INT]; default: 1000
type feature type (values among ["SURF"])
type: string; default: "SURF"

Member Function Documentation

◆ detect()

void SolAR::MODULES::NONFREEOPENCV::SolARKeypointDetectorNonFreeOpencv::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::NONFREEOPENCV::SolARKeypointDetectorNonFreeOpencv::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::NONFREEOPENCV::SolARKeypointDetectorNonFreeOpencv::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: