Skip to content

Commit

Permalink
fix calculation for fundmental_matrix (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhan994 authored Oct 18, 2024
1 parent 55e40b1 commit 98fa29a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glomap/math/two_view_geometry.cc
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ void FundamentalFromMotionAndCameras(const Camera& camera1,
Eigen::Matrix3d* F) {
Eigen::Matrix3d E;
EssentialFromMotion(pose, &E);
*F = camera1.GetK().transpose().inverse() * E * camera2.GetK().inverse();
*F = camera2.GetK().transpose().inverse() * E * camera1.GetK().inverse();
}

double SampsonError(const Eigen::Matrix3d& E,
Expand Down

0 comments on commit 98fa29a

Please sign in to comment.