Solar
Public Member Functions | List of all members
SolAR::api::features::IKeypointDetectorRegion Class Referenceabstract

Detects the keypoints from given region of an image. UUID: 64ccce51-b445-4ec5-a0fa-44156e8bc370 More...

#include <IKeypointDetectorRegion.h>

Inheritance diagram for SolAR::api::features::IKeypointDetectorRegion:
Inheritance graph
[legend]
Collaboration diagram for SolAR::api::features::IKeypointDetectorRegion:
Collaboration graph
[legend]

Public Member Functions

 IKeypointDetectorRegion ()=default
 IKeypointDetectorRegion default constructor.
 
virtual ~IKeypointDetectorRegion ()=default
 IKeypointDetector default destructor.
 
virtual void setType (SolAR::api::features::IKeypointDetector::KeypointDetectorType type)=0
 Set the type of method used to detect keypoints in the image. More...
 
virtual SolAR::api::features::IKeypointDetector::KeypointDetectorType getType ()=0
 Get the type of method used to detect keypoints in the image. More...
 
virtual void detect (const SRef< SolAR::datastructure::Image > image, const std::vector< SolAR::datastructure::Point2Df > &contours, std::vector< SolAR::datastructure::Keypoint > &keypoints)=0
 This method detects keypoints in an input Image. More...
 

Detailed Description

Detects the keypoints from given region of an image. UUID: 64ccce51-b445-4ec5-a0fa-44156e8bc370

This class provides a method to detect the keypoint from an given region of an image using different kind of method (SURF, ORB, SIFT, etc.).

Member Function Documentation

◆ detect()

virtual void SolAR::api::features::IKeypointDetectorRegion::detect ( const SRef< SolAR::datastructure::Image image,
const std::vector< SolAR::datastructure::Point2Df > &  contours,
std::vector< SolAR::datastructure::Keypoint > &  keypoints 
)
pure virtual

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()

virtual SolAR::api::features::IKeypointDetector::KeypointDetectorType SolAR::api::features::IKeypointDetectorRegion::getType ( )
pure virtual

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

Returns
The type of method used to detect keypoints.

◆ setType()

virtual void SolAR::api::features::IKeypointDetectorRegion::setType ( SolAR::api::features::IKeypointDetector::KeypointDetectorType  type)
pure virtual

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: