OpenCV453
公開メンバ関数 | 静的公開メンバ関数 | 限定公開メンバ関数 | 限定公開変数類 | 全メンバ一覧
cv::detail::BestOf2NearestMatcher クラス

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)
 Constructs a "best of 2 nearest" matcher. [詳解]
 
CV_WRAP void collectGarbage () CV_OVERRIDE
 Frees unused memory allocated before if there is any. [詳解]
 
- 基底クラス 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
 Performs images matching. [詳解]
 

静的公開メンバ関数

static CV_WRAP Ptr< BestOf2NearestMatchercreate (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. [詳解]
 
- 基底クラス cv::detail::FeaturesMatcher に属する継承限定公開メンバ関数
 FeaturesMatcher (bool is_thread_safe=false)
 

限定公開変数類

int num_matches_thresh1_
 
int num_matches_thresh2_
 
Ptr< FeaturesMatcherimpl_
 
- 基底クラス cv::detail::FeaturesMatcher に属する継承限定公開変数類
bool is_thread_safe_
 

その他の継承メンバ

- 基底クラス cv::detail::FeaturesMatcher に属する継承公開変数類
const ImageFeaturesfeatures2
 
const ImageFeatures CV_OUT MatchesInfomatches_info { match(features1, features2, matches_info)
 

詳解

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_gpuShould try to use GPU or not
match_confMatch distances ration threshold
num_matches_thresh1Minimum number of matches required for the 2D projective transform estimation used in the inliers classification step
num_matches_thresh2Minimum number of matches required for the 2D projective transform re-estimation on inliers

関数詳解

◆ collectGarbage()

CV_WRAP void cv::detail::BestOf2NearestMatcher::collectGarbage ( )
virtual

Frees unused memory allocated before if there is any.

cv::detail::FeaturesMatcherを再実装しています。

◆ match()

void cv::detail::BestOf2NearestMatcher::match ( const ImageFeatures features1,
const ImageFeatures features2,
MatchesInfo matches_info 
)
protectedvirtual

This method must implement matching logic in order to make the wrappers detail::FeaturesMatcher::operator()_ work.

引数
features1first image features
features2second image features
matches_infofound matches

cv::detail::FeaturesMatcherを実装しています。

cv::detail::AffineBestOf2NearestMatcherで再実装されています。


このクラス詳解は次のファイルから抽出されました: