特徵匹配器基類。更多...
#include <opencv2/stitching/detail/matchers.hpp>
◆ ~FeaturesMatcher()
| virtual cv::detail::FeaturesMatcher::~FeaturesMatcher |
( |
| ) |
|
|
inlinevirtual |
◆ FeaturesMatcher()
| cv::detail::FeaturesMatcher::FeaturesMatcher |
( |
bool | is_thread_safe = false | ) |
|
|
inlineprotected |
◆ collectGarbage()
| virtual void cv::detail::FeaturesMatcher::collectGarbage |
( |
| ) |
|
|
inlinevirtual |
| Python |
|---|
| cv.detail.FeaturesMatcher.collectGarbage( | | ) -> | 無 |
◆ isThreadSafe()
| bool cv::detail::FeaturesMatcher::isThreadSafe |
( |
| ) |
const |
|
inline |
| Python |
|---|
| cv.detail.FeaturesMatcher.isThreadSafe( | | ) -> | retval |
- 返回
- 如果可以在並行中使用同一個匹配器例項,則為 true;否則為 false。
◆ match() [1/2]
◆ match() [2/2]
◆ operator()() [1/2]
這是一個過載的成員函式,為方便起見而提供。它與上述函式的唯一區別在於其接受的引數。
- 引數
-
| features1 | 第一張影像的特徵 |
| features2 | 第二張影像的特徵 |
| matches_info | 找到的匹配 |
◆ operator()() [2/2]
執行影像匹配。
- 引數
-
| features | 源影像的特徵 |
| pairwise_matches | 找到的成對匹配 |
| mask | 指示哪些影像對必須匹配的掩碼 |
此函式使用 TBB 庫進行並行化。
- 另請參見
- detail::MatchesInfo
◆ is_thread_safe_
| bool cv::detail::FeaturesMatcher::is_thread_safe_ |
|
保護 |
此類的文件生成自以下檔案