|
OpenCV 4.5.3(日本語機械翻訳)
|
Features matcher which finds two best matches for each feature and leaves the best one only if the ratio between descriptor distances is greater than the threshold match_conf [詳解]
#include <matchers.hpp>
cv::detail::FeaturesMatcherを継承しています。
cv::detail::AffineBestOf2NearestMatcher, cv::detail::BestOf2NearestRangeMatcherに継承されています。
公開メンバ関数 |
|
| CV_WRAP | BestOf2NearestMatcher (bool try_use_gpu=false, float match_conf=0.3f, int num_matches_thresh1=6, int num_matches_thresh2=6) |
| best of 2 nearest" matcherを構築します.[【詳解】(英語]
|
|
| CV_WRAP void | collectGarbage () CV_OVERRIDE |
| 以前に割り当てられた未使用のメモリがあればそれを解放します。[【詳解】(英語]
|
|
基底クラス
cv::detail::FeaturesMatcher
に属する継承公開メンバ関数 |
|
| CV_WRAP_AS (apply) void operator()(const ImageFeatures &features1 | |
| CV_WRAP_AS(apply2) void operator()(const std CV_WRAP bool | isThreadSafe () const |
| 画像のマッチングを行います。[【詳解】(英語]
|
|
静的公開メンバ関数 |
|
| static CV_WRAP Ptr< BestOf2NearestMatcher > | create (bool try_use_gpu=false, float match_conf=0.3f, int num_matches_thresh1=6, int num_matches_thresh2=6) |
限定公開メンバ関数 |
|
| void | match (const ImageFeatures &features1, const ImageFeatures &features2, MatchesInfo &matches_info) CV_OVERRIDE |
| このメソッドは,ラッパー detail::FeaturesMatcher::operator()_ を動作させるために,マッチングロジックを実装する必要があります.[【詳解】(英語]
|
|
基底クラス
cv::detail::FeaturesMatcher
に属する継承限定公開メンバ関数 |
|
| FeaturesMatcher (bool is_thread_safe=false) | |
限定公開変数類 |
|
| int | num_matches_thresh1_ |
| int | num_matches_thresh2_ |
| Ptr< FeaturesMatcher > | impl_ |
基底クラス
cv::detail::FeaturesMatcher
に属する継承限定公開変数類 |
|
| bool | is_thread_safe_ |
その他の継承メンバ |
|
基底クラス
cv::detail::FeaturesMatcher
に属する継承公開変数類 |
|
| const ImageFeatures & | features2 |
| const ImageFeatures CV_OUT MatchesInfo & | matches_info { match(features1, features2, matches_info) |
各特徴に対して最適な2つのマッチを見つけ,ディスクリプタ間の距離の比が閾値よりも大きい場合にのみ,最適なものを残す特徴照合器 match_conf
| CV_WRAP cv::detail::BestOf2NearestMatcher::BestOf2NearestMatcher | ( | bool |
try_use_gpu
=
false,
|
| float |
match_conf
=
0.3f,
|
||
| int |
num_matches_thresh1
=
6,
|
||
| int |
num_matches_thresh2
=
6 |
||
| ) |
best of 2 nearest" matcherを構築します.
| try_use_gpu | GPUの使用を試みるかどうか |
| match_conf | 一致する距離のしきい値 |
| num_matches_thresh1 | インライア分類ステップで使用される2次元射影変換の推定に必要な最小一致数 |
| num_matches_thresh2 | インライアに対する2次元射影変換の再推定に必要な最小一致数 |
|
virtual |
以前に割り当てられた未使用のメモリがあればそれを解放します。
cv::detail::FeaturesMatcherを再実装します。
|
protected virtual |
このメソッドは,ラッパー detail::FeaturesMatcher::operator()_ を動作させるために,マッチングロジックを実装する必要があります.
| features1 | 1枚目の画像の特徴 |
| features2 | 2番目の画像の特徴 |
| matches_info | 見つかったマッチ |
cv::detail::FeaturesMatcherを実装します。