The function of RotationTranslation estimates the rotation matrix R and the translation vector t from corresponding 3D points.
It returns R and t, which minimize ||Y-RX-t||_2^2.
run demo_RotationTranslation
Input:
X: 3d points vectors
Y: 3d points vectors
The number of columns of X and Y should be the same.
Output:
R: estimated rotation matrix
t: estimated translation vector
引用格式
Masayuki Tanaka (2024). Rotation-and-Translation estimation (https://www.mathworks.com/matlabcentral/fileexchange/127454-rotation-and-translation-estimation), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2023a
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!