OpenCV 4.13.0
Open Source Computer Vision
読み込み中...
検索中...
見つかりません
🤖 AIによる機械翻訳(非公式) — これは OpenCV 4.13.0 公式リファレンス(英語)を AI (Claude) で自動翻訳したものです。訳に誤りを含む場合があります。正確な情報は 公式英語版(原文) を参照してください。

詳細説明

覚え書き
デフォルト実装を上書きするための関数を定義する:
#undef hal_add8u
#define hal_add8u my_add8u

クラス

struct  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 に対する非極大値抑制。
 
int hal_ni_FASTv2 (const uchar *src_data, size_t src_step, int width, int height, void **keypoints_data, size_t *keypoints_count, int threshold, bool nonmax_suppression, int type, void *(*realloc_func)(void *, size_t))
 FASTアルゴリズムを用いてコーナーを検出する。
 

Fast feature detector types

参照
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,
uchar * keypoints_data,
size_t * keypoints_count,
int threshold,
bool nonmax_suppression,
int type )
inline

#include <features2d/src/hal_replacement.hpp>

FASTアルゴリズムを使用してコーナーを検出する。

引数
src_data入力画像データ
src_step入力画像のステップ
width入力画像の幅
height入力画像の高さ
keypoints_dataキーポイントへのポインタ
keypoints_countキーポイントの数
thresholdキーポイントのしきい値
nonmax_suppression非最大抑制(non-maxima suppression)を行うかどうかを示す。
typeFASTの型

◆ hal_ni_FAST_dense()

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 )
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,
uchar * 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入力マスクの寸法

◆ hal_ni_FASTv2()

int hal_ni_FASTv2 ( const uchar * src_data,
size_t src_step,
int width,
int height,
void ** keypoints_data,
size_t * keypoints_count,
int threshold,
bool nonmax_suppression,
int type,
void *(* realloc_func )(void *, size_t) )
inline

#include <features2d/src/hal_replacement.hpp>

FASTアルゴリズムを使用してコーナーを検出する。

引数
src_data入力画像データ
src_step入力画像のステップ
width入力画像の幅
height入力画像の高さ
keypoints_dataキーポイントへのポインタ
keypoints_countキーポイントの数
thresholdキーポイントのしきい値
nonmax_suppression非最大抑制(non-maxima suppression)を行うかどうかを示す。
typeFASTの型
realloc_func再割り当て用の関数