Sean You

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 :: 管理 ::

3.5 Summary

  • The fundamental transformation matrices — scaling, rotation, and translation — are given by:

  • We use 4×4 matrices to represent transformations and 1×4 homogeneous coordinates to describe points and vectors, where we denote a point by setting the fourth component to w=1 and we denote a vector by setting w=0. In this way, translations are applied to points but not to vectors.

  • A matrix is orthogonal if all of its row vectors are of unit length and mutually orthogonal. An orthogonal matrix has the special property that its inverse is equal to its transpose, thereby making the inverse easy and efficient to compute. All the rotation matrices are orthogonal.

  • From the associative property of matrix multiplication, we can combine several transformation matrices into one transformation matrix that represents the net effect of applying the individual matrices sequentially.

  • Let QB, uB, vB, and wB describe the origin and x-, y-, and z-axes of frame A with coordinates relative to frame B, respectively. If a vector/point p has coordinates pA = (x, y, x) relative to frame A, then the same vector/point relative to frame B has coordinates:

    pB = (x, y, z) = xuB + yvB + zwB

    For vectors (direction and magnitude)

    pB = (x, y, z) = QB + xuB + yvB + zwB

    For position vectors (points)

    These change of coordinate transformations can be written in terms of matrices using homogeneous coordinates.

  • Suppose we have three frames, F, G, and H, and let A be the change of frame matrix from F to G, and let B be the change of frame matrix from G to H. Using matrix-matrix multiplication, the matrix C = AB can be thought of as the change of frame matrix F directly into H; that is, matrix-matrix multiplication combines the effects of A and B into one net matrix, and so we can write: pF(AB) = pH.

  • If the matrix M maps frame A coordinates into frame B coordinates, then the matrix M−1 maps frame B coordinates into frame A coordinates.

posted on 2010-09-20 03:06  Sean You  阅读(215)  评论(0)    收藏  举报