Skip to content

Commit

Permalink
Merge pull request #1078 from borglab/feature/sfm_data
Browse files Browse the repository at this point in the history
  • Loading branch information
dellaert authored Feb 1, 2022
2 parents ee4c75f + 762e809 commit 236dbcb
Show file tree
Hide file tree
Showing 27 changed files with 1,106 additions and 890 deletions.
2 changes: 1 addition & 1 deletion examples/SFMExampleExpressions_bal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ int main(int argc, char* argv[]) {
SfmData mydata;
readBAL(filename, mydata);
cout << boost::format("read %1% tracks on %2% cameras\n") %
mydata.number_tracks() % mydata.number_cameras();
mydata.numberTracks() % mydata.numberCameras();

// Create a factor graph
ExpressionFactorGraph graph;
Expand Down
2 changes: 1 addition & 1 deletion examples/SFMExample_bal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ int main (int argc, char* argv[]) {
// Load the SfM data from file
SfmData mydata;
readBAL(filename, mydata);
cout << boost::format("read %1% tracks on %2% cameras\n") % mydata.number_tracks() % mydata.number_cameras();
cout << boost::format("read %1% tracks on %2% cameras\n") % mydata.numberTracks() % mydata.numberCameras();

// Create a factor graph
NonlinearFactorGraph graph;
Expand Down
4 changes: 2 additions & 2 deletions examples/SFMExample_bal_COLAMD_METIS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ int main(int argc, char* argv[]) {
SfmData mydata;
readBAL(filename, mydata);
cout << boost::format("read %1% tracks on %2% cameras\n") %
mydata.number_tracks() % mydata.number_cameras();
mydata.numberTracks() % mydata.numberCameras();

// Create a factor graph
NonlinearFactorGraph graph;
Expand Down Expand Up @@ -131,7 +131,7 @@ int main(int argc, char* argv[]) {

cout << "Time comparison by solving " << filename << " results:" << endl;
cout << boost::format("%1% point tracks and %2% cameras\n") %
mydata.number_tracks() % mydata.number_cameras()
mydata.numberTracks() % mydata.numberCameras()
<< endl;

tictoc_print_();
Expand Down
Loading

0 comments on commit 236dbcb

Please sign in to comment.