Created
February 17, 2014 18:44
-
-
Save ialhashim/9056472 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Eigen::MatrixXd src = pointsToMatrix(pointsA[i]); | |
//Eigen::MatrixXd dst = pointsToMatrix(pointsB[j]); | |
//Eigen::Matrix4d cR_t = Eigen::umeyama(src, dst, true); | |
//Eigen::Matrix4d R_t = Eigen::umeyama(src, dst, false); | |
//Eigen::Matrix3d R = R_t.block(0,0,3,3); | |
//Eigen::Vector3d t = R_t.block(0,3,3,1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment