Get Rotation Matrix from 2 Orthogonal Planes

Computes a 3x3 rotation matrix from two orthogonal planes in a 3D point cloud.

Ahora está siguiendo esta publicación

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.

Citar como

Gemma Parra (2026). Get Rotation Matrix from 2 Orthogonal Planes (https://es.mathworks.com/matlabcentral/fileexchange/37048-get-rotation-matrix-from-2-orthogonal-planes), MATLAB Central File Exchange. Recuperado .

Agradecimientos

Inspirado por: Click3dPoint

Información general

Compatibilidad con la versión de MATLAB

  • Compatible con cualquier versión

Compatibilidad con las plataformas

  • Windows
  • macOS
  • Linux
Versión Publicado Notas de la versión Action
1.0.0.0