1. Homogeneous Coordinates. T (1)
|
|
|
- Regina Green
- 9 years ago
- Views:
Transcription
1 Basic Geometric Transformations in 2D and 3D A Tutorial Jorge Alberto Márquez Flores, PhD Image Analysis and Visualization Laboratory, CCADET-UNAM, 2012 [email protected] 1. Homogeneous Coordinates. To understand the matrix formulation of 2D and 3D transformations, we justify in this section the practice of using homogeneous coordinates. We first note that a common transformation T in 2D consists of a system of two simultaneous equations: : { u= ax+ by+ c v= d x+ ey+ f T (1) If c = f = 0, T is a linear transformation on (x, y); otherwise, we cannot write a matrix T to transform (x, y) into (u, v) if a non-zero translation (c, f) exists. This because, in able to use Linear Algebra, equation (1) must be a linear transformation, that is, T(x 1 +x 2, y 1 +y 2 ) should be equal to (T(x 1, y 1 ) + T(x 2 +y 2 )) and T(αx, αy) = αt(x, y), but (1) does not satisfy in general such conditions: it is not a linear transformation. To linearize T we observe that a matrix-product formulation is possible, by stepping up to 3D, if we add a third idle equation, 1 = 1, as follows: u = ax+ by+ c u a b c x v= dx+ ey+ f v = c d f y 1= (2) Equations (2) and (1) are equivalent, but a linear formulation in a higher dimension (albeit, consisting of a fixed constant 1 ) is obtained: U=TX, enabling the use of Linear Algebra. A similar approach is used for 3D transformations to write column vectors [u v w 1] T =T 3D [x y z 1] T. Such extended coordinates are called homogeneous coordinates and also constitute a particular case of a quaternion formulation, where quaternions are an extension of complex numbers to complex 2D vectors. Remember that a complex product is isomorphic to a rotation. Quaternion formulation is an alternative way for deducing the 3D-to-4D extension of equation (2). The tautological, idle or dummy equation 1=1 has a similar role as multiplying a complex quotient by a special 1 : both numerator and denominator are multiplied by the complex conjugate of the denominator, (thus having a dummy product by a factor 1, and allowing to separate into real and imaginary terms), or when adding a constant 0 = (+a a) to complete an expression where a is the missing piece, and making evident some kind of offset equal to a. Equation (2) is often generalized by introducing the idle equation k = k, with k 0 instead of 1 = 1. This allows introducing a normalization factor for homogeneous
2 Basic Transformations in 2D and 3D 2 coordinates, in order to have, at the end, the form (x/k, y/k, z/k, 1), with k 0. See elsewhere the topic of Perspective, where such k becomes a useful device. Without homogeneous coordinates, a matrix approach requires to separate the translation component, to write: [u v w] T = T[x y z] T [x 0 y 0 z 0 ] T. *A Note on Extrinsic and Intrinsic Differences, and Invariance A common concern when comparing two sets of points or objects is to distinguish differences consisting in deformations, orientation, etc, from (natural) differences in shape. The first kind of differences is part of what is called extrinsic differences, and also includes: noise or degradation in general, deformations, computer representation and data acquisition parameters, such as resolution, dynamic range, etc. They also depend on the coordinate system, hence, on position and orientation. The second kind is called intrinsic differences and do not depend on acquisition, orientation, representation, etc., that is, they do not depend on factors external to the objects. Thus, a particular (morphological) feature can be invariant to rotations, and other transformations. Volume, for example is a measure invariant to differences in position, but not invariant to scaling, and such transformation should be compensated, that is, unwarped. The identification and elimination of extrinsic differences is required when comparing two or more objects or data sets. A first step for such elimination is to make corresponding features to match in space, that is, to align both objects and to make their corresponding point representations have coordinates in the same coordinate system. Besides alignment for analysis, geometric transformations are widely used in Computer Graphics and Virtual Reality. Note 1: A non-linear deformation or distortion can be seen as extrinsic or intrinsic. It is extrinsic when it was caused somehow, and intrinsic, when it comes from natural variation. Some authors refer in the first case as distortion, and deformation to the second. It also may combine both, extrinsic and intrinsic components, and they may be difficult to separate. Non-linear deformations are best studied and applied when basic alignment is achieved (that is, when most important extrinsic differences have been eliminated) and they are treated in another tutorial. In the following we will use the convention of the right-handed system of coordinates, with axis lines x, y, z oriented as shown by the arrows in figure 1. A mnemonic for an orientation choice is the right-hand rule: form the orthogonal axis with the right hand with the thumb being axis x, the index corresponding to axis y and the middle finger pointing orthogonally to both, towards the direction of axis z. The orientation of rotations is chosen to be the same for each coordinate axis as anticlockwise or counterclockwise as watching along that axis towards the origin. This is illustrated in figure 1 for axis Z. The sign convention may however change according to applications and disciplines.
3 Basic Transformations in 2D and 3D 3 Z X θ Y Figure 1. Right-handed system of coordinates. Note the vector product Z=X Y. 2. Canonical Transformations in Matrix Notation Let an object A be represented by a set of points{ ( x, yz, ) ( xyz,, ) A}, in the coordinate system XYZ. We define below the canonical geometric transformations in matrix notation as the same set of points, but expressed in coordinates UVW, such that [u v w 1] T = T [x y z 1] T. Let us call A the source object and let us also consider a second object B, called the target object. B is represented by the set of points: {( uvw,, ) ( uvw,, ) B}, in the coordinate system UVW. Representations may change and a point p may have different coordinate values in XYZ and in UVW. In the following, we may have two situations, either: 1. Independently of their coordinate representations, B is identical to object A (the same shape), but it presents, for example, a different orientation, it has been translated and re-scaled. In this case we say that A and B are geometrically similar. Or, 2. Disregarding their coordinate representations, B is different from A (two different shapes), but we cannot make a pure comparison (that is, invariant under geometric transformations), unless we eliminate the extrinsic differences based solely on feature orientation, size and position. Note 2: There are other two cases that we will not consider here, in which A is distorted nonlinearly and either B is equal to A plus distortion plus linear transformations, as described below, or B is different from A, besides distortion and linear transformations. T p 0 Translation of the origin to point p 0 = (x 0, y 0, z 0 ) (also written as [x 0 y 0 z 0 ] T ): u = x x0 u x0 x v = y y 0 v y 0 y =, w = z z w z z 1= or U= T X= T X x, y, z p (3)
4 Basic Transformations in 2D and 3D 4 Homogeneous coordinates are required if we want to use matrix notation; that is, translation, formulated in homogeneous coordinates, is a linear transform. A translation may be stated in UVW coordinates as (x 0, y 0, z 0 ) = ( u 0, v 0, w 0 ) as follows (Note that this applies for translation alone, without rotations or scaling): u u0 = x u = x + u0 u u0 x v v0 = y v = y + v 0 v v 0 y w w w 0 z w z w = w z = = + 0 1= 1 1= (4) When row vectors X T are used, the matrix must be transposed and post-multiplied: [ u v w 1] = [ x y z 1], or x0 y0 z0 1 T T p0 (5) U = X T T Without homogeneous coordinates, no matrix transform T only write equation (3) as [u v w] T = [x y z] T - [x 0 y 0 z 0 ] T. S * Scaling (anisotropic) in each dimension: In dimension X, and using homogeneous coordinates: ( x, y, z ) exists, and we can u = sxx u sx x v = y v y, or w z w = z = 1 = U=S X x (6) The scaling factor s x may be larger, equal or smaller than 1. In general, the scaling S xyz by different factors s x, s y, s z is defined as: u = sxx u sx x v = syy v 0 sy 0 0y,or x y z xyz w s w = zz 0 0 sz 0 z U=SS S X= S X = 1 = (7) We consider that all scaling factors are 0. It is often desired to preserve the aspect ratio, which means that s x / s y = 1, s y / s z = 1 and s z / s x = 1. This is only possible if we have s x = s y = s z.
5 Basic Transformations in 2D and 3D 5 Specular Reflections (mirror), with respect to an orthogonal plane are obtained by changing the sign along the axis X (the corresponding mirror plane is YZ): u = x u x v = y v y =, or w= z w z 1 = U=M X x (8) In general, reflections can be incorporated as a negative sign in the scaling transform: Reflection with respect to plane XY: add a negative sign to S z Reflection with respect to plane YZ: add a negative sign to S x Reflection with respect to plane ZX: add a negative sign to S y Strictly speaking, a reflection matrix M xyz should be introduced, though the result will be the same as using signed scaling factors in S xyz. Matrix M xyz has diagonal entries m x, m y and m z with values in { 1, 1}. R Z or R θ Rotation around the axis Z, by angle θ (if θ > 0, the rotation is called positive, anti- or counter-clockwise or trigonometric ( ): u = (cos θ ) x (sin θ ) y u cos θ sin θ 0 x v = (sin θ ) x + (cos θ ) y v= sin θ cos θ 0 y w = z w z (9) In homogeneous-coordinates notation: u cos θ sin θ 0 0 x v sin θ cos θ 0 0 y, w= z or U=R X θ (10) R Y or R φ Rotation around axis Y, by angle φ : u cosφ 0 sinφ 0 x v y, or φ w= sinφ 0 cosφ 0 z U=R X (11)
6 Basic Transformations in 2D and 3D 6 R X or R ψ Rotation around axis X, by angle ψ : u x v 0 cosψ sinψ 0 y, or ψ w= 0 sinψ cosψ 0 z U=R X (12) Note 3: In spite of the negative signs in equation (3), the translated origin falls in p 0, not at p 0. It is the coordinate system (U, V, W) which has been translated. Rotating the coordinate axes (U, V, W) is equivalent to point or vector rotations in directions θ, φ, and ψ. Since sin( θ ) = sin(θ ), etc, all is needed for rotating coordinates axes is to use the transposed matrix rotations: T T R, R andr T. This matrix selection appears in many books of Engineering and Physics. The Z Y X choice in this tutorial is more used in Computer Graphics, Scientific Visualization, medical imaging, aircraft, simulation and virtual reality environments, but there may be exceptions. Exercise 1: Obtain the matrix representation of a transformation consisting of a translation, followed by a rotation around Y, followed by a rotation around Z, then a reflection with respect to plane ZX and a reflection with respect to plane YZ. Exercise 2: Given two displacement vectors p 1 and p 2, find the translation-matrix product TT p1 p2 *Exercise 3: Is it possible a 5D rotation? Consider points (x, y, z, r, s) in such space and propose a definition if possible, or, under which conditions is it possible? for a rotation around an axis R. 3. Composing Basic Transformations We define a concatenation of all transformations for an alignment with scaling: ( ( u, v, w ) uvw θ φ ψ ) U= S R R R X T (13) u u0 su cosθ sin θ 0 0 cosφ 0 sin φ x v v 0 0 s 0 0 v sinθ cosθ cosψ sinψ 0y w= w 0 0 s sinφ 0 cosφ 00 sinψ cosψ 0z 0 w (14) Note that in this case, ( u 0, v 0, w 0 ) (x 0, y 0, z 0 ), when translation is done after scaling and rotations. A rigid transformation is the one where S uvw is the identity, in equation (13), and distances between points are preserved, as well as all angles. Note that, in order to translate before rotations, that is, in order to have:
7 Basic Transformations in 2D and 3D 7 u s cos sin 0 0 cos 0 sin u θ θ φ φ x0 x v 0 s 0 0 v sin θ cosθ cosψ sinψ y 0 y w = 0 0 s sinφ 0 cosφ 0 0 sinψ cosψ 0 w z z (15) a complex relationship exists between ( u 0, v 0, w 0 ) and (x 0, y 0, z 0 ), involving all angles and scale factors. It is more natural to translate first and to scale at the end; thus, equation (15) is also written as: ( T uvw θ φ ψ ( x, y, y )) U= S R R R X Note 4 (On notation): The combination of 3 3 matrices transforms, in non-homogeneous coordinates, of rotations R and translation T are often written as: T (16) u x v R T y w = 1 z (17) With 0 representing the row vector [ ]. Note 5: Even diagonal matrices do not commute in a matrix product; the scaling, translation and rotation transformations do not commute and in general R X R Y R Z R Y R X R Z R Y R Z R X R Z R Y R X R Z R X R Y R X R Z R Y. There may be some coincidences for particular angles, like multiples of 45. Exercise: take a book and make two 90 rotations concatenated: R X R Y and R Y R X. The final orientation is different. Note that two concatenated rotations around the same axis do commute: R θ 1 R θ 2 = R θ 2 R θ 1 = R θ 1+θ 2. Exercise 3: Draw a rectangle of 2 by 4 units, scale in X, by a factor of 4 and scale in Y, by ¼, then rotate it by 90 ; check that scaling and rotation do not commute. Do the same for an angle of 45 ; what happens when scaling the figure after rotation? Try also the composition R X -1 S uv R X in 2D; what can you conclude? *Exercise 4: What relationship between S xyz and S uvw must exist in order that R X S xyz = S uvw R X? Note 6: The only way that the scaling matrix S uvw commute with the rotation matrices, is that all scaling factors be the same in non-homogenous coordinates; then S uvw = s, with the identity. Note, however, that S uvw or S xyz does commute with translations, even in homogeneous coordinates. Exercise 5: demonstrate the last assertion. Note 7: In 2D, with equation (1) describing the general linear transform, we see that if we make c = u 0, this corresponds to translation after rotations, scaling, etc. Alternatively we may translate first, before rotations, scaling, etc., to have u = a(x x 0 ) + b(y y 0 ). If the position is the same in
8 Basic Transformations in 2D and 3D 8 both translations (same u, v) after (coordinate system UVW) and before (coordinate system XYZ), we may eliminate u from both equations; if the scaling matrix is the identity, we must have ax + by + u o = a(x x 0 ) + b(y y 0 ), that is, u o = ax by 0, similarly: v o = dx ey 0. For scaling, however, no relationship is possible between a pre-rotation-plus-translation scaling S xyz and a post-rotationplus-translation scaling S uvw : the result is a particular case of a shear deformation. Note 8: To deal with the precedent remarks, it is common to add redundancy in the translation and scaling transformations, especially in Computer Graphics and interactive environments: in practice, a second translation may be applied after all rotations, as well as a preliminary scaling; so, equation (16) may be extended to the more flexible transformation: T S R R R S =T T ( u, v, w ) uvw θ φ ψ xyz ( x, y, z ) (18) Exercise 6: Use the last formulation and write U in terms of X, in non-homogeneous coordinates, using vectors [u 0 v 0 w 0 ] T and [x x 0 y y 0 z z 0 ] T. *Exercise 7: Given an arbitrary point k = (k x, k y, k z ) in 3D, how would you rotate an object by angle ω around the axis defined by line (k 0)? How do you define a one-dimensional scaling s k and a specular reflection, both along that direction? *Exercise 8: Show that to place an object A in an arbitrary position and orientation in 3D, it suffices to find the six parameters ((x 0, y 0, z 0 ), (θ, φ, ψ)) of a rigid transformation RRRT θ φ ψ ( x0, y0, z0). For the precedent exercise, find these parameters in terms of k and ω; for simplicity suppose now that k is a unitary vector. *Exercise 9: Find the angles (θ, φ, ψ) of a 3D rotation RRR θ φ ψ to perform a complex combination R R R R R, that is, find (θ, φ, ψ) in terms of (θ 1, θ 2, φ 1, ψ 1, ψ 2). ψ 2 φ1 θ2 ψ1 θ1 4. Finding a Geometric Transformation T Given one composed transformation T, the inverse transformation is the matrix T 1, which happens to exist in most cases. An exception is the case when A presents some axial symmetry; then a rotation in such axis leaves A unchanged. Also, if A presents a mirror symmetry, then a specular reflection leaves A unchanged, Also note that the inverse of a translation T p0 is the negative of the same translation, that is, T p0 ; a reflection is its own inverse (apply the reflection twice), the inverse of a rotation R θ is the rotation R θ, that is, a rotation in the opposed direction, and the same applies to rotations around axes Y, Z. Finally, the inverse of scaling by s u, with s u 0, consists in taking a scaling factor 1/s u, etc. Thus, T 1 can be explicitly formulated, if all parameters of T are known, and T 1 is itself a transformation of the form (15), with parameters p 0, 1/s x, θ, etc. In the case that T is only specified by its matrix entries {t 11, t 12,..., t 44 }, the inverse can be obtained with numeric methods, even if no knowledge exists about the transform parameters (see exercise below).
9 Basic Transformations in 2D and 3D 9 Exercise 10: applying the above remarks, and the fact that cos( θ ) = cos(θ ), sin( θ ) = sin(θ ) (and similarly for angles φ, ψ), write T 1 in expanded form, as in equation (15), but remember to reverse the order of rotations from RRR θ φ ψ to R R R ψ φ θ, according to the matrix property (M 1 M 2 ) 1 1 = M 2 M 1 1. Given two objects A and B (where A could be B, after performing a given transformation on its set of points), we may want to find the transformation T (or T 1 ), where A and B are aligned. The problem may be formulated in general (even for non-linear transformations), as an optimization problem, in which, for example, some error metric between A and T(B) gives a criterion such that: { Error ( A B )} T = arg min, T ( ) min metric (19) T Instead of error we may be interested in measuring similarity and the above expression reads as the transformation which maximizes the similarity criterion between A and T(B) : { Similarity ( A B )} T = arg max, T ( ) max metric (20) T Many error and similarity criteria exist, especially when B and A are intrinsically different, and/or there is noise or error in their point representation. The above general formulation of equations (19) as well as its max counterpart (20) can be applied to non-linear transformations, that is geometric deformations or distortions, also known as warps, being unwarping their inversion. Note 9: Once we chose and fix the composition or nature of a given transformation T, it will be defined by its parameters, so equations (19) and (20) are often written in terms of finding the vector of parameters θ that minimizes the error-metric criterion. In our case, we may write θ = ( x 0, y 0, z 0, ψ, φ, θ, s u, s v, s w ), then T 1 has parameters ( x 0, y 0, z 0, θ, φ, ψ, 1/s u, 1/s v, 1/s w ), with rotations done in reverse order, as already mentioned. Exercise 11: Show that, in 2D, T=R θ S xy is always invertible, in non-homogeneous coordinates. Same question, using homogeneous coordinates for the matrix defined by T=R X T p0. Let us first review direct, simple techniques for finding T, given A and B, or even when only a set of matching landmarks from A and B is known. Consider the case that the transformation T is unknown, but there are corresponding landmarks between A and B, and T is of the form shown in equation (16). Since nine parameters characterize an alignment with scaling, only three pairs of 3D landmarks (fiduciary points, hitos (in Spanish), or bornes (in French)) are needed to univocally determine the full transformation T, from a linear system of nine equations like (15), one for each pair {(x n, y n, z n, 1), (u n, v n, w n, 1)}. However, this strictly requires that all landmarks match perfectly, even if A and B are very different.
10 Basic Transformations in 2D and 3D 10 This is not always possible: some tolerance has to be introduced and any method to find T from three landmark matching is known as three-point registration. A way to obtain the translation parameters (x 0, y 0, z 0 ), between two objects A and B, especially if their shapes are similar, is by making their geometric centroid (or center of mass, if mass distribution is uniform) be the same; one usually places the centroid of the source object as the origin; then (x 0, y 0, z 0 ) is defined as the centroid of the target. The centroid of a set of points {( x n, y n, z n )} n=1,..., N is defined as N =,, = 1/,, ( x y z ) ( N) ( x y z ) p (21) C C C C n n n n= 1 The centroid may be approximated from the landmarks only, if they are representative of the objects. A translation may be also defined by simply taking the difference of position from one pair of corresponding landmarks, if they are robust. A generic solution to the problem of finding the composed rotation ( RRR θ φ ψ ), consists in obtaining the principal axes of each object, and make their orientations be the same (herein the term alignment). The Principal Component Analysis (PCA) is the most common method to find such directions for a coarse alignment. The eigenvectors determine the orientation, and the eigenvalues relate with the scaling factors. An advantage is that, if landmarks are not robust, many more sample points can be used for the PCA method and there is no need for pairing such points. If an axial symmetry exists in the object, two axes can be the same, and the rotation will not be completely determined. As with translation, an orientation may also be defined by simply taking the 3D rotation needed to perfectly match three corresponding landmarks, if they are robust (reliable), and no large scaling is involved. Specular reflections, with respect to planes UV, VW and WU, corresponding to a change of sign in the coordinates w, v and u, respectively, may be difficult to determine automatically, without a priori information. Information on landmark correspondence is required, and it is also often the case that there is only reflection in one axis. This is a consequence that combinations of two reflections are equivalent to some additional rotation of π radians. PCA is treated in another tutorial. Once the composed rotation is found, and reflections are taken into account, the positive scaling factors are easily calculated from comparing the bounding boxes of each object in the UVW system of coordinates; these boxes are defined as: Bbox( A) = [ u, u ] [ v, v ] [ w, w ] min A max A min A max A min A max A Bbox( B) = [ u, u ] [ v, v ] [ w, w ] min B max B min B max B min B max B (22) Where denotes the Cartesian product and:
11 Basic Transformations in 2D and 3D 11 min A { } { } u = min p p A, u = max p p A, etc. (23) u max A Then, the scaling factors s u, s v, s w in equation (14) are calculated from: u u v v w w s =, s = and s = (24) max B min B max B min B max B min B u u u v v v w w w max A min A max A min A max A min A If the target B is half the size of the source A, all scale factors are equal to ½. Note 10: Noise and/or error variations in points in A and B, as well as rounding errors during transformation operations, make the above method not very robust, especially if A is very small, compared to B and to noise or error in the coordinate values. Equations (22) to (24) also rely on just a few points, in the best case. The second, third and further minima and maxima would help to improve equation (23), or even better, by obtaining a trimmed average of the N extrema, with N such that the uncertainty on (22) and (23) falls below some given tolerance. The above calculations for finding a proper translation, and alignment by PCA and for finding scaling factors, can be alternatively performed by applying Least Squared Errors methods, which is a special case of the general optimization formulas (19) and (20), and by sampling the sets A, B, if no particular pairs of landmarks are extracted. Sampling introduces statistical analysis as the natural way to deal with random variation, and reduces complexity. Linear regression is a typical example; in this case, several points allow to better estimate the line-equation parameters, even if only two are strictly needed, when there is zero noise. Exercise 12: An implicit representation of transformation T, formulated as in equation (16), is the set of sixteen matrix entries {t 11, t 12,..., t 44 }. Does the homogeneous-coordinate representation restricts, in some way, the values of the last row of entries t 41, t 42, t 43, t 44, or any other entries? We also know that the same T is completely determined by the nine parameters θ = ( x 0, y 0, z 0, ψ, φ, θ, s u, s v, s w ), which constitutes an explicit representation. Given the matrix entries, find θ in terms of {t 11, t 12,..., t 44 } if possible, or determine what other information is required. See also Appendix B. u Note 11: When A and B are very different, or/and there is noise or some shape distortion, and thus, no exact feature matching can be obtained, several techniques exist. A common one is similar to linear regression analysis where a line is fitted to a set of points with largely more than two points. This is a statistical framework and the alignment is performed by minimizing a Mean Squared Error (Least MSE) criterion, where several points from A and B are taken even if only three would be needed if they match perfectly, without noise or error.
12 Basic Transformations in 2D and 3D 12 (25) Figure 3. Rotations about an arbitrary axis. See Exercise 8. Exercise 13: Verify that (25) gives the canonical rotations R * for k = (1,0,0), (0,1,0) and (0,0,1). 5. A General Registration Framework. Up to this point, we have assumed with floating-point coordinates, which is a common representation in Computer Graphics, where the vertices give rise to triangular meshes. Another common discrete representation is that of pixels, voxels, and other grid-limited primitives, using integer coordinates. A discrete volume, defined by uniform, integer coordinates i, j, k, instead of floating-point coordinates x, y, z, is called also a cuberille representation (other term: raster images or volumes). It poses a particular problem with any geometric transformation, since the result must be confined to the same pixel or voxel representation, and must not present holes (known as measles). Since such image or volume (or hyper-volume) representations carry also attribute information, such as intensity, the way to deal with fractional coordinates, is to interpolate the attribute information at the new integer coordinates. Further remarks are found in Appendix A. The subject of interpolation is treated elsewhere; we needed it as a special step in Figure 4, describing the general methodology for any registration problem and not only linear transformations (alignment). Here, volume V A is the reference or target and volume V B the moving or source to be aligned with V A, and both are voxelized representations of the aforementioned shapes A and B; V A and V B have a scalar or vector attribute (v.g., X-ray opacity, color, etc.): they are 3D images with scalar (or vector) values V A (i, j, k) and V B (i, j, k). To achieve a transformation on a cuberille
13 Basic Transformations in 2D and 3D 13 representation, a resampling of the reference volume V A, using interpolation and the inverse transformation, is required to obtain the attribute values at non-integer coordinates. Note that we are not implying that V A = T(V B ), but we compare V A with T(V B ) with the goal of minimizing their differences (or maximizing similarities) by changing parameters of T. Registration Framework Fixed Volume V A (reference) Voxel attributes Metric (error, similarity, fitness, alignment) Voxel attributes Fitness value < ε Optimizer Resampling V B under T -1 Moving Volume V B Voxel attributes Interpolator Points Geometric Transform T Transform parameters Common example: { } T = argmin (V, T(V ) min T Error metric A B Figure 4. A diagram of operations in a general registration-framework. A volume V B is to be registered (e. g., aligned and scaled) with a reference or target volume V A, using any geometric transformation T. Interpolation of voxel attributes is required, since the inverse-transformed points do not fall at exact voxel locations. The optimizer takes the comparison results (an error or similarity criterion), changes the transformation parameters and makes the algorithm to stop until a tolerance value ε is attained. The transformation T may be non-linear in general and the metric definition may be global, local, hybrid or consider only specific features that should match in both datasets. Furthermore, the metric and the optimizer may work in a Bayesian framework.
14 Basic Transformations in 2D and 3D 14 Figure 5. Initial proportions between a PET volume (beige color) and a MRI volume (violet). Each cube represents voxels; respective resolutions are and and ROIs are not the same (MRI is a central thick slice (4-5 cm) and PET comprises all the brain). The shapes inside the volumes are not aligned. Inside the ROIs, the brain of the subject presents a different orientation and position. Rescaling and registration require resampling.
15 Basic Transformations in 2D and 3D 15 Figure 6. Discrete registration. The figure shows two volumes after registration and re-scaling. MRI (violet) contains anisotropic voxels. The violet-blue volume set of Magnetic Resonance Images consist of voxels with intensities in the range [0, 1024]; the light-yellow volume of Positron Emission Tomography images consists of voxels with intensities in the range [0,128]. The goal was to obtain image fusion information from both imaging techniques; besides correct clipping, defining a common ROI, the alignment and intensity normalization was performed concurrently with resampling to a resolution of , with fusion-combined and interpolated intensities in the range [0, 256]. The optimization criterion, including attribute values, is the Maximization of Mutual Information. Here, the shapes inside the volume match, optimizing the criterion for alignment-by-similarity.
16 Basic Transformations in 2D and 3D 16 APPENDIX Additional Remarks and Exercises. A. Discrete Scaling and Resampling: Upsampling and Downsampling. A geometric transformation T is applied directly to finite sets of coordinate points P = {p n } n = 0,, N-1, with p n 3. These may be vertices of lines, triangles or other polygons, which in turn may constitute other objects. Such primitives provide a structure to P. Note that there is no intrinsic grid representation of such objects (usually, manifolds). Thus, besides clouds of points, any continuous object (manifold) represented by a structured set P is directly transformed by T. Such manifolds include: vectorized contours (polylines), any shape defined by generalized polygons, 3D polytopes and surface meshes made of triangles or simple polygons. Raster (pixelized or voxelized) curves, images, surfaces and volumes are samples from a continuous representation, arranged on a discrete grid in 3. They usually bear also a scalar or vector attribute per pixel (voxel), such as density or color and constitute scalar o vector fields. Applying T directly on such point samples and discrete fields creates holes on the resulting grid, among other discretizationrelated problems. The first is known as the measles problem. Manifolds may also bear an attribute per vertex, but if such value changes along the manifold primitive (e. g., triangles) then manifolds have to be treated in a similar fashion to discrete fields. Scaling, rotating or other geometric transformations require rebuilding the discrete raster information (images or maps, volumes or fields, etc.), by interpolating attribute values for the new pixel (voxel) grid, from the source grid, using T 1, which may generates non integer points for which attribute values have to be interpolated from neighboring integer coordinates. Such operations (transform plus interpolations) are called resampling. In particular, to just increase or to decrease n-fold the resolution of a discrete image (or volume), with n an integer, the interpolation of order zero consists in replicating pixels (voxels) n times for an increase in resolution. Decreasing n-fold requires skipping n pixels (an integer way to divide by n ). Such discrete scaling, when multiplying resolution by a factor n (magnification) is called upsampling and is often represented as I n for an image I. If the resolution is divided by a factor n (decimation or reduction), it is called downsampling (or subsampling) and is often represented as I n. If n is not integer, the terminology still applies, but an interpolation of higher order improves approximation and reduces discretization artifacts. Note 12: In signal analysis, upsampling and downsampling are defined as the process of increasing (decreasing, respectively) the sampling rate of a signal. In spatial domain such sampling rate determines the size of pixels or voxels for a different resolution. A fractional
17 Basic Transformations in 2D and 3D 17 scaling n/m is easily achieved by upsampling data by an integer factor n, then downsampling by an integer factor m. The discrete representation of an image or volume ( pixelization or voxelization ) will be more noticeable under zero-order interpolations, since pixel or voxel replication increases the size of the staircase artifacts. Higher order interpolations and antialiasing techniques smooth out such artifacts in computer graphics renderings, but the smoothing (blur) will then be more evident. There are upsampling techniques (magnification or zoom-in) that preserve discontinuities and reduce aliasing. Some techniques use vectorized representations; other use anisotropic filtering to preserve sharp corners and borders. A very effective but scarcely known technique is the morphological zoom; it applies upsampling by any factor in the Euclidean distance transform (EDT) and resampling with bilinear or bicubic (trilinear or tricubic in 3D) interpolation in the EDT domain. *Exercise 14: Consider this discrete image:. How would you scale it by factors 2, 1.5, 2.5 or 0.5 within the same pixel grid? (Make sure you understand the question; you may extend the image domain). How is it possible to rotate the same image by an angle of 90, -45, 30, 20 or 130 within the same pixel grid while preserving its appearance? (Same comments). B. The full transform matrix for rotations. The axes of the rotation depend on the specific convention being used. For the x- convention the rotations are about the X, Y and Z axes with angles ψ, φ, and θ respectively, the individual matrices are as follows: A= A A A, with Z Y X A X cosψ sin ψ, = 0 sinψ cosψ (26) A Y cosφ 0 sinφ 0 1 0, = sinφ 0 cosφ (27) then A Z cosθ sinθ 0 = sinθ cosθ 0, (28)
18 Basic Transformations in 2D and 3D 18 cosθ cosφ cosθsinφsinψ sinθ cosψ cosθsinφcosψ+ sinθsinψ A = sinθ cosφ sinθsinφsinψ+ cosθ cosψ sinθsinφcosψ cosθsinψ (29) sinφ cosφsinψ cosφcosψ Note 13: If coordinate rotation is intended (active versus passive rotations), the transposed matrices should be used. Note 14: For left-handed sign convention(s), change the sign in all sin(.) entries. **Exercise 15: Verify equation (29). HINT: simplify notation using for example sψ for sin(ψ), etc. Compare with the definitions given in the Wikipedia for the article Besides scrambling the angle notation of this tutorial, the authors assume a clockwise orientation for all or some angles to rotate the coordinate axes (see note 3). Is that all? They also talk about assuming a righthand convention? Is there any inconsistency here or within the article of the Wikipedia? How can you correct it or interpret such inconsistencies -if any? Exercise 16: Complete the angle orientation indications (arc-with-arrow) around axes Y and Z in figure 1, as done with axis X. Verify against canonical rotations by applying them about axes Y and Z to points (0, 1, 0), (0, 0, 1) and (0, 1, 1). Do the same for rotations defined in the article cited in Exercise 15. *Exercise 17: Write A -1 in terms of θ, φ and ψ (see also Exercises 11 and 12). *Exercise 18: Generalize the above to quaternion matrices T (i.e., homogeneous coordinates) to include in T a translation matrix, before all rotations and a scaling matrix after all rotations, as in equation (15) and write both, T and T -1 in terms of ((x 0, y 0, z 0 ), (θ, φ, ψ), (s u, s v, s w )). *Exercise 19: Compare with the case of performing the at-the-end translation (u 0, v 0, w 0 ) and scaling first with scale factors (s x, s y, s z ); almost as in equation (14). Note that it is equivalent to renaming T as T -1 and vice versa (watch out for signs, inversions and proper notation in XYZ and UVW spaces). This particular order is often used when dealing with eigenvectors and eigenvalues of the ellipsoid of inertia and in Principal Component Analysis. *Exercise 20: Write the A matrix in homogeneous coordinates. Find and discuss any relationships with equation (29), for three arbitrary orthogonal rotations. *Exercise 22: Write the A matrix for a left-handed system of coordinates (there are other cases). Relate angle orientations (trigonometric versus clockwise) with both conventions. Enumerate all possible angle conventions and write their corresponding A X, A Y, and A Z matrices. Exercise 22: We have used in this tutorial the right-hand rule with positive sign convention. Alternative systems of orthogonal rotations include rotation combinations such as A Y A Z A X, etc., but also combining changes in one or more sign angles, such as A T X A Z A T Y. Euler rotations introduce still other matrix combinations. Calculate the global transformations (equivalents to equation (29)) for all rotation combinations and all negative and positive sign combinations. Hint: Extensively apply the transposition property: (M a M b ) T = M T b M T a. At
19 Basic Transformations in 2D and 3D 19 least find to what rotation combination (and sign combinations) correspond the global matrix that is equal to A T, with A given by (29), note that A T is not A Z T A Y T A X T. Exercise 23: Investigate what is a flip, a flop and a slant and define them in terms of basic transformations introduced in this tutorial. Are there other synonyms or concepts involving known geometric transformations? What about yaw, roll and pitch also known as heading, elevation and bank? How do they relate with canonical rotations on this tutorial. Exercise 24: Investigate what are intrinsic and extrinsic rotations and relate them with canonical rotations in this tutorial. *Exercise 25: Study the article as well as the article indicated in Exercise 15 and find transformation relationships among the Euler-angle rotations and the canonical rotations as defined in this tutorial. For still more information, within the Wikipedia, take a look to article *Exercise 26: Research or deduce yourself a formulation for shear transformations in 2D and 3D, first using a standard system of equations, as in equation (2). Can the shear transformations be included as pre- or post-multiplying matrix terms in any of equations (13) to (16), (18) and (29)? Are the shear transformations linear? Discuss and write the pertinent equations, including shears, if the answer is either yes or no (that is, how to include, whenever possible, shears in a matrix formulation).
Lecture L3 - Vectors, Matrices and Coordinate Transformations
S. Widnall 16.07 Dynamics Fall 2009 Lecture notes based on J. Peraire Version 2.0 Lecture L3 - Vectors, Matrices and Coordinate Transformations By using vectors and defining appropriate operations between
Rotation Matrices and Homogeneous Transformations
Rotation Matrices and Homogeneous Transformations A coordinate frame in an n-dimensional space is defined by n mutually orthogonal unit vectors. In particular, for a two-dimensional (2D) space, i.e., n
TWO-DIMENSIONAL TRANSFORMATION
CHAPTER 2 TWO-DIMENSIONAL TRANSFORMATION 2.1 Introduction As stated earlier, Computer Aided Design consists of three components, namely, Design (Geometric Modeling), Analysis (FEA, etc), and Visualization
Geometric Transformation CS 211A
Geometric Transformation CS 211A What is transformation? Moving points (x,y) moves to (x+t, y+t) Can be in any dimension 2D Image warps 3D 3D Graphics and Vision Can also be considered as a movement to
Adding vectors We can do arithmetic with vectors. We ll start with vector addition and related operations. Suppose you have two vectors
1 Chapter 13. VECTORS IN THREE DIMENSIONAL SPACE Let s begin with some names and notation for things: R is the set (collection) of real numbers. We write x R to mean that x is a real number. A real number
Chapter 6. Linear Transformation. 6.1 Intro. to Linear Transformation
Chapter 6 Linear Transformation 6 Intro to Linear Transformation Homework: Textbook, 6 Ex, 5, 9,, 5,, 7, 9,5, 55, 57, 6(a,b), 6; page 7- In this section, we discuss linear transformations 89 9 CHAPTER
Solving Simultaneous Equations and Matrices
Solving Simultaneous Equations and Matrices The following represents a systematic investigation for the steps used to solve two simultaneous linear equations in two unknowns. The motivation for considering
State of Stress at Point
State of Stress at Point Einstein Notation The basic idea of Einstein notation is that a covector and a vector can form a scalar: This is typically written as an explicit sum: According to this convention,
v 1 v 3 u v = (( 1)4 (3)2, [1(4) ( 2)2], 1(3) ( 2)( 1)) = ( 10, 8, 1) (d) u (v w) = (u w)v (u v)w (Relationship between dot and cross product)
0.1 Cross Product The dot product of two vectors is a scalar, a number in R. Next we will define the cross product of two vectors in 3-space. This time the outcome will be a vector in 3-space. Definition
Unified Lecture # 4 Vectors
Fall 2005 Unified Lecture # 4 Vectors These notes were written by J. Peraire as a review of vectors for Dynamics 16.07. They have been adapted for Unified Engineering by R. Radovitzky. References [1] Feynmann,
[1] Diagonal factorization
8.03 LA.6: Diagonalization and Orthogonal Matrices [ Diagonal factorization [2 Solving systems of first order differential equations [3 Symmetric and Orthonormal Matrices [ Diagonal factorization Recall:
Lecture 3: Coordinate Systems and Transformations
Lecture 3: Coordinate Systems and Transformations Topics: 1. Coordinate systems and frames 2. Change of frames 3. Affine transformations 4. Rotation, translation, scaling, and shear 5. Rotation about an
Chapter 17. Orthogonal Matrices and Symmetries of Space
Chapter 17. Orthogonal Matrices and Symmetries of Space Take a random matrix, say 1 3 A = 4 5 6, 7 8 9 and compare the lengths of e 1 and Ae 1. The vector e 1 has length 1, while Ae 1 = (1, 4, 7) has length
MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS
MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS Systems of Equations and Matrices Representation of a linear system The general system of m equations in n unknowns can be written a x + a 2 x 2 + + a n x n b a
The Matrix Elements of a 3 3 Orthogonal Matrix Revisited
Physics 116A Winter 2011 The Matrix Elements of a 3 3 Orthogonal Matrix Revisited 1. Introduction In a class handout entitled, Three-Dimensional Proper and Improper Rotation Matrices, I provided a derivation
15.062 Data Mining: Algorithms and Applications Matrix Math Review
.6 Data Mining: Algorithms and Applications Matrix Math Review The purpose of this document is to give a brief review of selected linear algebra concepts that will be useful for the course and to develop
EDEXCEL NATIONAL CERTIFICATE/DIPLOMA MECHANICAL PRINCIPLES AND APPLICATIONS NQF LEVEL 3 OUTCOME 1 - LOADING SYSTEMS
EDEXCEL NATIONAL CERTIFICATE/DIPLOMA MECHANICAL PRINCIPLES AND APPLICATIONS NQF LEVEL 3 OUTCOME 1 - LOADING SYSTEMS TUTORIAL 1 NON-CONCURRENT COPLANAR FORCE SYSTEMS 1. Be able to determine the effects
Essential Mathematics for Computer Graphics fast
John Vince Essential Mathematics for Computer Graphics fast Springer Contents 1. MATHEMATICS 1 Is mathematics difficult? 3 Who should read this book? 4 Aims and objectives of this book 4 Assumptions made
Continued Fractions and the Euclidean Algorithm
Continued Fractions and the Euclidean Algorithm Lecture notes prepared for MATH 326, Spring 997 Department of Mathematics and Statistics University at Albany William F Hammond Table of Contents Introduction
Content. Chapter 4 Functions 61 4.1 Basic concepts on real functions 62. Credits 11
Content Credits 11 Chapter 1 Arithmetic Refresher 13 1.1 Algebra 14 Real Numbers 14 Real Polynomials 19 1.2 Equations in one variable 21 Linear Equations 21 Quadratic Equations 22 1.3 Exercises 28 Chapter
Physics 235 Chapter 1. Chapter 1 Matrices, Vectors, and Vector Calculus
Chapter 1 Matrices, Vectors, and Vector Calculus In this chapter, we will focus on the mathematical tools required for the course. The main concepts that will be covered are: Coordinate transformations
Vector Math Computer Graphics Scott D. Anderson
Vector Math Computer Graphics Scott D. Anderson 1 Dot Product The notation v w means the dot product or scalar product or inner product of two vectors, v and w. In abstract mathematics, we can talk about
2D Geometric Transformations
2D Geometric Transformations (Chapter 5 in FVD) 2D Geometric Transformations Question: How do we represent a geometric object in the plane? Answer: For now, assume that objects consist of points and lines.
Higher Education Math Placement
Higher Education Math Placement Placement Assessment Problem Types 1. Whole Numbers, Fractions, and Decimals 1.1 Operations with Whole Numbers Addition with carry Subtraction with borrowing Multiplication
Geometric Transformations
Geometric Transformations Definitions Def: f is a mapping (function) of a set A into a set B if for every element a of A there exists a unique element b of B that is paired with a; this pairing is denoted
Lecture L29-3D Rigid Body Dynamics
J. Peraire, S. Widnall 16.07 Dynamics Fall 2009 Version 2.0 Lecture L29-3D Rigid Body Dynamics 3D Rigid Body Dynamics: Euler Angles The difficulty of describing the positions of the body-fixed axis of
Computing Euler angles from a rotation matrix
Computing Euler angles from a rotation matrix Gregory G. Slabaugh Abstract This document discusses a simple technique to find all possible Euler angles from a rotation matrix. Determination of Euler angles
FOREWORD. Executive Secretary
FOREWORD The Botswana Examinations Council is pleased to authorise the publication of the revised assessment procedures for the Junior Certificate Examination programme. According to the Revised National
Linear Algebra: Vectors
A Linear Algebra: Vectors A Appendix A: LINEAR ALGEBRA: VECTORS TABLE OF CONTENTS Page A Motivation A 3 A2 Vectors A 3 A2 Notational Conventions A 4 A22 Visualization A 5 A23 Special Vectors A 5 A3 Vector
Numerical Analysis Lecture Notes
Numerical Analysis Lecture Notes Peter J. Olver 5. Inner Products and Norms The norm of a vector is a measure of its size. Besides the familiar Euclidean norm based on the dot product, there are a number
v w is orthogonal to both v and w. the three vectors v, w and v w form a right-handed set of vectors.
3. Cross product Definition 3.1. Let v and w be two vectors in R 3. The cross product of v and w, denoted v w, is the vector defined as follows: the length of v w is the area of the parallelogram with
Metrics on SO(3) and Inverse Kinematics
Mathematical Foundations of Computer Graphics and Vision Metrics on SO(3) and Inverse Kinematics Luca Ballan Institute of Visual Computing Optimization on Manifolds Descent approach d is a ascent direction
MATH2210 Notebook 1 Fall Semester 2016/2017. 1 MATH2210 Notebook 1 3. 1.1 Solving Systems of Linear Equations... 3
MATH0 Notebook Fall Semester 06/07 prepared by Professor Jenny Baglivo c Copyright 009 07 by Jenny A. Baglivo. All Rights Reserved. Contents MATH0 Notebook 3. Solving Systems of Linear Equations........................
Given a point cloud, polygon, or sampled parametric curve, we can use transformations for several purposes:
3 3.1 2D Given a point cloud, polygon, or sampled parametric curve, we can use transformations for several purposes: 1. Change coordinate frames (world, window, viewport, device, etc). 2. Compose objects
9 MATRICES AND TRANSFORMATIONS
9 MATRICES AND TRANSFORMATIONS Chapter 9 Matrices and Transformations Objectives After studying this chapter you should be able to handle matrix (and vector) algebra with confidence, and understand the
Least-Squares Intersection of Lines
Least-Squares Intersection of Lines Johannes Traa - UIUC 2013 This write-up derives the least-squares solution for the intersection of lines. In the general case, a set of lines will not intersect at a
MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m
MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS 1. SYSTEMS OF EQUATIONS AND MATRICES 1.1. Representation of a linear system. The general system of m equations in n unknowns can be written a 11 x 1 + a 12 x 2 +
Linear Algebra Review. Vectors
Linear Algebra Review By Tim K. Marks UCSD Borrows heavily from: Jana Kosecka [email protected] http://cs.gmu.edu/~kosecka/cs682.html Virginia de Sa Cogsci 8F Linear Algebra review UCSD Vectors The length
The Vector or Cross Product
The Vector or ross Product 1 ppendix The Vector or ross Product We saw in ppendix that the dot product of two vectors is a scalar quantity that is a maximum when the two vectors are parallel and is zero
The elements used in commercial codes can be classified in two basic categories:
CHAPTER 3 Truss Element 3.1 Introduction The single most important concept in understanding FEA, is the basic understanding of various finite elements that we employ in an analysis. Elements are used for
Introduction to Matrix Algebra
Psychology 7291: Multivariate Statistics (Carey) 8/27/98 Matrix Algebra - 1 Introduction to Matrix Algebra Definitions: A matrix is a collection of numbers ordered by rows and columns. It is customary
Charlesworth School Year Group Maths Targets
Charlesworth School Year Group Maths Targets Year One Maths Target Sheet Key Statement KS1 Maths Targets (Expected) These skills must be secure to move beyond expected. I can compare, describe and solve
13 MATH FACTS 101. 2 a = 1. 7. The elements of a vector have a graphical interpretation, which is particularly easy to see in two or three dimensions.
3 MATH FACTS 0 3 MATH FACTS 3. Vectors 3.. Definition We use the overhead arrow to denote a column vector, i.e., a linear segment with a direction. For example, in three-space, we write a vector in terms
2. Spin Chemistry and the Vector Model
2. Spin Chemistry and the Vector Model The story of magnetic resonance spectroscopy and intersystem crossing is essentially a choreography of the twisting motion which causes reorientation or rephasing
Vector Notation: AB represents the vector from point A to point B on a graph. The vector can be computed by B A.
1 Linear Transformations Prepared by: Robin Michelle King A transformation of an object is a change in position or dimension (or both) of the object. The resulting object after the transformation is called
1 of 79 Erik Eberhardt UBC Geological Engineering EOSC 433
Stress & Strain: A review xx yz zz zx zy xy xz yx yy xx yy zz 1 of 79 Erik Eberhardt UBC Geological Engineering EOSC 433 Disclaimer before beginning your problem assignment: Pick up and compare any set
1 Symmetries of regular polyhedra
1230, notes 5 1 Symmetries of regular polyhedra Symmetry groups Recall: Group axioms: Suppose that (G, ) is a group and a, b, c are elements of G. Then (i) a b G (ii) (a b) c = a (b c) (iii) There is an
Similarity and Diagonalization. Similar Matrices
MATH022 Linear Algebra Brief lecture notes 48 Similarity and Diagonalization Similar Matrices Let A and B be n n matrices. We say that A is similar to B if there is an invertible n n matrix P such that
Elasticity Theory Basics
G22.3033-002: Topics in Computer Graphics: Lecture #7 Geometric Modeling New York University Elasticity Theory Basics Lecture #7: 20 October 2003 Lecturer: Denis Zorin Scribe: Adrian Secord, Yotam Gingold
MATHS LEVEL DESCRIPTORS
MATHS LEVEL DESCRIPTORS Number Level 3 Understand the place value of numbers up to thousands. Order numbers up to 9999. Round numbers to the nearest 10 or 100. Understand the number line below zero, and
Current Standard: Mathematical Concepts and Applications Shape, Space, and Measurement- Primary
Shape, Space, and Measurement- Primary A student shall apply concepts of shape, space, and measurement to solve problems involving two- and three-dimensional shapes by demonstrating an understanding of:
α = u v. In other words, Orthogonal Projection
Orthogonal Projection Given any nonzero vector v, it is possible to decompose an arbitrary vector u into a component that points in the direction of v and one that points in a direction orthogonal to v
Notes on Orthogonal and Symmetric Matrices MENU, Winter 2013
Notes on Orthogonal and Symmetric Matrices MENU, Winter 201 These notes summarize the main properties and uses of orthogonal and symmetric matrices. We covered quite a bit of material regarding these topics,
Biggar High School Mathematics Department. National 5 Learning Intentions & Success Criteria: Assessing My Progress
Biggar High School Mathematics Department National 5 Learning Intentions & Success Criteria: Assessing My Progress Expressions & Formulae Topic Learning Intention Success Criteria I understand this Approximation
x1 x 2 x 3 y 1 y 2 y 3 x 1 y 2 x 2 y 1 0.
Cross product 1 Chapter 7 Cross product We are getting ready to study integration in several variables. Until now we have been doing only differential calculus. One outcome of this study will be our ability
THREE DIMENSIONAL GEOMETRY
Chapter 8 THREE DIMENSIONAL GEOMETRY 8.1 Introduction In this chapter we present a vector algebra approach to three dimensional geometry. The aim is to present standard properties of lines and planes,
5.3 The Cross Product in R 3
53 The Cross Product in R 3 Definition 531 Let u = [u 1, u 2, u 3 ] and v = [v 1, v 2, v 3 ] Then the vector given by [u 2 v 3 u 3 v 2, u 3 v 1 u 1 v 3, u 1 v 2 u 2 v 1 ] is called the cross product (or
Introduction to Matrices for Engineers
Introduction to Matrices for Engineers C.T.J. Dodson, School of Mathematics, Manchester Universit 1 What is a Matrix? A matrix is a rectangular arra of elements, usuall numbers, e.g. 1 0-8 4 0-1 1 0 11
Section 1.1. Introduction to R n
The Calculus of Functions of Several Variables Section. Introduction to R n Calculus is the study of functional relationships and how related quantities change with each other. In your first exposure to
AP Physics - Vector Algrebra Tutorial
AP Physics - Vector Algrebra Tutorial Thomas Jefferson High School for Science and Technology AP Physics Team Summer 2013 1 CONTENTS CONTENTS Contents 1 Scalars and Vectors 3 2 Rectangular and Polar Form
Algebra 2 Chapter 1 Vocabulary. identity - A statement that equates two equivalent expressions.
Chapter 1 Vocabulary identity - A statement that equates two equivalent expressions. verbal model- A word equation that represents a real-life problem. algebraic expression - An expression with variables.
ASEN 3112 - Structures. MDOF Dynamic Systems. ASEN 3112 Lecture 1 Slide 1
19 MDOF Dynamic Systems ASEN 3112 Lecture 1 Slide 1 A Two-DOF Mass-Spring-Dashpot Dynamic System Consider the lumped-parameter, mass-spring-dashpot dynamic system shown in the Figure. It has two point
13.4 THE CROSS PRODUCT
710 Chapter Thirteen A FUNDAMENTAL TOOL: VECTORS 62. Use the following steps and the results of Problems 59 60 to show (without trigonometry) that the geometric and algebraic definitions of the dot product
Inner Product Spaces
Math 571 Inner Product Spaces 1. Preliminaries An inner product space is a vector space V along with a function, called an inner product which associates each pair of vectors u, v with a scalar u, v, and
Metric Spaces. Chapter 7. 7.1. Metrics
Chapter 7 Metric Spaces A metric space is a set X that has a notion of the distance d(x, y) between every pair of points x, y X. The purpose of this chapter is to introduce metric spaces and give some
Figure 1.1 Vector A and Vector F
CHAPTER I VECTOR QUANTITIES Quantities are anything which can be measured, and stated with number. Quantities in physics are divided into two types; scalar and vector quantities. Scalar quantities have
Prentice Hall Mathematics: Algebra 2 2007 Correlated to: Utah Core Curriculum for Math, Intermediate Algebra (Secondary)
Core Standards of the Course Standard 1 Students will acquire number sense and perform operations with real and complex numbers. Objective 1.1 Compute fluently and make reasonable estimates. 1. Simplify
Notes on Determinant
ENGG2012B Advanced Engineering Mathematics Notes on Determinant Lecturer: Kenneth Shum Lecture 9-18/02/2013 The determinant of a system of linear equations determines whether the solution is unique, without
ANALYTICAL METHODS FOR ENGINEERS
UNIT 1: Unit code: QCF Level: 4 Credit value: 15 ANALYTICAL METHODS FOR ENGINEERS A/601/1401 OUTCOME - TRIGONOMETRIC METHODS TUTORIAL 1 SINUSOIDAL FUNCTION Be able to analyse and model engineering situations
INTRODUCTION TO RENDERING TECHNIQUES
INTRODUCTION TO RENDERING TECHNIQUES 22 Mar. 212 Yanir Kleiman What is 3D Graphics? Why 3D? Draw one frame at a time Model only once X 24 frames per second Color / texture only once 15, frames for a feature
Mathematics Course 111: Algebra I Part IV: Vector Spaces
Mathematics Course 111: Algebra I Part IV: Vector Spaces D. R. Wilkins Academic Year 1996-7 9 Vector Spaces A vector space over some field K is an algebraic structure consisting of a set V on which are
Linear Algebra Notes for Marsden and Tromba Vector Calculus
Linear Algebra Notes for Marsden and Tromba Vector Calculus n-dimensional Euclidean Space and Matrices Definition of n space As was learned in Math b, a point in Euclidean three space can be thought of
A linear combination is a sum of scalars times quantities. Such expressions arise quite frequently and have the form
Section 1.3 Matrix Products A linear combination is a sum of scalars times quantities. Such expressions arise quite frequently and have the form (scalar #1)(quantity #1) + (scalar #2)(quantity #2) +...
3D Tranformations. CS 4620 Lecture 6. Cornell CS4620 Fall 2013 Lecture 6. 2013 Steve Marschner (with previous instructors James/Bala)
3D Tranformations CS 4620 Lecture 6 1 Translation 2 Translation 2 Translation 2 Translation 2 Scaling 3 Scaling 3 Scaling 3 Scaling 3 Rotation about z axis 4 Rotation about z axis 4 Rotation about x axis
3. KINEMATICS IN TWO DIMENSIONS; VECTORS.
3. KINEMATICS IN TWO DIMENSIONS; VECTORS. Key words: Motion in Two Dimensions, Scalars, Vectors, Addition of Vectors by Graphical Methods, Tail to Tip Method, Parallelogram Method, Negative Vector, Vector
Lecture 9: Geometric map transformations. Cartographic Transformations
Cartographic Transformations Analytical and Computer Cartography Lecture 9: Geometric Map Transformations Attribute Data (e.g. classification) Locational properties (e.g. projection) Graphics (e.g. symbolization)
Nonlinear Iterative Partial Least Squares Method
Numerical Methods for Determining Principal Component Analysis Abstract Factors Béchu, S., Richard-Plouet, M., Fernandez, V., Walton, J., and Fairley, N. (2016) Developments in numerical treatments for
Trigonometric Functions and Triangles
Trigonometric Functions and Triangles Dr. Philippe B. Laval Kennesaw STate University August 27, 2010 Abstract This handout defines the trigonometric function of angles and discusses the relationship between
Primary Curriculum 2014
Primary Curriculum 2014 Suggested Key Objectives for Mathematics at Key Stages 1 and 2 Year 1 Maths Key Objectives Taken from the National Curriculum 1 Count to and across 100, forwards and backwards,
LINEAR ALGEBRA W W L CHEN
LINEAR ALGEBRA W W L CHEN c W W L Chen, 1997, 2008 This chapter is available free to all individuals, on understanding that it is not to be used for financial gain, and may be downloaded and/or photocopied,
8 Square matrices continued: Determinants
8 Square matrices continued: Determinants 8. Introduction Determinants give us important information about square matrices, and, as we ll soon see, are essential for the computation of eigenvalues. You
Analysis of Stresses and Strains
Chapter 7 Analysis of Stresses and Strains 7.1 Introduction axial load = P / A torsional load in circular shaft = T / I p bending moment and shear force in beam = M y / I = V Q / I b in this chapter, we
9.4. The Scalar Product. Introduction. Prerequisites. Learning Style. Learning Outcomes
The Scalar Product 9.4 Introduction There are two kinds of multiplication involving vectors. The first is known as the scalar product or dot product. This is so-called because when the scalar product of
Big Ideas in Mathematics
Big Ideas in Mathematics which are important to all mathematics learning. (Adapted from the NCTM Curriculum Focal Points, 2006) The Mathematics Big Ideas are organized using the PA Mathematics Standards
TOPIC 4: DERIVATIVES
TOPIC 4: DERIVATIVES 1. The derivative of a function. Differentiation rules 1.1. The slope of a curve. The slope of a curve at a point P is a measure of the steepness of the curve. If Q is a point on the
2. SPATIAL TRANSFORMATIONS
Digitales Video 1 2. SPATIAL TRANSFORMATIONS This chapter describes common spatial transformations derived for digital image warping applications in computer vision and computer graphics. A spatial transformation
THE COMPLEX EXPONENTIAL FUNCTION
Math 307 THE COMPLEX EXPONENTIAL FUNCTION (These notes assume you are already familiar with the basic properties of complex numbers.) We make the following definition e iθ = cos θ + i sin θ. (1) This formula
Glencoe. correlated to SOUTH CAROLINA MATH CURRICULUM STANDARDS GRADE 6 3-3, 5-8 8-4, 8-7 1-6, 4-9
Glencoe correlated to SOUTH CAROLINA MATH CURRICULUM STANDARDS GRADE 6 STANDARDS 6-8 Number and Operations (NO) Standard I. Understand numbers, ways of representing numbers, relationships among numbers,
Copyright 2011 Casa Software Ltd. www.casaxps.com. Centre of Mass
Centre of Mass A central theme in mathematical modelling is that of reducing complex problems to simpler, and hopefully, equivalent problems for which mathematical analysis is possible. The concept of
Solving Quadratic Equations
9.3 Solving Quadratic Equations by Using the Quadratic Formula 9.3 OBJECTIVES 1. Solve a quadratic equation by using the quadratic formula 2. Determine the nature of the solutions of a quadratic equation
GCE Mathematics (6360) Further Pure unit 4 (MFP4) Textbook
Version 36 klm GCE Mathematics (636) Further Pure unit 4 (MFP4) Textbook The Assessment and Qualifications Alliance (AQA) is a company limited by guarantee registered in England and Wales 364473 and a
CHAPTER 8 FACTOR EXTRACTION BY MATRIX FACTORING TECHNIQUES. From Exploratory Factor Analysis Ledyard R Tucker and Robert C.
CHAPTER 8 FACTOR EXTRACTION BY MATRIX FACTORING TECHNIQUES From Exploratory Factor Analysis Ledyard R Tucker and Robert C MacCallum 1997 180 CHAPTER 8 FACTOR EXTRACTION BY MATRIX FACTORING TECHNIQUES In
Lecture L26-3D Rigid Body Dynamics: The Inertia Tensor
J. Peraire, S. Widnall 16.07 Dynaics Fall 008 Lecture L6-3D Rigid Body Dynaics: The Inertia Tensor Version.1 In this lecture, we will derive an expression for the angular oentu of a 3D rigid body. We shall
1 VECTOR SPACES AND SUBSPACES
1 VECTOR SPACES AND SUBSPACES What is a vector? Many are familiar with the concept of a vector as: Something which has magnitude and direction. an ordered pair or triple. a description for quantities such
ISOMETRIES OF R n KEITH CONRAD
ISOMETRIES OF R n KEITH CONRAD 1. Introduction An isometry of R n is a function h: R n R n that preserves the distance between vectors: h(v) h(w) = v w for all v and w in R n, where (x 1,..., x n ) = x
Computing Orthonormal Sets in 2D, 3D, and 4D
Computing Orthonormal Sets in 2D, 3D, and 4D David Eberly Geometric Tools, LLC http://www.geometrictools.com/ Copyright c 1998-2016. All Rights Reserved. Created: March 22, 2010 Last Modified: August 11,
MATH 551 - APPLIED MATRIX THEORY
MATH 55 - APPLIED MATRIX THEORY FINAL TEST: SAMPLE with SOLUTIONS (25 points NAME: PROBLEM (3 points A web of 5 pages is described by a directed graph whose matrix is given by A Do the following ( points
Algebra 1 2008. Academic Content Standards Grade Eight and Grade Nine Ohio. Grade Eight. Number, Number Sense and Operations Standard
Academic Content Standards Grade Eight and Grade Nine Ohio Algebra 1 2008 Grade Eight STANDARDS Number, Number Sense and Operations Standard Number and Number Systems 1. Use scientific notation to express
6. Vectors. 1 2009-2016 Scott Surgent ([email protected])
6. Vectors For purposes of applications in calculus and physics, a vector has both a direction and a magnitude (length), and is usually represented as an arrow. The start of the arrow is the vector s foot,
Tennessee Mathematics Standards 2009-2010 Implementation. Grade Six Mathematics. Standard 1 Mathematical Processes
Tennessee Mathematics Standards 2009-2010 Implementation Grade Six Mathematics Standard 1 Mathematical Processes GLE 0606.1.1 Use mathematical language, symbols, and definitions while developing mathematical
