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

Tries to find an initial viewport pair to start the reconstruction with. More...

#include <bundler_init_pair.h>

Classes

struct  Options
 
struct  Result
 The resulting initial pair with view IDs and relative camera pose. More...
 

Public Member Functions

 InitialPair (Options const &options)
 
void compute_pair (int view_1_id, int view_2_id, Result *result)
 Reconstructs the pose for a given intitial pair.
 
void compute_pair (Result *result)
 Finds a suitable initial pair and reconstructs the pose.
 
void initialize (ViewportList const &viewports, TrackList const &tracks)
 Initializes the module with viewport and track information.
 

Detailed Description

Tries to find an initial viewport pair to start the reconstruction with.

The implemented strategy sorts all pairwise matching results by the number of matches and chooses the first pair where the matches cannot be explained with a homography.

Definition at line 31 of file bundler_init_pair.h.

Constructor & Destructor Documentation

◆ InitialPair()

sfm::bundler::InitialPair::InitialPair ( Options const &  options)
inlineexplicit

Definition at line 126 of file bundler_init_pair.h.

Member Function Documentation

◆ compute_pair() [1/2]

void sfm::bundler::InitialPair::compute_pair ( int  view_1_id,
int  view_2_id,
Result result 
)

Reconstructs the pose for a given intitial pair.

Definition at line 148 of file bundler_init_pair.cc.

◆ compute_pair() [2/2]

void sfm::bundler::InitialPair::compute_pair ( Result result)

Finds a suitable initial pair and reconstructs the pose.

Definition at line 23 of file bundler_init_pair.cc.

◆ initialize()

void sfm::bundler::InitialPair::initialize ( ViewportList const &  viewports,
TrackList const &  tracks 
)
inline

Initializes the module with viewport and track information.

Definition at line 134 of file bundler_init_pair.h.


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