Generalized quaternion interpolation

Generalized quaternion interpolation

Generalized quaternion interpolation is an interpolation method used by the slerp algorithm. It is closed-form and fixed-time, but it cannot be applied to the more general problem of interpolating more than two unit-quaternions.

Definition of unconstrained interpolation

General interpolation of unconstrained values left{ p ight} with weights left{ w ight} is defined as the value m that solves the sum:sum_i w_i left( p_i - m ight) = 0.Because m and p values are unconstrained, this can be rewritten in the more familiar form of:m = sum_i w_i p_i.

Quaternions, on the other hand, are constrained and the closed-form interpolation solution can not be applied to them.

Conversion to constrained interpolation

Because the unit-quaternion space is a closed Riemannian manifold, the difference between any two values on the manifold (in the tangent-space of the first value) can be defined as:d_{0,1} = log left( q_0^{-1} q_1 ight)where the logarithm is the hypercomplex logarithm. This difference can be applied to the value in which it is a tangent-space member as:q_0 exp left( d_{0,1} ight) = q_1 where the hypercomplex exponential is used.

With these definitions in mind, the quaternion interpolation of values left{ q ight} with weights left{ w ight} can be defined (nearly identically to the unconstrained mean) as:sum_i w_i log left( m^{-1} q_i ight) = 0which says that the weighted sum of all differences to m (in m's tangent-space) is zero.

Recursive formulation

The quaternion mean value defined above can be found in a recursive algorithm with some initial estimate (one of the points, for example) that will halt when the net-error is below some threshold or the algorithm has iterated beyond some time limit.

Each iteration of the algorithm is as follows, with an initial mean estimate of m_0:e_{k-1} = sum_i w_i log left( m_{k-1}^{-1} q_i ight):m_{k} = m_{k-1} exp left( e_{k-1} ight)

as iteration index k increases, the value m_k will approach the true weighted-mean of the points.

References

* Xavier Pennec, "Computing the mean of geometric features - Application to the mean rotation," Tech Report 3371, Institut National de Recherche en Informatique et en Automatique, March 1998.


Wikimedia Foundation. 2010.

Игры ⚽ Нужно решить контрольную?

Look at other dictionaries:

  • List of mathematics articles (G) — NOTOC G G₂ G delta space G networks Gδ set G structure G test G127 G2 manifold G2 structure Gabor atom Gabor filter Gabor transform Gabor Wigner transform Gabow s algorithm Gabriel graph Gabriel s Horn Gain graph Gain group Galerkin method… …   Wikipedia

  • List of mathematics articles (H) — NOTOC H H cobordism H derivative H index H infinity methods in control theory H relation H space H theorem H tree Haag s theorem Haagerup property Haaland equation Haar measure Haar wavelet Haboush s theorem Hackenbush Hadamard code Hadamard… …   Wikipedia

  • Tetrahedron — For the academic journal, see Tetrahedron (journal). Regular Tetrahedron (Click here for rotating model) Type Platonic solid Elements F = 4, E = 6 V = 4 (χ = 2) Faces by s …   Wikipedia

  • List of combinatorics topics — This is a list of combinatorics topics.A few decades ago it might have been said that combinatorics is little more than a way to classify poorly understood problems, and some standard remedies. Great progress has been made since 1960.This page is …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”