LightGlueMatcher(DescriptorMatcher)を、スティッチングパイプラインの FeaturesMatcher インターフェースに適合させる特徴マッチャ。続きを読む...
#include <opencv2/stitching/detail/matchers.hpp>
LightGlueMatcher(DescriptorMatcher)を、スティッチングパイプラインの FeaturesMatcher インターフェースに適合させる特徴マッチャ。
このマッチャは特徴マッチングに DNN ベースの LightGlue を使用し、位置エンコーディングのために空間的コンテキストを持つ ALIKED スタイルのキーポイントを必要とする。
- 参照
- cv::detail::FeaturesMatcher cv::LightGlueMatcher
◆ LightGlueFeaturesMatcher()
| cv::detail::LightGlueFeaturesMatcher::LightGlueFeaturesMatcher |
( |
Ptr< LightGlueMatcher > | lgMatcher, |
|
|
int | num_matches_thresh1 = 6, |
|
|
int | num_matches_thresh2 = 6, |
|
|
double | matches_confidence_thresh = 3.0 ) |
| Python: |
|---|
| cv.detail.LightGlueFeaturesMatcher( | lgMatcher[, num_matches_thresh1[, num_matches_thresh2[, matches_confidence_thresh]]] | ) -> | <detail_LightGlueFeaturesMatcher object> |
LightGlue 特徴マッチャを構築する。
- 引数
-
| lgMatcher | DNN ベースのマッチングのための LightGlueMatcher インスタンス |
| num_matches_thresh1 | インライア分類ステップで使われる2D射影変換の推定に必要な、マッチの最小数 |
| num_matches_thresh2 | インライアでの2D射影変換の再推定に必要な、マッチの最小数 |
| matches_confidence_thresh | マッチを考慮に入れるためのマッチング信頼度のしきい値。 |
◆ match()
このメソッドは、ラッパーであるdetail::FeaturesMatcher::operator()_を機能させるために、マッチングのロジックを実装しなければならない。
- 引数
-
| features1 | 1枚目の画像の特徴 |
| features2 | 2枚目の画像の特徴 |
| matches_info | 見つかったマッチ |
cv::detail::FeaturesMatcherを実装する。
◆ setScoreThreshold()
| void cv::detail::LightGlueFeaturesMatcher::setScoreThreshold |
( |
float | thresh | ) |
|
| Python: |
|---|
| cv.detail.LightGlueFeaturesMatcher.setScoreThreshold( | thresh | ) -> | None |
マッチをフィルタリングするための LightGlue 信頼度しきい値を設定する。
◆ lg_score_thresh_
| float cv::detail::LightGlueFeaturesMatcher::lg_score_thresh_ |
|
protected |
◆ lgMatcher_
◆ matches_confidence_thresh_
| double cv::detail::LightGlueFeaturesMatcher::matches_confidence_thresh_ |
|
protected |
◆ num_matches_thresh1_
| int cv::detail::LightGlueFeaturesMatcher::num_matches_thresh1_ |
|
protected |
◆ num_matches_thresh2_
| int cv::detail::LightGlueFeaturesMatcher::num_matches_thresh2_ |
|
protected |
このクラス詳解は次のファイルから抽出されました: