Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: RZ_A2M_Mbed_samples
FeaturesMatcher Class Reference
[Features Finding and Images Matching]
Feature matchers base class. More...
#include <matchers.hpp>
Inherited by BestOf2NearestMatcher.
Public Member Functions | |
| void | operator() (const ImageFeatures &features1, const ImageFeatures &features2, MatchesInfo &matches_info) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
| void | operator() (const std::vector< ImageFeatures > &features, std::vector< MatchesInfo > &pairwise_matches, const cv::UMat &mask=cv::UMat()) |
| Performs images matching. | |
| bool | isThreadSafe () const |
| virtual void | collectGarbage () |
| Frees unused memory allocated before if there is any. | |
Protected Member Functions | |
| 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. | |
Detailed Description
Feature matchers base class.
Definition at line 221 of file matchers.hpp.
Member Function Documentation
| virtual void collectGarbage | ( | ) | [virtual] |
Frees unused memory allocated before if there is any.
Reimplemented in BestOf2NearestMatcher.
Definition at line 253 of file matchers.hpp.
| bool isThreadSafe | ( | ) | const |
- Returns:
- True, if it's possible to use the same matcher instance in parallel, false otherwise
Definition at line 249 of file matchers.hpp.
| virtual void match | ( | const ImageFeatures & | features1, |
| const ImageFeatures & | features2, | ||
| MatchesInfo & | matches_info | ||
| ) | [protected, pure virtual] |
This method must implement matching logic in order to make the wrappers detail::FeaturesMatcher::operator()_ work.
- Parameters:
-
features1 first image features features2 second image features matches_info found matches
Implemented in BestOf2NearestMatcher, and AffineBestOf2NearestMatcher.
| void operator() | ( | const ImageFeatures & | features1, |
| const ImageFeatures & | features2, | ||
| MatchesInfo & | matches_info | ||
| ) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
- Parameters:
-
features1 First image features features2 Second image features matches_info Found matches
Definition at line 231 of file matchers.hpp.
| void operator() | ( | const std::vector< ImageFeatures > & | features, |
| std::vector< MatchesInfo > & | pairwise_matches, | ||
| const cv::UMat & | mask = cv::UMat() |
||
| ) |
Performs images matching.
- Parameters:
-
features Features of the source images pairwise_matches Found pairwise matches mask Mask indicating which image pairs must be matched
The function is parallelized with the TBB library.
- See also:
- detail::MatchesInfo
Generated on Tue Jul 12 2022 18:20:24 by
1.7.2