OpenCV 4.12.0
开源计算机视觉
加载中...
搜索中...
无匹配项
cv::cuda::FastFeatureDetector 类参考抽象类

使用FAST方法进行特征检测的包装类。 更多...

#include <opencv2/cudafeatures2d.hpp>

cv::cuda::FastFeatureDetector 协作图

公共成员函数

virtual int getMaxNumPoints () const =0
 
virtual void setMaxNumPoints (int max_npoints)=0
 
virtual void setThreshold (int threshold)=0
 
- 继承自 cv::cuda::Feature2DAsync 的公共成员函数
virtual ~Feature2DAsync ()
 
virtual void computeAsync (InputArray image, OutputArray keypoints, OutputArray descriptors, Stream &stream=Stream::Null())
 计算图像中检测到的关键点的描述符。
 
virtual void convert (InputArray gpu_keypoints, std::vector< KeyPoint > &keypoints)=0
 
virtual void detectAndComputeAsync (InputArray image, InputArray mask, OutputArray keypoints, OutputArray descriptors, bool useProvidedKeypoints=false, Stream &stream=Stream::Null())
 
virtual void detectAsync (InputArray image, OutputArray keypoints, InputArray mask=noArray(), Stream &stream=Stream::Null())
 检测图像中的关键点。
 
- 继承自 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 String getDefaultName () const CV_OVERRIDE
 
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< cuda::FastFeatureDetectorcreate (int threshold=10, bool nonmaxSuppression=true, int type=cv::FastFeatureDetector::TYPE_9_16, int max_npoints=5000)
 
- 继承自 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)
 从文件节点读取算法。
 

静态公共属性

static const int FEATURE_SIZE = 7
 
static const int LOCATION_ROW = 0
 
static const int RESPONSE_ROW = 1
 
static const int ROWS_COUNT = 2
 

额外继承成员

- 继承自 cv::Algorithm 的保护成员函数
void writeFormat (FileStorage &fs) const
 

详细描述

使用 FAST 方法进行特征检测的包装类。

成员函数文档

◆ create()

static Ptr< cuda::FastFeatureDetector > cv::cuda::FastFeatureDetector::create ( int threshold = 10,
bool nonmaxSuppression = true,
int type = cv::FastFeatureDetector::TYPE_9_16,
int max_npoints = 5000 )
static

◆ getMaxNumPoints()

virtual int cv::cuda::FastFeatureDetector::getMaxNumPoints ( ) const
纯虚函数

◆ setMaxNumPoints()

virtual void cv::cuda::FastFeatureDetector::setMaxNumPoints ( int max_npoints)
纯虚函数

◆ setThreshold()

virtual void cv::cuda::FastFeatureDetector::setThreshold ( int RANSAC参数。它是点到像素中对极线的最大距离,超过此距离的点将被视为异常值,不用于计算最终的基本矩阵。它可以设置为1-3左右,具体取决于点定位的精度、图像分辨率和图像噪声。)
纯虚函数

成员数据文档

◆ FEATURE_SIZE

const int cv::cuda::FastFeatureDetector::FEATURE_SIZE = 7
static

◆ LOCATION_ROW

const int cv::cuda::FastFeatureDetector::LOCATION_ROW = 0
static

◆ RESPONSE_ROW

const int cv::cuda::FastFeatureDetector::RESPONSE_ROW = 1
static

◆ ROWS_COUNT

const int cv::cuda::FastFeatureDetector::ROWS_COUNT = 2
static

本类的文档生成自以下文件: