static int runAllTests(TestResult &result)
virtual const Values & optimize()
Values initialCamerasAndPointsEstimate(const SfmData &db)
This function creates initial values for cameras and points from db.
Array< double, 1, 3 > e(1./3., 0.5, 2.)
A nonlinear optimizer that uses the Levenberg-Marquardt trust-region scheme.
Base class and parameters for nonlinear optimization algorithms.
a general SFM factor with an unknown calibration
SfmData stores a bunch of SfmTracks.
double error(const Values &values) const
std::vector< SfmTrack > tracks
Sparse set of points.
utility functions for loading datasets
GeneralSFMFactor< PinholeCamera< Cal3Bundler >, Point3 > sfmFactor
noiseModel::Base::shared_ptr SharedNoiseModel
#define EXPECT_DOUBLES_EQUAL(expected, actual, threshold)
Data structure for dealing with Structure from Motion data.
Factor Graph consisting of non-linear factors.
GTSAM_EXPORT std::string findExampleDataFile(const std::string &name)
NonlinearFactorGraph graph
size_t numberTracks() const
The number of reconstructed 3D points.
A non-templated config holding any types of Manifold-group elements.
IsDerived< DERIVEDFACTOR > emplace_shared(Args &&... args)
Emplace a shared pointer to factor of given type.
std::pair< size_t, Point2 > SfmMeasurement
A measurement with its camera index.
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:07:34