AGAST方法的特征检测包装类。 : 更多信息...
#include <opencv2/features2d.hpp>
|
virtual String | getDefaultName () const CV_OVERRIDE |
|
virtual bool | getNonmaxSuppression () const =0 |
|
virtual int | getThreshold () const =0 |
|
virtual AgastFeatureDetector::DetectorType | getType () const =0 |
|
virtual void | setNonmaxSuppression (bool f)=0 |
|
virtual void | setThreshold (int threshold)=0 |
|
virtual void | setType (AgastFeatureDetector::DetectorType type)=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 PtrFileStorage> &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 PtrFileStorage> &fs, const String &name=String())const |
|
void | write (FileStorage &fs, const String &name) const |
|
◆ 匿名枚举
枚举器 |
---|
THRESHOLD | |
NONMAX_SUPPRESSION | |
◆ DetectorType
枚举 cv::AgastFeatureDetector::DetectorType |
枚举器 |
---|
AGAST_5_8 | |
AGAST_7_12d | |
AGAST_7_12s | |
OAST_9_16 | |
◆ create()
Python |
---|
| cv.AgastFeatureDetector.create( | [, threshold[, nonmaxSuppression[, type]]] | ) -> | retval |
| cv.AgastFeatureDetector_create( | [, threshold[, nonmaxSuppression[, type]]] | ) -> | retval |
◆ getDefaultName()
virtual String cv::AgastFeatureDetector::getDefaultName |
( |
| ) |
const |
|
virtual |
Python |
---|
| cv.AgastFeatureDetector.getDefaultName( | | ) -> | retval |
返回算法字符串标识符。当对象保存到文件或字符串时,该字符串用作顶层xml/yml节点标记。
重新实现了cv::Feature2D。
◆ getNonmaxSuppression()
virtual bool cv::AgastFeatureDetector::getNonmaxSuppression |
( |
| ) |
const |
|
纯虚 |
Python |
---|
| cv.AgastFeatureDetector.getNonmaxSuppression( | | ) -> | retval |
◆ getThreshold()
虚拟 int cv::AgastFeatureDetector::getThreshold |
( |
| ) |
const |
|
纯虚 |
Python |
---|
| cv.AgastFeatureDetector.getThreshold( | | ) -> | retval |
◆ getType()
Python |
---|
| cv.AgastFeatureDetector.getType( | | ) -> | retval |
◆ setNonmaxSuppression()
虚拟 void cv::AgastFeatureDetector::setNonmaxSuppression |
( |
bool |
f | ) |
|
|
纯虚 |
Python |
---|
| cv.AgastFeatureDetector.setNonmaxSuppression( | f | ) -> | None |
◆ setThreshold()
虚拟 void cv::AgastFeatureDetector::setThreshold |
( |
int |
threshold | ) |
|
|
纯虚 |
Python |
---|
| cv.AgastFeatureDetector.setThreshold( | threshold | ) -> | None |
◆ setType()
Python |
---|
| cv.AgastFeatureDetector.setType( | type | ) -> | None |
本类的文档是从以下文件生成的