34#include <NDEVR/BaseValues.h>
37#include <unordered_map>
40namespace openMVG {
namespace sfm {
struct SfM_Data; } }
51 std::array<double, 9>
sR {};
52 std::array<double, 9>
R {};
53 std::array<double, 3>
t {};
66 const openMVG::sfm::SfM_Data& sfm_data,
67 const std::unordered_map<uint32_t, std::array<double, 3>>& gps_lla,
A light-weight wrapper that will be a no-op if there is not a valid log reference,...
Computes a GPS-based similarity transform from EXIF GPS positions and SfM camera centres.
static GPSAlignmentResult run(const openMVG::sfm::SfM_Data &sfm_data, const std::unordered_map< uint32_t, std::array< double, 3 > > &gps_lla, LogPtr log)
Compute SfM-to-ENU similarity transform from EXIF GPS and recovered cameras.
The primary namespace for the NDEVR SDK.
Result of a GPS-based similarity transform (SfM -> ENU).
std::array< double, 9 > R
pure rotation (3x3 row-major)
std::array< double, 3 > t
translation (metres)
std::array< double, 9 > sR
scale * rotation (3x3 row-major)