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に継承されています。
|
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 |
| This method must implement matching logic in order to make the wrappers detail::FeaturesMatcher::operator()_ work. [詳解]
|
|
| FeaturesMatcher (bool is_thread_safe=false) |
|
|
int | num_matches_thresh1_ |
|
int | num_matches_thresh2_ |
|
Ptr< FeaturesMatcher > | impl_ |
|
bool | is_thread_safe_ |
|
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
- 参照
- detail::FeaturesMatcher
◆ BestOf2NearestMatcher()
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 |
|
) |
| |
Constructs a "best of 2 nearest" matcher.
- 引数
-
try_use_gpu | Should try to use GPU or not |
match_conf | Match distances ration threshold |
num_matches_thresh1 | Minimum number of matches required for the 2D projective transform estimation used in the inliers classification step |
num_matches_thresh2 | Minimum number of matches required for the 2D projective transform re-estimation on inliers |
◆ collectGarbage()
CV_WRAP void cv::detail::BestOf2NearestMatcher::collectGarbage |
( |
| ) |
|
|
virtual |
◆ match()
このクラス詳解は次のファイルから抽出されました: