实现 BRISK 关键点检测器和描述符提取器的类,描述于 [161] 中。 更多...
#include <opencv2/features2d.hpp>
|
| virtual String | getDefaultName () const CV_OVERRIDE |
| |
| virtual int | getOctaves () const =0 |
| |
| virtual float | getPatternScale () const =0 |
| |
| virtual int | getThreshold () const =0 |
| |
| virtual void | setOctaves (int octaves)=0 |
| | 设置检测八度音阶。
|
| |
| virtual void | setPatternScale (float patternScale)=0 |
| | 设置检测 patternScale。
|
| |
| virtual void | setThreshold (int threshold)=0 |
| | 设置检测阈值。
|
| |
| virtual | ~Feature2D () |
| |
| virtual void | compute (InputArray image, std::vector< KeyPoint > &keypoints, OutputArray descriptors) |
| | 计算在图像(第一种变体)或图像集(第二种变体)中检测到的关键点集的描述符。
|
| |
| virtual void | compute (InputArrayOfArrays images, std::vector< std::vector< KeyPoint > > &keypoints, OutputArrayOfArrays descriptors) |
| |
| virtual int | defaultNorm () const |
| |
| virtual int | descriptorSize () const |
| |
| virtual int | descriptorType () const |
| |
| virtual void | detect (InputArray image, std::vector< KeyPoint > &keypoints, InputArray mask=noArray()) |
| | 在图像(第一种变体)或图像集(第二种变体)中检测关键点。
|
| |
| virtual void | detect (InputArrayOfArrays images, std::vector< std::vector< KeyPoint > > &keypoints, InputArrayOfArrays masks=noArray()) |
| |
| virtual void | detectAndCompute (InputArray image, InputArray mask, std::vector< KeyPoint > &keypoints, OutputArray descriptors, bool useProvidedKeypoints=false) |
| |
| virtual bool | empty () const CV_OVERRIDE |
| | 如果检测器对象为空,则返回 true。
|
| |
| virtual void | read (const FileNode &) CV_OVERRIDE |
| | 从文件存储中读取算法参数。
|
| |
| void | read (const String &fileName) |
| |
| void | write (const Ptr< FileStorage > &fs, const String &name) const |
| |
| void | write (const String &fileName) const |
| |
| virtual void | write (FileStorage &) const CV_OVERRIDE |
| | 将算法参数存储到文件存储中。
|
| |
| void | write (FileStorage &fs, const String &name) const |
| |
| | Algorithm () |
| |
| virtual | ~Algorithm () |
| |
| virtual void | clear () |
| | 清除算法状态。
|
| |
| virtual void | save (const String &filename) const |
| |
| void | write (const Ptr< FileStorage > &fs, const String &name=String()) const |
| |
| void | write (FileStorage &fs, const String &name) const |
| |
|
| static Ptr< 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 >()) |
| | 用于自定义模式的 BRISK 构造函数。
|
| |
| static Ptr< 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 >()) |
| | 用于自定义模式、检测阈值和八度音程的 BRISK 构造函数。
|
| |
| static Ptr< BRISK > | create (int thresh=30, int octaves=3, float patternScale=1.0f) |
| | BRISK 构造函数。
|
| |
| template<typename _Tp > |
| static Ptr< _Tp > | load (const String &filename, const String &objname=String()) |
| | 从文件中加载算法。
|
| |
| template<typename _Tp > |
| static Ptr< _Tp > | loadFromString (const String &strModel, const String &objname=String()) |
| | 从字符串加载算法。
|
| |
| template<typename _Tp > |
| static Ptr< _Tp > | read (const FileNode &fn) |
| | 从文件节点读取算法。
|
| |
实现 BRISK 关键点检测器和描述符提取器的类,描述于 [161] 中。
◆ create() [1/3]
| static Ptr< BRISK > cv::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 >() ) |
|
static |
| Python |
|---|
| cv.BRISK.create( | [, thresh[, octaves[, patternScale]]] | ) -> | retval |
| cv.BRISK.create( | radiusList, numberList[, dMax[, dMin[, indexChange]]] | ) -> | retval |
| cv.BRISK.create( | thresh, octaves, radiusList, numberList[, dMax[, dMin[, indexChange]]] | ) -> | retval |
| cv.BRISK_create( | [, thresh[, octaves[, patternScale]]] | ) -> | retval |
| cv.BRISK_create( | radiusList, numberList[, dMax[, dMin[, indexChange]]] | ) -> | retval |
| cv.BRISK_create( | thresh, octaves, radiusList, numberList[, dMax[, dMin[, indexChange]]] | ) -> | retval |
用于自定义模式的 BRISK 构造函数。
- 参数
-
| radiusList | 定义了在关键点周围进行采样时的半径(以像素为单位)(对于关键点比例 1)。 |
| numberList | 定义了采样圆上的采样点数量。必须与 radiusList 尺寸相同。 |
| dMax | 用于描述符形成时的短配对阈值(对于关键点比例 1,以像素为单位)。 |
| dMin | 用于方向确定时的长配对阈值(对于关键点比例 1,以像素为单位)。 |
| indexChange | 比特的索引重映射。 |
◆ create() [2/3]
| static Ptr< BRISK > cv::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 >() ) |
|
static |
| Python |
|---|
| cv.BRISK.create( | [, thresh[, octaves[, patternScale]]] | ) -> | retval |
| cv.BRISK.create( | radiusList, numberList[, dMax[, dMin[, indexChange]]] | ) -> | retval |
| cv.BRISK.create( | thresh, octaves, radiusList, numberList[, dMax[, dMin[, indexChange]]] | ) -> | retval |
| cv.BRISK_create( | [, thresh[, octaves[, patternScale]]] | ) -> | retval |
| cv.BRISK_create( | radiusList, numberList[, dMax[, dMin[, indexChange]]] | ) -> | retval |
| cv.BRISK_create( | thresh, octaves, radiusList, numberList[, dMax[, dMin[, indexChange]]] | ) -> | retval |
用于自定义模式、检测阈值和八度音程的 BRISK 构造函数。
- 参数
-
| thresh | AGAST 检测阈值分数。 |
| octaves | 检测八度音程。使用 0 表示单尺度。 |
| radiusList | 定义了在关键点周围进行采样时的半径(以像素为单位)(对于关键点比例 1)。 |
| numberList | 定义了采样圆上的采样点数量。必须与 radiusList 尺寸相同。 |
| dMax | 用于描述符形成时的短配对阈值(对于关键点比例 1,以像素为单位)。 |
| dMin | 用于方向确定时的长配对阈值(对于关键点比例 1,以像素为单位)。 |
| indexChange | 比特的索引重映射。 |
◆ create() [3/3]
| static Ptr< BRISK > cv::BRISK::create |
( |
int | thresh = 30, |
|
|
int | octaves = 3, |
|
|
float | patternScale = 1.0f ) |
|
static |
| Python |
|---|
| cv.BRISK.create( | [, thresh[, octaves[, patternScale]]] | ) -> | retval |
| cv.BRISK.create( | radiusList, numberList[, dMax[, dMin[, indexChange]]] | ) -> | retval |
| cv.BRISK.create( | thresh, octaves, radiusList, numberList[, dMax[, dMin[, indexChange]]] | ) -> | retval |
| cv.BRISK_create( | [, thresh[, octaves[, patternScale]]] | ) -> | retval |
| cv.BRISK_create( | radiusList, numberList[, dMax[, dMin[, indexChange]]] | ) -> | retval |
| cv.BRISK_create( | thresh, octaves, radiusList, numberList[, dMax[, dMin[, indexChange]]] | ) -> | retval |
BRISK 构造函数。
- 参数
-
| thresh | AGAST 检测阈值分数。 |
| octaves | 检测八度音程。使用 0 表示单尺度。 |
| patternScale | 将此比例应用于用于采样关键点周围区域的模式。 |
◆ getDefaultName()
| virtual String cv::BRISK::getDefaultName |
( |
| ) |
const |
|
virtual |
| Python |
|---|
| cv.BRISK.getDefaultName( | | ) -> | retval |
返回算法字符串标识符。当对象保存到文件或字符串时,此字符串用作顶级 xml/yml 节点标签。
重新实现自 cv::Feature2D。
◆ getOctaves()
| virtual int cv::BRISK::getOctaves |
( |
| ) |
const |
|
纯虚函数 |
| Python |
|---|
| cv.BRISK.getOctaves( | | ) -> | retval |
◆ getPatternScale()
| virtual float cv::BRISK::getPatternScale |
( |
| ) |
const |
|
纯虚函数 |
| Python |
|---|
| cv.BRISK.getPatternScale( | | ) -> | retval |
◆ getThreshold()
| virtual int cv::BRISK::getThreshold |
( |
| ) |
const |
|
纯虚函数 |
| Python |
|---|
| cv.BRISK.getThreshold( | | ) -> | retval |
◆ setOctaves()
| virtual void cv::BRISK::setOctaves |
( |
int | octaves | ) |
|
|
纯虚函数 |
| Python |
|---|
| cv.BRISK.setOctaves( | octaves | ) -> | 无 |
设置检测八度音阶。
- 参数
-
| octaves | 检测八度音程。使用 0 表示单尺度。 |
◆ setPatternScale()
| virtual void cv::BRISK::setPatternScale |
( |
float | patternScale | ) |
|
|
纯虚函数 |
| Python |
|---|
| cv.BRISK.setPatternScale( | patternScale | ) -> | 无 |
设置检测 patternScale。
- 参数
-
| patternScale | 将此比例应用于用于采样关键点周围区域的模式。 |
◆ setThreshold()
| virtual void cv::BRISK::setThreshold |
( |
int | RANSAC参数。它是点到像素中对极线的最大距离,超过此距离的点将被视为异常值,不用于计算最终的基本矩阵。它可以设置为1-3左右,具体取决于点定位的精度、图像分辨率和图像噪声。 | ) |
|
|
纯虚函数 |
| Python |
|---|
| cv.BRISK.setThreshold( | RANSAC参数。它是点到像素中对极线的最大距离,超过此距离的点将被视为异常值,不用于计算最终的基本矩阵。它可以设置为1-3左右,具体取决于点定位的精度、图像分辨率和图像噪声。 | ) -> | 无 |
设置检测阈值。
- 参数
-
| RANSAC参数。它是点到像素中对极线的最大距离,超过此距离的点将被视为异常值,不用于计算最终的基本矩阵。它可以设置为1-3左右,具体取决于点定位的精度、图像分辨率和图像噪声。 | AGAST 检测阈值分数。 |
此类的文档生成自以下文件