Skip to content

Commit

Permalink
Alignment to X=0
Browse files Browse the repository at this point in the history
  • Loading branch information
servantftechnicolor committed Jan 17, 2023
1 parent 5b50692 commit c5cdcc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/software/utils/main_sfmTransform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ int aliceVision_main(int argc, char **argv)

// Get the view which was taken at the middle of the sequence
int median = sorted_views.size() / 2;
IndexT refPoseId = sorted_views[median].second;
IndexT refPoseId = sorted_views[sorted_views.size() - 1].second;
Eigen::Matrix3d ref_R_world = sfmData.getAbsolutePose(refPoseId).getTransform().rotation();

double S = 1.0;
Expand Down

0 comments on commit c5cdcc6

Please sign in to comment.