特征匹配器基类。更多...
#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_ |
|
保护 |
此类的文档生成自以下文件