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

Feature matchers base class. [詳解]

#include <matchers.hpp>

cv::detail::BestOf2NearestMatcherに継承されています。

公開メンバ関数

 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. [詳解]
 
virtual CV_WRAP void collectGarbage ()
 Frees unused memory allocated before if there is any. [詳解]
 

公開変数類

const ImageFeaturesfeatures2
 
const ImageFeatures CV_OUT MatchesInfomatches_info { match(features1, features2, matches_info)
 

限定公開メンバ関数

 FeaturesMatcher (bool is_thread_safe=false)
 
virtual void match (const ImageFeatures &features1, const ImageFeatures &features2, MatchesInfo &matches_info)=0
 This method must implement matching logic in order to make the wrappers detail::FeaturesMatcher::operator()_ work. [詳解]
 

限定公開変数類

bool is_thread_safe_
 

詳解

Feature matchers base class.

関数詳解

◆ collectGarbage()

virtual CV_WRAP void cv::detail::FeaturesMatcher::collectGarbage ( )
inlinevirtual

Frees unused memory allocated before if there is any.

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

◆ CV_WRAP_AS()

cv::detail::FeaturesMatcher::CV_WRAP_AS ( apply  ) const &

これはオーバーロードされたメンバ関数です。利便性のために用意されています。元の関数との違いは引き数のみです。

引数
features1First image features
features2Second image features
matches_infoFound matches

◆ isThreadSafe()

CV_WRAP_AS(apply2) void operator()(const std CV_WRAP bool cv::detail::FeaturesMatcher::isThreadSafe ( ) const
inline

Performs images matching.

引数
featuresFeatures of the source images
pairwise_matchesFound pairwise matches
maskMask indicating which image pairs must be matched

The function is parallelized with the TBB library.

参照
detail::MatchesInfo
戻り値
True, if it's possible to use the same matcher instance in parallel, false otherwise

◆ match()

virtual void cv::detail::FeaturesMatcher::match ( const ImageFeatures features1,
const ImageFeatures features2,
MatchesInfo matches_info 
)
protectedpure virtual

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::BestOf2NearestMatcher, cv::detail::AffineBestOf2NearestMatcherで実装されています。


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