OpenCV 4.11.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 )
静态
Python
cv.xfeatures2d.StarDetector.create([, maxSize[, responseThreshold[, lineThresholdProjected[, lineThresholdBinarized[, suppressNonmaxSize]]]]]) -> 返回值
cv.xfeatures2d.StarDetector_create([, maxSize[, responseThreshold[, lineThresholdProjected[, lineThresholdBinarized[, suppressNonmaxSize]]]]]) -> 返回值

完整的构造函数

◆ getDefaultName()

String cv::xfeatures2d::StarDetector::getDefaultName ( ) const
虚函数
Python
cv.xfeatures2d.StarDetector.getDefaultName() -> 返回值

返回算法字符串标识符。保存对象到文件或字符串时,此字符串用作顶级 xml/yml 节点标签。

cv::Feature2D 重实现。

◆ getLineThresholdBinarized()

virtual int cv::xfeatures2d::StarDetector::getLineThresholdBinarized ( ) const
纯虚函数
Python
cv.xfeatures2d.StarDetector.getLineThresholdBinarized() -> 返回值

◆ getLineThresholdProjected()

virtual int cv::xfeatures2d::StarDetector::getLineThresholdProjected ( ) const
纯虚函数
Python
cv.xfeatures2d.StarDetector.getLineThresholdProjected() -> 返回值

◆ getMaxSize()

virtual int cv::xfeatures2d::StarDetector::getMaxSize ( ) const
纯虚函数
Python
cv.xfeatures2d.StarDetector.getMaxSize() -> 返回值

◆ getResponseThreshold()

virtual int cv::xfeatures2d::StarDetector::getResponseThreshold ( ) const
纯虚函数
Python
cv.xfeatures2d.StarDetector.getResponseThreshold() -> 返回值

◆ getSuppressNonmaxSize()

virtual int cv::xfeatures2d::StarDetector::getSuppressNonmaxSize ( ) const
纯虚函数
Python
cv.xfeatures2d.StarDetector.getSuppressNonmaxSize() -> 返回值

◆ setLineThresholdBinarized()

virtual void cv::xfeatures2d::StarDetector::setLineThresholdBinarized ( int _lineThresholdBinarized)
纯虚函数
Python
cv.xfeatures2d.StarDetector.setLineThresholdBinarized(_lineThresholdBinarized) ->

◆ setLineThresholdProjected()

virtual void cv::xfeatures2d::StarDetector::setLineThresholdProjected ( int _lineThresholdProjected)
纯虚函数
Python
cv.xfeatures2d.StarDetector.setLineThresholdProjected(_lineThresholdProjected) ->

◆ setMaxSize()

virtual void cv::xfeatures2d::StarDetector::setMaxSize ( int _maxSize)
纯虚函数
Python
cv.xfeatures2d.StarDetector.setMaxSize(_maxSize) ->

◆ setResponseThreshold()

virtual void cv::xfeatures2d::StarDetector::setResponseThreshold ( int _responseThreshold)
纯虚函数
Python
cv.xfeatures2d.StarDetector.setResponseThreshold(_responseThreshold) ->

◆ setSuppressNonmaxSize()

virtual void cv::xfeatures2d::StarDetector::setSuppressNonmaxSize ( int _suppressNonmaxSize)
纯虚函数
Python
cv.xfeatures2d.StarDetector.setSuppressNonmaxSize(_suppressNonmaxSize) ->

此类的文档是从以下文件生成的