![]() |
OpenCV 4.12.0
開源計算機視覺
|
類 | |
| 結構體 | cvhalKeyPoint |
函式 | |
| int | hal_ni_FAST (const uchar *src_data, size_t src_step, int width, int height, uchar *keypoints_data, size_t *keypoints_count, int threshold, bool nonmax_suppression, int type) |
| 使用 FAST 演算法檢測角點。 | |
| int | hal_ni_FAST_dense (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, cv::FastFeatureDetector::DetectorType type) |
| 使用 FAST 演算法檢測角點,返回掩碼。 | |
| int | hal_ni_FAST_NMS (const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height) |
| FAST_9_16 的非極大值抑制。 | |
快速特徵檢測器型別 | |
| #define | CV_HAL_TYPE_5_8 0 |
| #define | CV_HAL_TYPE_7_12 1 |
| #define | CV_HAL_TYPE_9_16 2 |
| #define CV_HAL_TYPE_5_8 0 |
#include <opencv2/features2d/hal/interface.h>
| #define CV_HAL_TYPE_7_12 1 |
#include <opencv2/features2d/hal/interface.h>
| #define CV_HAL_TYPE_9_16 2 |
#include <opencv2/features2d/hal/interface.h>
|
inline |
#include <features2d/src/hal_replacement.hpp>
使用 FAST 演算法檢測角點。
| src_data | 源影像資料 |
| src_step | 源影像步長 |
| width | 源影像寬度 |
| height | 源影像高度 |
| keypoints_data | 關鍵點指標 |
| keypoints_count | 關鍵點計數 |
| RANSAC引數。它是點到畫素中對極線的最大距離,超過此距離的點將被視為異常值,不用於計算最終的基本矩陣。它可以設定為1-3左右,具體取決於點定位的精度、影像解析度和影像噪聲。 | 關鍵點閾值 |
| nonmax_suppression | 指示是否進行非極大值抑制。 |
| type | FAST 型別 |
|
inline |
#include <features2d/src/hal_replacement.hpp>
使用 FAST 演算法檢測角點,返回掩碼。
| src_data | 源影像資料 |
| src_step | 源影像步長 |
| dst_data | 目標掩碼資料 |
| dst_step | 目標掩碼步長 |
| width | 源影像寬度 |
| height | 源影像高度 |
| type | FAST 型別 |
|
inline |
#include <features2d/src/hal_replacement.hpp>
FAST_9_16 的非極大值抑制。
| src_data,src_step | 源掩碼 |
| dst_data,dst_step | NMS 後的目標掩碼 |
| width,height | 源掩碼尺寸 |