Detects keypoints in an given region of an image. UUID: 22c2ca9f-e43b-4a88-8337-4a166a789971
More...
#include <SolARKeypointDetectorRegionOpencv.h>
|
| 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 |
|
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 |
◆ 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] | image | input image on which we are extracting keypoints. |
[in] | contours | a set of 2D points defining the contour of the region where keypoints will be detected |
[out] | keypoints | The 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] | type | The type of method used to detect keypoints. |
The documentation for this class was generated from the following file: