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

#include <exhaustive_matching.h>

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

Classes

struct  ProcessedFeatureSet
 

Public Member Functions

 ~ExhaustiveMatching (void) override=default
 
void init (bundler::ViewportList *viewports) override
 Initialize matcher by preprocessing given SIFT/SURF features.
 
void pairwise_match (int view_1_id, int view_2_id, Matching::Result *result) const override
 Matches all feature types yielding a single matching result.
 
int pairwise_match_lowres (int view_1_id, int view_2_id, std::size_t num_features) const override
 Matches the N lowest resolution features and returns the number of matches.
 
- Public Member Functions inherited from sfm::MatchingBase
virtual ~MatchingBase (void)=default
 

Protected Types

typedef std::vector< ProcessedFeatureSetProcessedFeatureSets
 
typedef util::AlignedMemory< math::Vec128us, 16 > SiftDescriptors
 
typedef util::AlignedMemory< math::Vec64s, 16 > SurfDescriptors
 

Protected Member Functions

void init_sift (SiftDescriptors *dst, Sift::Descriptors const &src)
 Internal initialization methods for SIFT/SURF features.
 
void init_surf (SurfDescriptors *dst, Surf::Descriptors const &src)
 

Protected Attributes

ProcessedFeatureSets processed_feature_sets
 

Additional Inherited Members

- Public Attributes inherited from sfm::MatchingBase
Options opts
 

Detailed Description

Definition at line 25 of file exhaustive_matching.h.

Member Typedef Documentation

◆ ProcessedFeatureSets

Definition at line 63 of file exhaustive_matching.h.

◆ SiftDescriptors

Definition at line 47 of file exhaustive_matching.h.

◆ SurfDescriptors

Definition at line 48 of file exhaustive_matching.h.

Constructor & Destructor Documentation

◆ ~ExhaustiveMatching()

sfm::ExhaustiveMatching::~ExhaustiveMatching ( void  )
overridedefault

Member Function Documentation

◆ init()

void sfm::ExhaustiveMatching::init ( bundler::ViewportList viewports)
overridevirtual

Initialize matcher by preprocessing given SIFT/SURF features.

Implements sfm::MatchingBase.

Definition at line 56 of file exhaustive_matching.cc.

◆ init_sift()

void sfm::ExhaustiveMatching::init_sift ( SiftDescriptors dst,
Sift::Descriptors const &  src 
)
protected

Internal initialization methods for SIFT/SURF features.

Definition at line 73 of file exhaustive_matching.cc.

◆ init_surf()

void sfm::ExhaustiveMatching::init_surf ( SurfDescriptors dst,
Surf::Descriptors const &  src 
)
protected

Definition at line 92 of file exhaustive_matching.cc.

◆ pairwise_match()

void sfm::ExhaustiveMatching::pairwise_match ( int  view_1_id,
int  view_2_id,
Matching::Result result 
) const
overridevirtual

Matches all feature types yielding a single matching result.

Implements sfm::MatchingBase.

Definition at line 111 of file exhaustive_matching.cc.

◆ pairwise_match_lowres()

int sfm::ExhaustiveMatching::pairwise_match_lowres ( int  view_1_id,
int  view_2_id,
std::size_t  num_features 
) const
overridevirtual

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.

Implements sfm::MatchingBase.

Definition at line 143 of file exhaustive_matching.cc.

Member Data Documentation

◆ processed_feature_sets

ProcessedFeatureSets sfm::ExhaustiveMatching::processed_feature_sets
protected

Definition at line 64 of file exhaustive_matching.h.


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