2021-09-24 08:37:57 +08:00
|
|
|
diff --git a/src/openMVG/multiview/solver_fundamental_kernel.cpp b/src/openMVG/multiview/solver_fundamental_kernel.cpp
|
2021-12-17 14:45:03 +08:00
|
|
|
index 2ffd45a..bbf74b4 100644
|
2021-09-24 08:37:57 +08:00
|
|
|
--- a/src/openMVG/multiview/solver_fundamental_kernel.cpp
|
|
|
|
+++ b/src/openMVG/multiview/solver_fundamental_kernel.cpp
|
2021-12-17 14:45:03 +08:00
|
|
|
@@ -110,7 +110,7 @@ void EightPointSolver::Solve
|
|
|
|
x2.colwise().homogeneous(),
|
|
|
|
&epipolar_constraint);
|
|
|
|
// Find the F matrice in the nullspace of epipolar_constraint.
|
|
|
|
- Eigen::SelfAdjointEigenSolver<Mat9> solver
|
|
|
|
+ Eigen::SelfAdjointEigenSolver<Eigen::Matrix<double, 9, 9>> solver
|
|
|
|
(epipolar_constraint.transpose() * epipolar_constraint);
|
|
|
|
f = solver.eigenvectors().leftCols<1>();
|
|
|
|
|