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

Detects keypoints in an given region of an image. UUID: 22c2ca9f-e43b-4a88-8337-4a166a789971 More...

#include <SolARKeypointDetectorRegionOpencv.h>

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

Public Member Functions

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

Detailed Description

Detects keypoints in an given region of an image. UUID: 22c2ca9f-e43b-4a88-8337-4a166a789971

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: 10000
threshold the threshold of detector to accept a keypoint
type: float; range : [0..MAX FLOAT]; default: 1e-3f

Member Function Documentation

◆ detect()

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

This method detects keypoints in an input Image.

Parameters
[in]imageinput image on which we are extracting keypoints.
[in]contoursa set of 2D points defining the contour of the region where keypoints will be detected
[out]keypointsThe keypoints detected from the given region of the image passed as first argument.

◆ getType()

api::features::IKeypointDetector::KeypointDetectorType SolAR::MODULES::OPENCV::SolARKeypointDetectorRegionOpencv::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::SolARKeypointDetectorRegionOpencv::setType ( api::features::IKeypointDetector::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: