From eeac46f98012ba4a69060f8d3bc365e04f1edaa7 Mon Sep 17 00:00:00 2001 From: Hauke Heibel Date: Thu, 11 Feb 2016 19:38:37 +0100 Subject: bug #774: re-added comment referencing equations in the original paper --- Eigen/src/Geometry/Umeyama.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Eigen/src') diff --git a/Eigen/src/Geometry/Umeyama.h b/Eigen/src/Geometry/Umeyama.h index 6943f719e..7e933fca1 100644 --- a/Eigen/src/Geometry/Umeyama.h +++ b/Eigen/src/Geometry/Umeyama.h @@ -139,6 +139,7 @@ umeyama(const MatrixBase& src, const MatrixBase& dst, boo if ( svd.matrixU().determinant() * svd.matrixV().determinant() < 0 ) S(m-1) = -1; + // Eq. (40) and (43) Rt.block(0,0,m,m).noalias() = svd.matrixU() * S.asDiagonal() * svd.matrixV().transpose(); if (with_scaling) -- cgit v1.2.3