OpenCV  4.10.0
开源计算机视觉
加载中...
搜索中...
无匹配
公共成员函数 | 静态公共成员函数 | 所有成员列表
cv::xfeatures2d::StarDetector 类参考抽象

该类实现了由 [2] 引入的关键点检测器,与 StarDetector 同义。 : 更多信息...

#include <opencv2/xfeatures2d.hpp>

cv::xfeatures2d::StarDetector 的协作图

公共成员函数

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
 
- 从 cv::Feature2D 继承的公共成员函数
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
 
- 从cv::Algorithm继承的公共成员函数
 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< StarDetectorcreate (int maxSize=45, int responseThreshold=30, int lineThresholdProjected=10, int lineThresholdBinarized=8, int suppressNonmaxSize=5)
 完整的构造函数
 
- 从cv::Algorithm继承的静态公共成员函数
template<typename _Tp >
static Ptr< _Tpload (const String &filename, const String &objname=String())
 从文件加载数学算法。
 
template<typename _Tp >
static Ptr< _TploadFromString (const String &strModel, const String &objname=String())
 从字符串加载数学算法。
 
template<typename _Tp >
static Ptr< _Tpread (const FileNode &fn)
 从文件节点读取算法。
 

其他继承成员

- 从 cv::Algorithm 继承的受保护成员函数
void writeFormat (FileStorage &fs) 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

本类的文档是由以下文件生成的