![]() |
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 演算法檢測角點。