OpenGV
A library for solving calibrated central and non-central geometric vision problems
quaternion.hpp File Reference

Functions for back-and-forth transformation between rotation matrices and quaternion-parameters. More...

#include <stdlib.h>
#include <opengv/types.hpp>

Go to the source code of this file.

Namespaces

 opengv
 The namespace of this library.
 
 opengv::math
 The namespace of the math tools.
 

Functions

rotation_t opengv::math::quaternion2rot (const quaternion_t &quaternion)
 Compute a rotation matrix from quaternion-parameters. Assumes that the quaternion has unit norm. More...
 
quaternion_t opengv::math::rot2quaternion (const rotation_t &R)
 Compute the quaternion-parameters of a rotation matrix. More...
 

Detailed Description

Functions for back-and-forth transformation between rotation matrices and quaternion-parameters.