MVE - Multi-View Environment mve-devel
Loading...
Searching...
No Matches
Classes | Public Member Functions | Public Attributes | List of all members
sfm::MatchingBase Class Referenceabstract

#include <matching_base.h>

Collaboration diagram for sfm::MatchingBase:
Collaboration graph
[legend]

Classes

struct  Options
 

Public Member Functions

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.
 

Public Attributes

Options opts
 

Detailed Description

Definition at line 22 of file matching_base.h.

Constructor & Destructor Documentation

◆ ~MatchingBase()

virtual sfm::MatchingBase::~MatchingBase ( void  )
virtualdefault

Member Function Documentation

◆ init()

virtual void sfm::MatchingBase::init ( bundler::ViewportList viewports)
pure virtual

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

Matches all feature types yielding a single matching result.

Implemented in sfm::CascadeHashing, and sfm::ExhaustiveMatching.

◆ 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.

Member Data Documentation

◆ opts

Options sfm::MatchingBase::opts

Definition at line 54 of file matching_base.h.


The documentation for this class was generated from the following file: