#include "matchers.hpp"
Public Member Functions | |
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) | |
void | collectGarbage () |
Frees unused memory allocated before if there is any. More... | |
bool | isThreadSafe () const |
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. More... | |
void | operator() (const std::vector< ImageFeatures > &features, std::vector< MatchesInfo > &pairwise_matches, const cv::UMat &mask=cv::UMat()) |
Protected Member Functions | |
void | match (const ImageFeatures &features1, const ImageFeatures &features2, MatchesInfo &matches_info) |
This method must implement matching logic in order to make the wrappers detail::FeaturesMatcher::operator()_ work. More... | |
Protected Attributes | |
Ptr< FeaturesMatcher > | impl_ |
bool | is_thread_safe_ |
int | num_matches_thresh1_ |
int | num_matches_thresh2_ |
int | range_width_ |
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 |
||
) |
|
virtualinherited |
Frees unused memory allocated before if there is any.
Reimplemented from cv::detail::FeaturesMatcher.
|
inlineinherited |
|
protectedvirtualinherited |
This method must implement matching logic in order to make the wrappers detail::FeaturesMatcher::operator()_ work.
features1 | first image features |
features2 | second image features |
matches_info | found matches |
Implements cv::detail::FeaturesMatcher.
Reimplemented in cv::detail::AffineBestOf2NearestMatcher.
|
inlineinherited |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
features1 | First image features |
features2 | Second image features |
matches_info | Found matches |
void cv::detail::BestOf2NearestRangeMatcher::operator() | ( | const std::vector< ImageFeatures > & | features, |
std::vector< MatchesInfo > & | pairwise_matches, | ||
const cv::UMat & | mask = cv::UMat() |
||
) |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protected |