#include <matching_base.h>
|
virtual | ~MatchingBase (void)=default |
|
virtual void | init (bundler::ViewportList *viewports)=0 |
| Initialize the matcher.
|
|
virtual void | pairwise_match (int view_1_id, int view_2_id, Matching::Result *result) const =0 |
| Matches all feature types yielding a single matching result.
|
|
virtual int | pairwise_match_lowres (int view_1_id, int view_2_id, std::size_t num_features) const =0 |
| Matches the N lowest resolution features and returns the number of matches.
|
|
Definition at line 22 of file matching_base.h.
◆ ~MatchingBase()
virtual sfm::MatchingBase::~MatchingBase |
( |
void |
| ) |
|
|
virtualdefault |
◆ init()
Initialize the matcher.
This is used for preprocessing the features of the given viewports. For example, in the exhaustive matcher the features are discretized.
Implemented in sfm::CascadeHashing, and sfm::ExhaustiveMatching.
◆ pairwise_match()
virtual void sfm::MatchingBase::pairwise_match |
( |
int |
view_1_id, |
|
|
int |
view_2_id, |
|
|
Matching::Result * |
result |
|
) |
| const |
|
pure virtual |
◆ pairwise_match_lowres()
virtual int sfm::MatchingBase::pairwise_match_lowres |
( |
int |
view_1_id, |
|
|
int |
view_2_id, |
|
|
std::size_t |
num_features |
|
) |
| const |
|
pure virtual |
Matches the N lowest resolution features and returns the number of matches.
Can be used as a guess for full matchability. Useful values are at most 3 matches for 500 features, or 2 matches with 300 features.
Implemented in sfm::ExhaustiveMatching.
◆ opts
The documentation for this class was generated from the following file:
- /builddir/build/BUILD/mve-354a652461377939ca136f451ba3271a1c52ee65/libs/sfm/matching_base.h