该类实现了由 [2] 引入的关键点检测器,与 StarDetector 同义。 : 更多信息...
#include <opencv2/xfeatures2d.hpp>
|
String | getDefaultName () const CV_OVERRIDE |
|
virtual int | getLineThresholdBinarized () const =0 |
|
virtual int | getLineThresholdProjected () const =0 |
|
virtual int | getMaxSize () const =0 |
|
virtual int | getResponseThreshold () const =0 |
|
virtual int | getSuppressNonmaxSize () const =0 |
|
virtual void | setLineThresholdBinarized (int _lineThresholdBinarized)=0 |
|
virtual void | setLineThresholdProjected (int _lineThresholdProjected)=0 |
|
virtual void | setMaxSize (int _maxSize)=0 |
|
virtual void | setResponseThreshold (int _responseThreshold)=0 |
|
virtual void | setSuppressNonmaxSize (int _suppressNonmaxSize)=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 |
|
此类实现了由 [2] 引入的关键点检测技术,是 StarDetector 的同义词。
◆ create()
static Ptr< StarDetector > cv::xfeatures2d::StarDetector::create |
( |
int |
maxSize = 45 , |
|
|
int |
responseThreshold = 30 , |
|
|
int |
lineThresholdProjected = 10 , |
|
|
int |
lineThresholdBinarized = 8 , |
|
|
int |
suppressNonmaxSize = 5 |
|
) |
| |
|
static |
Python |
---|
| cv.xfeatures2d.StarDetector.create( | [, maxSize[, responseThreshold[, lineThresholdProjected[, lineThresholdBinarized[, suppressNonmaxSize]]]]] | ) -> | retval |
| cv.xfeatures2d.StarDetector_create( | [, maxSize[, responseThreshold[, lineThresholdProjected[, lineThresholdBinarized[, suppressNonmaxSize]]]]] | ) -> | retval |
◆ getDefaultName()
String cv::xfeatures2d::StarDetector::getDefaultName |
( |
| ) |
const |
|
virtual |
Python |
---|
| cv.xfeatures2d.StarDetector.getDefaultName( | | ) -> | retval |
返回算法字符串标识符。当将对象保存到文件或字符串时,该字符串用于顶层 xml/yml 节点标记。
重写了 cv::Feature2D。
◆ getLineThresholdBinarized()
virtual int cv::xfeatures2d::StarDetector::getLineThresholdBinarized |
( |
| ) |
const |
|
纯虚 |
Python |
---|
| cv.xfeatures2d.StarDetector.getLineThresholdBinarized( | | ) -> | retval |
◆ getLineThresholdProjected()
virtual int cv::xfeatures2d::StarDetector::getLineThresholdProjected |
( |
| ) |
const |
|
纯虚 |
Python |
---|
| cv.xfeatures2d.StarDetector.getLineThresholdProjected( | | ) -> | retval |
◆ getMaxSize()
virtual int cv::xfeatures2d::StarDetector::getMaxSize |
( |
| ) |
const |
|
纯虚 |
Python |
---|
| cv.xfeatures2d.StarDetector.getMaxSize( | | ) -> | retval |
◆ getResponseThreshold()
virtual int cv::xfeatures2d::StarDetector::getResponseThreshold |
( |
| ) |
const |
|
纯虚 |
Python |
---|
| cv.xfeatures2d.StarDetector.getResponseThreshold( | | ) -> | retval |
◆ getSuppressNonmaxSize()
virtual int cv::xfeatures2d::StarDetector::getSuppressNonmaxSize |
( |
| ) |
const |
|
纯虚 |
Python |
---|
| cv.xfeatures2d.StarDetector.getSuppressNonmaxSize( | | ) -> | retval |
◆ setLineThresholdBinarized()
virtual void cv::xfeatures2d::StarDetector::setLineThresholdBinarized |
( |
int |
_lineThresholdBinarized | ) |
|
|
纯虚 |
Python |
---|
| cv.xfeatures2d.StarDetector.setLineThresholdBinarized( | _lineThresholdBinarized | ) -> | None |
◆ setLineThresholdProjected()
virtual void cv::xfeatures2d::StarDetector::setLineThresholdProjected |
( |
int |
_lineThresholdProjected | ) |
|
|
纯虚 |
Python |
---|
| cv.xfeatures2d.StarDetector.setLineThresholdProjected( | _lineThresholdProjected | ) -> | None |
◆ setMaxSize()
virtual void cv::xfeatures2d::StarDetector::setMaxSize |
( |
int |
_maxSize | ) |
|
|
纯虚 |
Python |
---|
| cv.xfeatures2d.StarDetector.setMaxSize( | _maxSize | ) -> | None |
◆ setResponseThreshold()
virtual void cv::xfeatures2d::StarDetector::setResponseThreshold |
( |
int |
_responseThreshold | ) |
|
|
纯虚 |
Python |
---|
| cv.xfeatures2d.StarDetector.setResponseThreshold( | _responseThreshold | ) -> | None |
◆ setSuppressNonmaxSize()
虚函数 cv::xfeatures2d::StarDetector::setSuppressNonmaxSize |
( |
int |
_suppressNonmaxSize | ) |
|
|
纯虚 |
Python |
---|
| cv.xfeatures2d.StarDetector.set SuppressNonmaxSize( | _suppressNonmaxSize | ) -> | None |
本类的文档是由以下文件生成的