NDEVR
API Documentation
PhotogrammetrySfM

Runs sequential Structure-from-Motion with GPS-aware initial pair selection. More...

Static Public Member Functions

static bool run (openMVG::sfm::SfM_Data &sfm_data, const std::shared_ptr< InMemoryRegionsProvider > &regions, const std::shared_ptr< InMemoryMatchesProvider > &matches, const std::unordered_map< uint32_t, std::array< double, 3 > > &gps_lla, const File &temp_folder, LogPtr log, ProgressFn progress_fn, const bool &cancel_flag, bool lock_focal=false)
 Run sequential SfM.

Detailed Description

Runs sequential Structure-from-Motion with GPS-aware initial pair selection.


Tries up to 10 best candidate pairs then falls back to OpenMVG auto-selection.

Definition at line 55 of file PhotogrammetrySfM.h.

Member Function Documentation

◆ run()

bool PhotogrammetrySfM::run ( openMVG::sfm::SfM_Data & sfm_data,
const std::shared_ptr< InMemoryRegionsProvider > & regions,
const std::shared_ptr< InMemoryMatchesProvider > & matches,
const std::unordered_map< uint32_t, std::array< double, 3 > > & gps_lla,
const File & temp_folder,
LogPtr log,
ProgressFn progress_fn,
const bool & cancel_flag,
bool lock_focal = false )
static

Run sequential SfM.

Modifies sfm_data in-place with recovered poses. Returns true on success, false if SfM failed after all attempts.


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