特徵匹配器,為每個特徵找到兩個最佳匹配項,並且僅當描述符距離之間的比率大於閾值 match_conf 時才保留最佳匹配項。 更多...
#include <opencv2/stitching/detail/matchers.hpp>
|
| static Ptr< BestOf2NearestMatcher > | create (bool try_use_gpu=false, float match_conf=0.3f, int num_matches_thresh1=6, int num_matches_thresh2=6, double matches_confindece_thresh=3.) |
| |
特徵匹配器,為每個特徵找到兩個最佳匹配項,並且僅當描述符距離之間的比率大於閾值 match_conf 時才保留最佳匹配項。
- 另請參見
- detail::FeaturesMatcher
◆ BestOf2NearestMatcher()
| cv::detail::BestOf2NearestMatcher::BestOf2NearestMatcher |
( |
bool | try_use_gpu = false, |
|
|
float | match_conf = 0.3f, |
|
|
int | num_matches_thresh1 = 6, |
|
|
int | num_matches_thresh2 = 6, |
|
|
double | matches_confindece_thresh = 3. ) |
| Python |
|---|
| cv.detail.BestOf2NearestMatcher( | [, try_use_gpu[, match_conf[, num_matches_thresh1[, num_matches_thresh2[, matches_confindece_thresh]]]]] | ) -> | <detail_BestOf2NearestMatcher object> |
構造一個“best of 2 nearest”匹配器。
- 引數
-
| try_use_gpu | 應嘗試使用 GPU 還是不使用 GPU |
| match_conf | 匹配距離比率閾值 |
| num_matches_thresh1 | 在內點分類步驟中使用的 2D 投影變換估計所需的最小匹配數 |
| num_matches_thresh2 | 內點上的 2D 投影變換重新估計所需的最小匹配數 |
| matches_confindece_thresh | 將匹配考慮在內的匹配置信度閾值。 該閾值是透過實驗確定的,預設設定為 3。 |
◆ collectGarbage()
| void cv::detail::BestOf2NearestMatcher::collectGarbage |
( |
| ) |
|
|
virtual |
| Python |
|---|
| cv.detail.BestOf2NearestMatcher.collectGarbage( | | ) -> | 無 |
◆ create()
| static Ptr< BestOf2NearestMatcher > cv::detail::BestOf2NearestMatcher::create |
( |
bool | try_use_gpu = false, |
|
|
float | match_conf = 0.3f, |
|
|
int | num_matches_thresh1 = 6, |
|
|
int | num_matches_thresh2 = 6, |
|
|
double | matches_confindece_thresh = 3. ) |
|
static |
| Python |
|---|
| cv.detail.BestOf2NearestMatcher.create( | [, try_use_gpu[, match_conf[, num_matches_thresh1[, num_matches_thresh2[, matches_confindece_thresh]]]]] | ) -> | retval |
| cv.detail.BestOf2NearestMatcher_create( | [, try_use_gpu[, match_conf[, num_matches_thresh1[, num_matches_thresh2[, matches_confindece_thresh]]]]] | ) -> | retval |
◆ match()
◆ impl_
◆ matches_confindece_thresh_
| double cv::detail::BestOf2NearestMatcher::matches_confindece_thresh_ |
|
保護 |
◆ num_matches_thresh1_
| int cv::detail::BestOf2NearestMatcher::num_matches_thresh1_ |
|
保護 |
◆ num_matches_thresh2_
| int cv::detail::BestOf2NearestMatcher::num_matches_thresh2_ |
|
保護 |
該類的文件是從以下檔案生成的