OpenCV 4.13.0
Open Source Computer Vision
読み込み中...
検索中...
見つかりません
🤖 AIによる機械翻訳(非公式) — これは OpenCV 4.13.0 公式リファレンス(英語)を AI (Claude) で自動翻訳したものです。訳に誤りを含む場合があります。正確な情報は 公式英語版(原文) を参照してください。
cv::detail::BestOf2NearestRangeMatcher クラス

#include <opencv2/stitching/detail/matchers.hpp>

Collaboration diagram for cv::detail::BestOf2NearestRangeMatcher:

公開メンバ関数

 BestOf2NearestRangeMatcher (int range_width=5, bool try_use_gpu=false, float match_conf=0.3f, int num_matches_thresh1=6, int num_matches_thresh2=6)
 
- Public Member Functions inherited from 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.)
 「2-nearestのbest」マッチャを構築する。
 
void collectGarbage () CV_OVERRIDE
 以前に確保された未使用メモリがあれば解放する。
 
- Public Member Functions inherited from cv::detail::FeaturesMatcher
virtual ~FeaturesMatcher ()
 
bool isThreadSafe () const
 
void operator() (const ImageFeatures &features1, const ImageFeatures &features2, MatchesInfo &matches_info)
 
void operator() (const std::vector< ImageFeatures > &features, std::vector< MatchesInfo > &pairwise_matches, const cv::UMat &mask=cv::UMat())
 画像のマッチングを実行する。
 

限定公開メンバ関数

void match (const ImageFeatures &features1, const ImageFeatures &features2, MatchesInfo &matches_info) CV_OVERRIDE
 このメソッドは、ラッパーであるdetail::FeaturesMatcher::operator()_を機能させるために、マッチングのロジックを実装しなければならない。
 
void match (const std::vector< ImageFeatures > &features, std::vector< MatchesInfo > &pairwise_matches, const cv::UMat &mask=cv::UMat()) CV_OVERRIDE
 このメソッドは、任意の数の特徴間でマッチングを行うロジックを実装する。デフォルトでは入力中のすべての入力ペアをチェックするが、この挙動はサブクラスで変更できる。
 
- Protected Member Functions inherited from cv::detail::BestOf2NearestMatcher
- Protected Member Functions inherited from cv::detail::FeaturesMatcher
 FeaturesMatcher (bool is_thread_safe=false)
 

限定公開変数類

int range_width_
 
- Protected Attributes inherited from cv::detail::BestOf2NearestMatcher
Ptr< FeaturesMatcherimpl_
 
double matches_confindece_thresh_
 
int num_matches_thresh1_
 
int num_matches_thresh2_
 
- Protected Attributes inherited from cv::detail::FeaturesMatcher
bool is_thread_safe_
 

Additional Inherited Members

- Static Public Member Functions inherited from cv::detail::BestOf2NearestMatcher
static Ptr< BestOf2NearestMatchercreate (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.)
 

構築子と解体子の詳解

◆ BestOf2NearestRangeMatcher()

cv::detail::BestOf2NearestRangeMatcher::BestOf2NearestRangeMatcher ( int range_width = 5,
bool try_use_gpu = false,
float match_conf = 0.3f,
int num_matches_thresh1 = 6,
int num_matches_thresh2 = 6 )
Python:
cv.detail.BestOf2NearestRangeMatcher([, range_width[, try_use_gpu[, match_conf[, num_matches_thresh1[, num_matches_thresh2]]]]]) -> <detail_BestOf2NearestRangeMatcher object>

メンバ関数詳解

◆ match() [1/2]

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

このメソッドは、ラッパーであるdetail::FeaturesMatcher::operator()_を機能させるために、マッチングのロジックを実装しなければならない。

引数
features11枚目の画像の特徴
features22枚目の画像の特徴
matches_info見つかったマッチ

cv::detail::BestOf2NearestMatcher から再実装。

◆ match() [2/2]

void cv::detail::BestOf2NearestRangeMatcher::match ( const std::vector< ImageFeatures > & features,
std::vector< MatchesInfo > & pairwise_matches,
const cv::UMat & mask = cv::UMat() )
protectedvirtual

このメソッドは、任意の個数の特徴間でマッチングを行うロジックを実装する。デフォルトでは入力中のすべてのペアをチェックするが、その挙動はサブクラスで変更できる。

引数
features画像特徴のベクトル
pairwise_matches見つかったマッチ
mask(省略可能) どの画像ペアをマッチングすべきかを示すマスク

cv::detail::FeaturesMatcher から再実装。

メンバ変数詳解

◆ range_width_

int cv::detail::BestOf2NearestRangeMatcher::range_width_
protected

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