![]() |
OpenCV 4.12.0
开源计算机视觉
|
本节介绍用于 2d 特征检测的实验性算法。
函数 | |
| void | cv::xfeatures2d::FASTForPointSet (InputArray image, std::vector< KeyPoint > &keypoints, int threshold, bool nonmaxSuppression=true, cv::FastFeatureDetector::DetectorType type=FastFeatureDetector::TYPE_9_16) |
| 使用 FAST 算法估计预先指定的关键点的角点性。 | |
| void cv::xfeatures2d::FASTForPointSet | ( | InputArray | image, |
| std::vector< KeyPoint > & | keypoints, | ||
| int | RANSAC参数。它是点到像素中对极线的最大距离,超过此距离的点将被视为异常值,不用于计算最终的基本矩阵。它可以设置为1-3左右,具体取决于点定位的精度、图像分辨率和图像噪声。, | ||
| bool | nonmaxSuppression = true, | ||
| cv::FastFeatureDetector::DetectorType | type = FastFeatureDetector::TYPE_9_16 ) |
#include <opencv2/xfeatures2d.hpp>
使用 FAST 算法估计预先指定的关键点的角点性。
| image | 在其中检测到关键点(角)的灰度图像。 |
| keypoints | 应测试以符合 FAST 标准的关键点。 未检测为角点的关键点将被删除。 |
| RANSAC参数。它是点到像素中对极线的最大距离,超过此距离的点将被视为异常值,不用于计算最终的基本矩阵。它可以设置为1-3左右,具体取决于点定位的精度、图像分辨率和图像噪声。 | 中心像素强度与该像素周围圆形像素强度之间的差异阈值。 |
| nonmaxSuppression | 如果为 true,则将非最大值抑制应用于检测到的角点(关键点)。 |
| type | 论文中定义的三种邻域之一:FastFeatureDetector::TYPE_9_16、FastFeatureDetector::TYPE_7_12、FastFeatureDetector::TYPE_5_8 |
使用 [231] 中的 FAST 算法检测角点。