Functions
contrib/mul/m23d/m23d_rotation_from_ortho_projection.cxx File Reference

Generate pure 3 x 3 rotation matrix from 2 x 3 projection matrix. More...

#include "m23d_rotation_from_ortho_projection.h"
#include <vnl/vnl_cross.h>
#include <m23d/m23d_pure_ortho_projection.h>

Go to the source code of this file.

Functions

vnl_matrix< double > m23d_rotation_from_ortho_projection (const vnl_matrix< double > &M)
 Generate pure 3 x 3 rotation matrix from 2 x 3 projection matrix.

Detailed Description

Generate pure 3 x 3 rotation matrix from 2 x 3 projection matrix.

Author:
Tim Cootes

Definition in file m23d_rotation_from_ortho_projection.cxx.


Function Documentation

vnl_matrix<double> m23d_rotation_from_ortho_projection ( const vnl_matrix< double > &  M)

Generate pure 3 x 3 rotation matrix from 2 x 3 projection matrix.

Result may also include a reflection. The result, R, should be such that PR.transpose() approx= (sI|0)

Definition at line 13 of file m23d_rotation_from_ortho_projection.cxx.