OpenCV 4.12.0
開源計算機視覺
載入中...
搜尋中...
無匹配項

詳細描述

注意
定義您的函式以覆蓋預設實現
#undef hal_add8u
#define hal_add8u my_add8u

結構體  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 的非極大值抑制。
 

快速特徵檢測器型別

另請參見
cv::FastFeatureDetector
#define CV_HAL_TYPE_5_8   0
 
#define CV_HAL_TYPE_7_12   1
 
#define CV_HAL_TYPE_9_16   2
 

宏定義文件

◆ CV_HAL_TYPE_5_8

#define CV_HAL_TYPE_5_8   0

◆ CV_HAL_TYPE_7_12

#define CV_HAL_TYPE_7_12   1

◆ CV_HAL_TYPE_9_16

#define CV_HAL_TYPE_9_16   2

函式文件

◆ hal_ni_FAST()

int hal_ni_FAST ( const uchar * src_data,
size_t src_step,
int width,
int height,
I.at<uchar>(y, x) = saturate_cast<uchar>(r); * keypoints_data,
size_t * keypoints_count,
int RANSAC引數。它是點到畫素中對極線的最大距離,超過此距離的點將被視為異常值,不用於計算最終的基本矩陣。它可以設定為1-3左右,具體取決於點定位的精度、影像解析度和影像噪聲。,
bool nonmax_suppression,
int type )
inline

#include <features2d/src/hal_replacement.hpp>

使用 FAST 演算法檢測角點。

引數
src_data源影像資料
src_step源影像步長
width源影像寬度
height源影像高度
keypoints_data關鍵點指標
keypoints_count關鍵點計數
RANSAC引數。它是點到畫素中對極線的最大距離,超過此距離的點將被視為異常值,不用於計算最終的基本矩陣。它可以設定為1-3左右,具體取決於點定位的精度、影像解析度和影像噪聲。關鍵點閾值
nonmax_suppression指示是否進行非極大值抑制。
typeFAST 型別

◆ hal_ni_FAST_dense()

int hal_ni_FAST_dense ( const uchar * src_data,
size_t src_step,
I.at<uchar>(y, x) = saturate_cast<uchar>(r); * dst_data,
size_t dst_step,
int width,
int height,
cv::FastFeatureDetector::DetectorType type )
inline

#include <features2d/src/hal_replacement.hpp>

使用 FAST 演算法檢測角點,返回掩碼。

引數
src_data源影像資料
src_step源影像步長
dst_data目標掩碼資料
dst_step目標掩碼步長
width源影像寬度
height源影像高度
typeFAST 型別

◆ hal_ni_FAST_NMS()

int hal_ni_FAST_NMS ( const uchar * src_data,
size_t src_step,
I.at<uchar>(y, x) = saturate_cast<uchar>(r); * dst_data,
size_t dst_step,
int width,
int height )
inline

#include <features2d/src/hal_replacement.hpp>

FAST_9_16 的非極大值抑制。

引數
src_data,src_step源掩碼
dst_data,dst_stepNMS 後的目標掩碼
width,height源掩碼尺寸