Get Rotation Matrix from 2 Orthogonal Planes
by Gemma Parra
07 Jun 2012
Computes a 3x3 rotation matrix from two orthogonal planes in a 3D point cloud.
|
Watch this File
|
| File Information |
| Description |
Shows a 3D point cloud and lets the user select a plane by clicking on two points. The selected plane is highlighted.
The math is pretty simple:
A surface normal is computed for each plane using eigenvectors, later the y axis is set to be 0, any rotation is subtracted from it to obtain orthogonals surface normals. The cross product ot them is computed to obtan the z axis normal and conform the 3x3 rotation matrix. |
| Acknowledgements |
Click3d Point
inspired this file.
|
| Required Products |
MATLAB
|
| MATLAB release |
MATLAB 7.10 (R2010a)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
|
Contact us