Class cv::xfeatures2d::BRISK#
Class implementing the BRISK keypoint detector and descriptor extractor, described in [177] .
#include <opencv2/xfeatures2d.hpp>Collaboration diagram for cv::xfeatures2d::BRISK:
Public Member Functions#
Public Member Functions inherited from cv::Feature2D
Return |
Name |
Description |
|---|---|---|
|
|
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). |
|
||
|
||
|
||
|
||
|
|
Detects keypoints in an image (first variant) or image set (second variant). |
|
||
|
||
|
Return true if detector object is empty. |
|
|
Reads algorithm parameters from a file storage. |
|
|
||
|
||
|
Stores algorithm parameters in a file storage. |
|
|
Public Member Functions inherited from cv::Algorithm
Return |
Name |
Description |
|---|---|---|
|
Clears the algorithm state. |
|
|
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read. |
|
|
Reads algorithm parameters from a file storage. |
|
|
||
|
|
|
|
Stores algorithm parameters in a file storage. |
|
|
Static Public Member Functions#
Static Public Member Functions inherited from cv::Algorithm
Return |
Name |
Description |
|---|---|---|
|
|
Loads algorithm from the file. |
|
|
Loads algorithm from a String. |
|
Reads algorithm from the file node. |
Additional Inherited Members#
Protected Member Functions inherited from cv::Algorithm
Return |
Name |
Description |
|---|---|---|
|
Detailed Description#
Class implementing the BRISK keypoint detector and descriptor extractor, described in [177] .
Member Function Documentation#
create()#
static Ptr< BRISK > cv::xfeatures2d::BRISK::create(
const std::vector< float > & radiusList,
const std::vector< int > & numberList,
float dMax = 5.85f,
float dMin = 8.2f,
const std::vector< int > & indexChange = std::vector< int >() )
The BRISK constructor for a custom pattern.
Parameters
radiusList— defines the radii (in pixels) where the samples around a keypoint are taken (for keypoint scale 1).numberList— defines the number of sampling points on the sampling circle. Must be the same size as radiusList..dMax— threshold for the short pairings used for descriptor formation (in pixels for keypoint scale 1).dMin— threshold for the long pairings used for orientation determination (in pixels for keypoint scale 1).indexChange— index remapping of the bits.
create()#
static Ptr< BRISK > cv::xfeatures2d::BRISK::create(
int thresh,
int octaves,
const std::vector< float > & radiusList,
const std::vector< int > & numberList,
float dMax = 5.85f,
float dMin = 8.2f,
const std::vector< int > & indexChange = std::vector< int >() )
The BRISK constructor for a custom pattern, detection threshold and octaves.
Parameters
thresh— AGAST detection threshold score.octaves— detection octaves. Use 0 to do single scale.radiusList— defines the radii (in pixels) where the samples around a keypoint are taken (for keypoint scale 1).numberList— defines the number of sampling points on the sampling circle. Must be the same size as radiusList..dMax— threshold for the short pairings used for descriptor formation (in pixels for keypoint scale 1).dMin— threshold for the long pairings used for orientation determination (in pixels for keypoint scale 1).indexChange— index remapping of the bits.
create()#
static Ptr< BRISK > cv::xfeatures2d::BRISK::create(
int thresh = 30,
int octaves = 3,
float patternScale = 1.0f )
The BRISK constructor.
Parameters
thresh— AGAST detection threshold score.octaves— detection octaves. Use 0 to do single scale.patternScale— apply this scale to the pattern used for sampling the neighbourhood of a keypoint.
getDefaultName()#
String cv::xfeatures2d::BRISK::getDefaultName()
Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
getOctaves()#
int cv::xfeatures2d::BRISK::getOctaves()
getPatternScale()#
float cv::xfeatures2d::BRISK::getPatternScale()
getThreshold()#
int cv::xfeatures2d::BRISK::getThreshold()
setOctaves()#
void cv::xfeatures2d::BRISK::setOctaves(int octaves)
Set detection octaves.
Parameters
octaves— detection octaves. Use 0 to do single scale.
setPatternScale()#
void cv::xfeatures2d::BRISK::setPatternScale(float patternScale)
Set detection patternScale.
Parameters
patternScale— apply this scale to the pattern used for sampling the neighbourhood of a keypoint.
setThreshold()#
void cv::xfeatures2d::BRISK::setThreshold(int threshold)
Set detection threshold.
Parameters
threshold— AGAST detection threshold score.
Source file#
The documentation for this class was generated from the following file:
opencv2/xfeatures2d.hpp