Go to the documentation of this file.
28 using namespace gtsam;
30 int main(
int argc,
char* argv[]) {
60 bool separateCalibration =
true;
int optimize(const SfmData &db, const NonlinearFactorGraph &graph, const Values &initial, bool separateCalibration=false)
SfmData stores a bunch of SfmTracks.
Point2 uncalibrate(const CAL &K, const Point2 &p, OptionalJacobian< 2, 5 > Dcal, OptionalJacobian< 2, 2 > Dp)
static SharedNoiseModel gNoiseModel
std::vector< SfmTrack > tracks
Sparse set of points.
Line3 transformTo(const Pose3 &wTc, const Line3 &wL, OptionalJacobian< 4, 6 > Dpose, OptionalJacobian< 4, 4 > Dline)
Common code for timeSFMBAL scripts.
SfmData preamble(int argc, char *argv[])
Matrix< Scalar, Dynamic, Dynamic > C
static Point2 project(const Pose3 &pose, const Unit3 &pointAtInfinity, const Cal3_S2::shared_ptr &cal)
std::vector< SfmCamera > cameras
Set of cameras.
Common expressions for solving geometry/slam/sfm problems.
const Pose3 & pose() const
return pose, constant version
static const CalibratedCamera camera(kDefaultPose)
Point3 p
3D position of the point
NonlinearFactorGraph graph
size_t numberTracks() const
The number of reconstructed 3D points.
Calibration used by Bundler.
int main(int argc, char *argv[])
void addExpressionFactor(const SharedNoiseModel &R, const T &z, const Expression< T > &h)
std::pair< size_t, Point2 > SfmMeasurement
A measurement with its camera index.
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:09:09