Projective transformation
Encyclopedia : P : PR : PRO : Projective transformation
A projective transformation is a transformation used in projective geometry: it is the composition of a pair of perspective projections. It describes what happens to the perceived positions of observed objects when the point of view of the observer changes. Projective transformations do not preserve sizes or angles but do preserve incidence and cross-ratio: two properties which are important in projective geometry. A projective transformation can also be called a projectivity.
A projective transformation can be in the (real) one-dimensional projective line RP1, the two-dimensional projective plane RP2, and the three-dimensional projective 3-space RP3.
- 1 Transformations on the projective line
- 1.1 Analysis
- 1.2 Inverse transformation
- 1.3 Identity transformation
- 1.4 Composition of transformations
- 1.5 The cross-ratio defined by means of a projection
- 1.6 Conservation of cross-ratio
- 2 Transformations on the projective plane
- 2.1 Analysis
- 2.2 Trilinear transformations
- 2.3 Composition of trilinear transformations
- 2.4 Planar transformations of lines
- 2.5 Planar transformations of conic sections
- 2.6 Planar projectivities and cross-ratio
- 2.7 Example
- 3 Transformations in projective 3-space
- 3.1 Analysis
- 3.2 Quadrilinear transformations
- 3.3 Properties of quadrilinear transformations
- 3.4 Spatial transformations of planes
- 4 See also
- 5 Reference
Transformations on the projective line
Let X be a point on the x-axis. A projective transformation can be defined geometrically for this line by picking a pair of points P, Q, and a line m, all within the same x-y plane which contains the x-axis upon which the transformation will be performed.Draw line l through points P and X. Line l crosses line m at point R. Then draw line n through points Q and R: line n will cross the x-axis at point T. Point T is the transform of point X [Paiva].
Points P and Q represent two different observers, or points of view. Point R is the position of some object they are observing. Line m is the objective world which they are observing, and the x-axis is the subjective perception of m.
Analysis
The above is a synthetic description of a one-dimensional projective transformation. It is now desired to convert it to an analytical (Cartesian) description.Let point X have coordinates (x0,0). Let point P have coordinates [ (P_x,P_y) ]. Let point Q have coordinates [ (Q_x,Q_y) ]. Let line m have slope m (m is being overloaded in meaning).
The slope of line l is
- [ P_y \over P_x - x_0 ],
- [ = ],
- [ y = (x - x_0). \qquad \qquad (1) ]
- [ y = m x + b. \qquad \qquad (2) ]
- [ m x + b = - . ]
- [ \left( - m \right) x = b + ]
- [ x_1 = . ]
- [ y_1 = m \left[ right] + b. ]
- [ .]
- [ (Q_x, Q_y) + \lambda (x_1 - Q_x, y_1 - Q_y) = (x,0) \qquad \qquad (3) ]
- [ Q_y + \lambda (y_1 - Q_y) = 0 ]
- [ \lambda = \qquad \qquad (4) ]
- [ x = Q_x + \lambda (x_1 - Q_x) ]
- [ x = Q_x - Q_y \left( \right) \qquad \qquad (5) ]
Substitute the values of x1 and y1 into equation (5),
- [ x = Q_x - Q_y \left[ - Q_x over + b - Q_y} right]. ]
- [ x = Q_x - Q_y \left[ right]. ]
- [ t(x) = Q_x - Q_y \left[ right]. ]
Transformation t(x) can be simplified further. First, add its two terms to form a fraction:
- [ t(x) = \qquad \qquad (6) ]
- [ \alpha = m Q_x P_y - Q_y P_y + b Q_y, ]
- [ \beta = b Q_x P_y - b Q_y P_x, ]
- [ \gamma = m (P_y - Q_y), ]
- [ \delta = m P_x Q_y + P_y (b - Q_y). ]
- [ t(x) = ]
Inverse transformation
It is clear from the synthetic definition that the inverse transformation is obtained by exchanging points P and Q. This can also be shown analytically. If P ↔ Q, then α → α′, β → β′, γ → γ′, and δ → δ′, where- [ \alpha' = m P_x Q_y - P_y Q_y + b P_y = \delta, ]
- [ \beta' = b P_x Q_y - b P_y Q_x = - \beta, ]
- [ \gamma' = m (Q_y - P_y) = - \gamma, ]
- [ \delta' = m Q_x P_y + b Q_y - Q_y P_y = \alpha. ]
- [ t(x) = ]
- [ t'(x) = . ]
- [ t'(t(x)) = \right) - \beta \over - \gamma \left( \right) + \alpha} ].
- [ t'(t(x)) = ]
- :[ = = x ].
- [ \begin \alpha & \beta \\ \gamma & \delta \end \begin \delta & - \beta \\ - \gamma & \alpha \end = \Delta \begin 1 & 0 \\ 0 & 1 \end ]
Identity transformation
Also analogous with matrices is the identity transformation, which is obtained by letting α = 1, β = 0, γ = 0, and δ = 1, so that
- [ t_I(x) = x. ]
Composition of transformations
It remains to show that there is closure in the composition of transformations. One transformation operating on another transformation produces a third transformation. Let the first transformation be t1 and the second one be t2:
- [ t_1(x) = , ]
- [ t_2(x) = . ]
- [ t_2(t_1(x)) = \right) + \beta_2 \over \gamma_2 \left( \right) + \delta_2 } ]
- ::[ = ]
- ::[ = . ]
- [ \alpha_3 = \alpha_2 \alpha_1 + \beta_2 \gamma_1, ]
- [ \beta_3 = \alpha_2 \beta_1 + \beta_2 \delta_1, ]
- [ \gamma_3 = \gamma_2 \alpha_1 + \delta_2 \gamma_1, ]
- [ \delta_3 = \gamma_2 \beta_1 + \delta_2 \delta_1. ]
- [ t_2(t_1(x)) = . ]
- [ \begin \alpha_2 & \beta_2 \\ \gamma_2 & \delta_2 \end \begin \alpha_1 & \beta_1 \\ \gamma_1 & \delta_1 \end = \begin \alpha_2 \alpha_1 + \beta_2 \gamma_1 & \alpha_2 \beta_1 + \beta_2 \delta_1 \\ \gamma_2 \alpha_1 + \delta_2 \gamma_1 & \gamma_2 \beta_1 + \delta_2 \delta_1 \end = \begin \alpha_3 & \beta_3 \\ \gamma_3 & \delta_3 \end. ]
Projections have: an operation (composition), associativity, an identity, an inverse and closure, so they form a group.
The cross-ratio defined by means of a projection
Let there be a transformation ts such that ts(A) = [\infty], ts(B) = 0, ts(C) = 1. Then the value of ts(D) is called the cross-ratio of points A, B, C and D, and is denoted as [A, B, C, D]s:
- [ [A,B,C,D]_s = t_s(D). ]
- [ t_s(x) = , ]
- [ t_s(A) = = \infty, \qquad \qquad (7) ]
- [ t_s(B) = = 0, \qquad \qquad (8) ]
- [ t_s(C) = = 1. \qquad \qquad (9) ]
- [ = 1, ]
- [ \gamma = \alpha . ]
- [ t_s(D) = \right) D - \gamma A} = \right) D - \alpha \left( \right) A} ]
- :[ = = . \qquad \qquad (10) ]
- [ [A,B,C,D] = . \qquad \qquad (11) ]
Conservation of cross-ratio
Transformations on the projective line preserve cross ratio. This will now be proven. Let there be four (collinear) points A, B, C, D. Their cross-ratio is given by equation (11). Let S(x) be a projective transformation:
- [ S(x) = ]
- [ [S(A) S(B) S(C) S(D)] = \cdot ]
- :[ = ]
- :[ = ]
- :[ = ]
- :[ = ]
- :[ = \cdot ]
Transformations on the projective plane
Two-dimensional projective transformations are a type of automorphism of the projective plane onto itself.Planar transformations can be defined synthetically as follows: point X on a "subjective" plane must be transformed to a point T also on the subjective plane. The transformations uses these tools: a pair of "observation points" P and Q, and an "objective" plane. The subjective and objective planes and the two points all lie in three-dimensional space, and the two planes can intersect at some line.
Draw line l1 through points P and X. Line l1 intersects the objective plane at point R. Draw line l2 through points Q and R. Line l2 intersects the projective plane at point T. Then T is the projective transform of X.
Analysis
Let the xy-plane be the "subjective" plane and let plane m be the "objective" plane. Let plane m be described by
- [ z = f(x,y) = m x + n y + b ]
Let there be a pair of "observation" points P and Q,
- [ P : (P_x, P_y, P_z), ]
- [ Q : (Q_x, Q_y, Q_z). ]
- [ X : (x,y,0). ]
- [ T : (T_x, T_y, 0) ]
The analytical results are a pair of equations, one for abscissa Tx and one for ordinate Ty:
- [ T_x = , \qquad \qquad (12) ]
- [ T_y = . \qquad \qquad (13) ]
Trilinear transformations
Let
- [ \alpha = -m Q_x P_z - n Q_z P_y + Q_z (P_z - b), ]
- [ \beta = n (Q_z P_x - Q_x P_z), ]
- [ \gamma = b (Q_z P_x - Q_x P_z), ]
- [ \delta = m (Q_z - P_z), ]
- [ \epsilon = n (Q_z - P_z), ]
- [ \zeta = - (m P_x + n P_y) Q_z + (Q_z - b) P_z, ]
- [ T_x = . \qquad \qquad (14) ]
- [ \eta = m (Q_z P_y - Q_y P_z), ]
- [ \theta = -m Q_z P_x - n Q_y P_z + Q_z (P_z - b), ]
- [ \kappa = b (Q_z P_y - Q_y P_z), ]
- [ T_y = . \qquad \qquad (15) ]
Composition of trilinear transformations
If a transformation is given by equations (14) and (15), then such transformation is characterized by nine coefficients which can be arranged into a coefficient matrix
- [ M_T = \begin \alpha & \beta & \gamma\\ \eta & \theta & \kappa \\ \delta & \epsilon & \zeta \end. ]
- [ T_3 = T_2 \circ T_1 , ]
- [ T_3(x,y) = T_2 ( T_1 (x,y) ). ]
- [ M_ = M_ \, M_. ]
Proof
Given T1 defined by
- [ T_ = , ]
- [ T_ = , ]
- [ T_ = , ]
- [ T_ = , ]
- [ T_ = T_ ( T_, T_ ) = \right) + \beta_2 \left( \right) + \gamma_2 \over \delta_2 \left( \right) + \epsilon_2 \left( \right) + \zeta_2}. ]
- [ T_ = . ]
- [ T_ = = . ]
- [ \begin \alpha_2 & \beta_2 & \gamma_2 \\\eta_2 & \theta_2 & \kappa_2 \\\delta_2 & \epsilon_2 & \zeta_2 \end \begin \alpha_1 & \beta_1 & \gamma_1 \\\eta_1 & \theta_1 & \kappa_1 \\\delta_1 & \epsilon_1 & \zeta_1 \end = \begin \alpha_3 & \beta_3 & \gamma_3 \\\eta_3 & \theta_3 & \kappa_3 \\\delta_3 & \epsilon_3 & \zeta_3 \end. \qquad \qquad (16) ]
- [ T_ = T_ ( T_, T_ ) = \right) + \theta_2 \left( \right) + \kappa_2 \over \delta_2 \left( \right) + \epsilon_2 \left( \right) + \zeta_2}. ]
- [ T_ = . ]
- [ T_ = = . ]
Planar transformations of lines
The trilinear transformation given be equations (14) and (15) transforms a straight line
- [ y = m x + b ]
- [ T_y = n T_x + c ]
- [ n = ]
- [ c = . ]
Proof
Given y = m x + b, then plugging this into equations (14) and (15) yields
- [ T_x = = , ]
- [ T_y = . ]
- [ = n ]
- [ n = . ]
- [ = ]
- [ = ]
- [ n = = . ]
- [ c = T_y - n T_x ]
- ::[ = right] \cdot [ (alpha + beta m) x + (beta b + gamma) ] \over (\delta + \epsilon m) x + (\epsilon b + \zeta) }. ]
- [ c = \over [(delta + epsilon m) x + (epsilon b + zeta)] [(epsilon b + zeta) (alpha + beta m) - (beta b + gamma) (delta + epsilon m)] }. ]
- [ c = . ]
- [ c = \over [(delta + epsilon m) x + (epsilon b + zeta)] [(epsilon b + zeta) (alpha + beta m) - (beta b + gamma) (delta + epsilon m)] }. ]
- [ c = . ]
- [ c = ]
Comparing c with n, notice that their denominators are the same. Also, n is obtained from c by exchanging the following coefficients:
- [ \alpha \leftrightarrow \delta, \ \beta \leftrightarrow \epsilon, \ \gamma \leftrightarrow \zeta . ]
- [ \alpha \leftrightarrow \eta, \ \beta \leftrightarrow \theta, \ \gamma \leftrightarrow \kappa . ]
The exchange symmetry between n and c can be chunked into binomials:
- [ n \leftrightarrow c \equiv \. ]
Planar transformations of conic sections
A trilinear transformation such as T given by equations (14) and (15) will convert a conic section- [ A x^2 + B y^2 + C x + D y + E x y + F = 0 \qquad \qquad (17) ]
- [ A' T_x^2 + B' T_y^2 + C' T_x + D' T_y + E' T_x T_y + F' = 0. \qquad \qquad (18) ]
Proof
Let there be given a conic section described by equation (17) and a planar transformation T described by equations (15) and (16) which converts points (x,y) into points (Tx,Ty).It is possible to find an inverse transformation T′ which converts back points (Tx,Ty) to points (x,y). This inverse transformation has a coefficient matrix
- [ M_ = \begin \alpha' & \beta' & \gamma' \\\eta' & \theta' & \kappa' \\\delta' & \epsilon' & \zeta' \end. ]
- [ A \left( \right)^2 + B \left( \right)^2 + C \left( \right) + D \left( \right) + E \left( \right) \left( \right) + F = 0. ]
- [ A (\alpha' T_x + \beta' T_y + \gamma')^2 + B (\eta' T_x + \theta' T_y + \kappa')^2 + C (\alpha' T_x + \beta' T_y + \gamma') (\delta' T_x + \epsilon' T_y + \zeta') + D (\eta' T_x + \theta' T_y + \kappa') (\delta' T_x + \epsilon' T_y + \zeta') + E (\alpha' T_x + \beta' T_y + \gamma') (\eta' T_x + \theta' T_y + \kappa') + F (\delta' T_x + \epsilon' T_y + \zeta')^2 = 0. ]
- [ \begin (A \alpha'^2 + B \eta'^2 + C \alpha' \delta' + D \eta' \delta' + E \alpha' \eta' + F \delta'^2) T_x^2 \\ +(A \beta'^2 + B \theta'^2 + C \beta' \epsilon' + D \theta' \epsilon' + E \beta' \theta' + F \epsilon'^2) T_y^2 \\ +(2 A \alpha' \gamma' + 2 B \eta' \kappa' + C (\alpha' \zeta' + \gamma' \delta') + D (\eta' \zeta' + \kappa' \delta') + E (\alpha' \kappa' + \gamma' \eta') + 2 F \delta' \zeta') T_x \\ +(2 A \beta' \gamma' + 2 B \theta' \kappa' + C (\beta' \zeta' + \gamma' \epsilon') + D (\theta' \zeta' + \kappa' \epsilon') + E (\beta' \kappa' + \gamma' \theta') + 2 F \epsilon' \zeta') T_y \\ +(2 A \alpha' \beta' + 2 B \eta' \theta' + C (\alpha' \epsilon' + \beta' \delta') + D (\eta' \epsilon' + \theta' \delta') + E (\alpha' \theta' + \beta' \eta') + 2 F \delta' \epsilon') T_x T_y \\ + (A \gamma'^2 + B \kappa'^2 + C \gamma' \zeta' + D \kappa' \zeta' + E \gamma' \kappa' + F \zeta'^2) = 0. \end \qquad \qquad (19) ]
What remains to do is to express the primed coefficients in terms of the unprimed coefficients. To do this, apply Cramer's rule to the coefficient matrix MT to obtain the primed matrix of the inverse transformation:
- [ M_ = \begin \left| \begin \theta &\kappa \\ \epsilon & \zeta \end \right| &\left| \begin \epsilon & \zeta \\ \beta & \gamma \end \right| &\left| \begin \beta & \gamma \\ \theta & \kappa \end \right|\\ \quad & \quad & \quad \\\left| \begin \kappa & \eta \\ \zeta & \delta \end \right| &\left| \begin \zeta & \delta \\ \gamma & \alpha \end \right| &\left| \begin \gamma & \alpha \\ \kappa & \eta \end \right|\\ \quad & \quad & \quad \\\left| \begin \eta & \theta \\ \delta & \epsilon \end \right| &\left| \begin \delta &\epsilon \\ \alpha & \beta \end \right| &\left| \begin \alpha & \beta \\ \eta & \theta \end \right|\end \qquad \qquad (20) ]
Equation (20) allows primed coefficients to be expressed in terms of unprimed coefficients. But performing these substitutions on the primed coefficients of equation (19) it can be noticed that the determinant Δ cancels itself out, so that it can be ignored altogether. Therefore
- [ A' = A (\theta \zeta - \kappa \epsilon)^2+ B (\kappa \delta - \eta \zeta)^2+ C (\theta \zeta - \kappa \epsilon) (\eta \epsilon - \theta \delta)+ D (\kappa \delta - \eta \zeta) (\eta \epsilon - \theta \delta)+ E (\theta \zeta - \kappa \epsilon) (\kappa \delta - \eta \zeta)+ F (\eta \epsilon - \theta \delta)^2 ]
- [ B' = A (\epsilon \gamma - \zeta \beta)^2+ B (\zeta \alpha - \delta \gamma)^2+ C (\epsilon \gamma - \zeta \beta) (\delta \beta - \epsilon \alpha)+ D (\zeta \alpha - \delta \gamma) (\delta \beta - \epsilon \alpha)+ E (\epsilon \gamma - \zeta \beta) (\zeta \alpha - \delta \gamma)+ F (\delta \beta - \epsilon \alpha)^2 ]
- [ C' = 2 A (\theta \zeta - \kappa \epsilon) (\beta \kappa - \gamma \theta)+ 2 B (\kappa \delta - \eta \zeta) (\gamma \eta - \alpha \kappa)+ C [ (theta zeta - kappa epsilon) (alpha theta - beta eta) +(beta kappa - gamma theta) (eta epsilon - theta delta)]+ D [ (kappa delta - eta zeta) (alpha theta - beta eta) + (gamma eta - alpha kappa) (eta epsilon - theta delta) ]+ E [ (theta zeta - kappa epsilon) (gamma eta - alpha kappa) + (beta kappa - gamma theta) (kappa delta - eta zeta) ]+ 2 F (\eta \epsilon - \theta \delta) (\alpha \theta - \beta \eta) ]
- [ D' = 2 A (\epsilon \gamma - \zeta \beta) (\beta \kappa - \gamma \theta)+ 2 B (\zeta \alpha - \delta \gamma) (\gamma \eta - \alpha \kappa)+ C [ (epsilon gamma - zeta beta) (alpha theta - beta eta) + (beta kappa - gamma theta) (delta beta - epsilon alpha) ]+ D [ (zeta alpha - delta gamma) (alpha theta - beta eta) + (gamma eta - alpha kappa) (delta beta - epsilon alpha) ]+ E [ (epsilon gamma - zeta beta) (gamma eta - alpha kappa) + (beta kappa - gamma theta) (zeta alpha - delta gamma) ]+ 2 F (\delta \beta - \epsilon \alpha) (\alpha \theta - \beta \eta) ]
- [ E' = 2 A (\theta \zeta - \kappa \epsilon) (\epsilon \gamma - \zeta \beta)+ 2 B (\kappa \delta - \eta \zeta) (\zeta \alpha - \delta \gamma)+ C [(theta zeta - kappa epsilon) (delta beta - epsilon alpha) + (epsilon gamma - zeta beta) (eta epsilon - theta delta)]+ D [ (kappa delta - eta zeta) (delta beta - epsilon alpha) + (zeta alpha - delta gamma) (eta epsilon - theta delta)]+ E [ (theta zeta - kappa epsilon) (zeta alpha - delta gamma) +(epsilon gamma - zeta beta) (kappa delta - eta zeta)]+ 2 F (\eta \epsilon - \theta \delta) (\delta \beta - \epsilon \alpha) ]
- [ F' = A (\beta \kappa - \gamma \theta)^2+ B (\gamma \eta - \alpha \kappa)^2+ C (\beta \kappa - \gamma \theta) (\alpha \theta - \beta \eta)+ D (\gamma \eta - \alpha \kappa) (\alpha \theta - \beta \eta)+ E (\beta \kappa - \gamma \theta) (\gamma \eta - \alpha \kappa)+ F (\alpha \theta - \beta \eta)^2 ]
Planar projectivities and cross-ratio
Let four points A, B, C, D be collinear. Let there be a planar projectivity T which transforms these points into points A′, B′, C′, and D′. It was already shown that lines are transformed into lines, so that the transformed points A′ through D′ will also be collinear. Then it will turn out that the cross-ratio of the original four points is the same as the cross-ratio of their transforms:- [ [A B C D] = [A' B' C' D']. ]
Proof
If the two-dimensional coordinates of four points are known, and if the four points are collinear, then their cross-ratio can be found from their abscissas alone. It is possible to project the points onto a horizontal line by means of a pencil of vertical lines issuing from a point on the line at infinity:- [ [A B C D] = [A_x B_x C_x D_x]. ]
Let
- [ A : (x_1, m x_1 + b), ]
- [ B : (x_2, m x_2 + b), ]
- [ C : (x_3, m x_3 + b), ]
- [ D : (x_4, m x_4 + b). ]
- [ T_x (x,y) = ]
- [ T_x(A) = = , ]
- [ T_x(B) = = , ]
- [ T_x(C) = = , ]
- [ T_x(D) = = . ]
- [ [x_1 x_2 x_3 x_4] = \cdot . ]
- [ S(x) = ]
- [ [T_x(A) T_x(B) T_x(C) T_x(D)] = [S(A) S(B) S(C) S(D)] ]
Example
The following is a rather simple example of a planar projectivity:- [ T_x = , \qquad T_y = . ]
- [ M_T = \begin 0 & 0 & 1 \\0 & 1 & 0 \\1 & 0 & 0 \end ]
The locus of points described parametrically as [ ( \cos \theta, \, \sin \theta ) ] describe a circle, due to the trigonometric identity
- [ \cos^2 \theta + \sin^2 \theta = 1 ]
- [ \sec^2 \theta - \tan^2 \theta = 1 ]
Indeed, this projectivity transforms any circle, of any radius, into a hyperbola centered at the origin with both of its foci lying on the x-axis, and vice versa. This projectivity also transforms the y-axis into the line at infinity, and vice versa:
- [ T : (0, y) \rightarrow \left( , \right) = (\pm \infty, \pm \infty), ]
- [ T: (\pm \infty, \pm \infty) \rightarrow \left( , \right) = (0, y). ]
This example emphasizes that in the real projective plane, RP2, a hyperbola is a closed curve which passes twice through the line at infinity. But what does the transformation do to a parabola?
Let the locus of points [ (x,x^2) ] describe a parabola. Its transformation is
- [ T : (x,x^2) \rightarrow \left( , \right) = (x', 1/x') ]
- [ y = ]
- [ y = x^2 \quad ].
Transformations in projective 3-space
Three-dimensional transformations can be defined synthetically as follows: point X on a "subjective" 3-space must be transformed to a point T also on the subjective space. The transformations uses these elements: a pair of "observation points" P and Q, and an "objective" 3-space. The subjective and objective spaces and the two points all lie in four-dimensional space, and the two 3-spaces can intersect at some plane.Draw line l1 through points X and P. This line intersects the objective space at point R. Draw line l2 through points R and Q. Line l2 intersects the projective plane at point T. Then T is the transform of X.
Analysis
Let- [ X : (x,y,z,0), ]
- [ T : (T_x,T_y,T_z,0), ]
- [ P : (P_x,P_y,P_z,P_t), ]
- [ Q : (Q_x,Q_y,Q_z,Q_t). ]
- [ t = f(x,y,z) = m x + n y + k z + b ]
- [ (1 - \lambda_1) X + \lambda_1 P = (R_x,R_y,R_z,m R_x + n R_y + k R_z + b). ]
- [ R_x = x + \lambda_1 (P_x - x) ]
- [ R_y = y + \lambda_1 (P_y - y) ]
- [ R_z = z + \lambda_1 (P_z - z) ]
- [ R_t = \lambda_1 P_t = m R_x + n R_y + k R_z + b ]
- [ (m x + n y + k z) + \lambda_1 (m P_x + n P_y + k P_z - m x - n y - k z - P_t) + b = 0 ]
- [ \lambda_1 = = \over \lambda_}. ]
- [ (1 - \lambda_2) R + \lambda_2 Q = (T_x,T_y,T_z,0) ]
- [ T_x = R_x + \lambda_2 (Q_x - R_x), ]
- [ T_y = R_y + \lambda_2 (Q_y - R_y), ]
- [ T_z = R_z + \lambda_2 (Q_z - R_z), ]
- [ R_t + \lambda_2 (Q_t - R_t) = 0. ]
- [ \lambda_2 = ]
- [ T_x = R_x + R_t = , ]
- [ T_y = R_y + R_t = , ]
- [ T_z = R_z + R_t = . ]
- [ T_x = = , ]
- [ T_y = = , ]
- [ T_z = = . ]
- [ T_x = [P_t Q_x - Q_t (P_x - x)] - x Q_t \lambda_ \over P_t \lambda_ - Q_t \lambda_ }, ]
- [ T_y = [P_t Q_y - Q_t (P_y - y)] - y Q_t \lambda_ \over P_t \lambda_ - Q_t \lambda_ }, ]
- [ T_z = [P_t Q_z - Q_t (P_z - z)] - z Q_t \lambda_ \over P_t \lambda_ - Q_t \lambda_ }, ]
- [ \lambda_ = b + m x + n y + k z ]
- [ \lambda_ = P_t + m (x - P_x) + n (y - P_y) + k (z - P_z) ]
- [ T_x = \over T_} = . ]
- [ T_y = \over T_} ],
- [ T_ = (b + m x + n y + k z) [P_t Q_y - Q_t (P_y - y)] - y Q_t [P_t + m (x - P_x) + n (y - P_y) + k (z - P_z)], ]
- [ T_z = \over T_} ].
- [ T_ = x (m P_t Q_x + n P_y Q_t + k P_z Q_t + Q_t (b - P_t)) + y n (P_t Q_x - P_x Q_t) + z k (P_t Q_x - P_x Q_t) + b (P_t Q_x - P_x Q_t) ]
- [ T_ = (m x + n y + k z) (P_t - Q_t) + (m P_x + n P_y + k P_z) Q_t + P_t (b - Q_t). ]
- [ T_ = x m (P_t Q_y - P_y Q_t) + y (m P_x Q_t + n P_t Q_y + k P_z Q_t + Q_t (b - P_t)) + z k (P_t Q_y - P_y Q_t) + b (P_t Q_y - P_y Q_t). ]
- [ T_ = x m (P_t Q_z - P_z Q_t) + y n (P_t Q_z - P_z Q_t) + z (m P_x Q_t + n P_y Q_t + k P_t Q_z + Q_t (b - P_t)) + b (P_t Q_z - P_z Q_t). ]
Quadrilinear transformations
Let
- [ \alpha = m P_t Q_x + n P_y Q_t + k P_z Q_t + Q_t (b - P_t), ]
- [ \beta = n (P_t Q_x - P_x Q_t), ]
- [ \gamma = k (P_t Q_x - P_x Q_t), ]
- [ \delta = b (P_t Q_x - P_x Q_t), ]
- [ \epsilon = m (P_t - Q_t), ]
- [ \zeta = n (P_t - Q_t), ]
- [ \eta = k (P_t - Q_t), ]
- [ \theta = (m P_x + n P_y + k P_z) Q_t + P_t (b - Q_t), ]
- [ \iota = m (P_t Q_y - P_y Q_t), ]
- [ \kappa = m P_x Q_t + n P_t Q_y + k P_z Q_t + Q_t (b - P_t), ]
- [ \lambda = k (P_t Q_y - P_y Q_t), ]
- [ \mu = b (P_t Q_y - P_y Q_t), ]
- [ \nu = m (P_t Q_z - P_z Q_t), ]
- [ \xi = n (P_t Q_z - P_z Q_t), ]
- [ o = m P_x Q_t + n P_y Q_t + k P_t Q_z + Q_t (b - P_t), ]
- [ \rho = b (P_t Q_z - P_z Q_t). ]
- [ T_x = , ]
- [ T_y = , ]
- [ T_x = . ]
- [ M_T = \begin \alpha & \beta & \gamma & \delta \\\iota & \kappa & \lambda & \mu \\\nu & \xi & o & \rho \\\epsilon & \zeta & \eta & \theta \end. ]
Transformation T in 3-space can also be represented in terms of homogeneous coordinates as
- [ T : [x : y : z : 1] \rightarrow [alpha x + beta y + gamma z + delta : iota x + kappa y + lambda z + mu : nu x + xi y + o z + rho : epsilon x + zeta y + eta z + theta ]. ]
- [ T : [x : y : z : 0] \rightarrow [alpha x + beta y + gamma z : iota x + kappa y + lambda z : nu x + xi y + o z : epsilon x + zeta y + eta z ]. ]
The group of affine transformations has a subgroup of affine rotations whose matrices have the form
- [ M_ = \begin \alpha & \beta & \gamma & 0 \\\iota & \kappa & \lambda & 0 \\\nu & \xi & o & 0 \\0 & 0 & 0 & 1 \end ]
- [ \begin \alpha & \beta & \gamma \\\iota & \kappa & \lambda \\\nu & \xi & o \end ]
Properties of quadrilinear transformations
Given a pair of quadrilinear transformations T1 and T2, whose coefficient matrices are [ M_ ] and [ M_ ], then the composition of these pair of transformations is another quadrilinear transformation T3 whose coefficient matrix [ M_ ] is equal to the product of the first and second coefficient matrices,
- [ (T_3 = T_2 \circ T_1) \leftrightarrow (M_ = M_ M_). ]
Given a spatial projectivity T1 whose coefficient matrix is [ M_ ], the inverse of this projectivity is another projectivity T−1 whose coefficient matrix [ M_} ] is the inverse of T1′s coefficient matrix,
- [ (T_ \circ T_1 = T_I) \leftrightarrow (M_} M_ = I) ].
This group of quadrilinear transformations contains subgroups of trilinear transformations. For example, the subgroup of all quadrilinear transformations whose coefficient matrices have the form
- [ \begin \alpha & \beta & 0 & \delta \\\iota & \kappa & 0 & \mu \\0 & 0 & 0 & 0 \\\epsilon & \zeta & 0 & \theta \end ]
- [ \begin \alpha & \beta & \delta \\\iota & \kappa & \mu \\\epsilon & \zeta & \theta \end. ]
- [ T : (x, y, z) \rightarrow \left( , , 0 \right). ]
Spatial transformations of planes
Projective transformations in 3-space transform planes into planes. This can be demonstrated more easily using homogeneous coordinates.Let
- [ z = m x + n y + b ]
- [ m x + n y - z + b = 0. \qquad \qquad (21) ]
- [ [m n -1 b] \begin x \\. \ . \\y \\. \ . \\z \\. \ . \\1 \end = 0. ]
- [ [ m : n : b : 1 ] \begin 1 & 0 & 0 & 0 \\\ & \ & \ & \ \\0 & 1 & 0 & 0 \\\ & \ & \ & \ \\0 & 0 & 0 & 1 \\\ & \ & \ & \ \\0 & 0 & -1 & 0 \end \begin x \\. \ . \\y \\. \ . \\z \\. \ . \\1 \end = 0. \qquad \qquad (22) ]
- [ [ T_m : T_n : T_b : 1 ] \begin 1 & 0 & 0 & 0 \\\ & \ & \ & \ \\0 & 1 & 0 & 0 \\\ & \ & \ & \ \\0 & 0 & 0 & 1 \\\ & \ & \ & \ \\0 & 0 & -1 & 0 \end \begin T_x \\. \ . \\T_y \\. \ . \\T_z \\. \ . \\1 \end = 0 \qquad \qquad (23) ]
- [ \begin T_x \\. \ . \\T_y \\. \ . \\T_z \\. \ . \\1 \end = \begin \alpha & \beta & \gamma & \delta \\\ & \ & \ & \ \\\iota & \kappa & \lambda & \mu \\\ & \ & \ & \ \\\nu & \xi & o & \rho \\\ & \ & \ & \ \\\epsilon & \zeta & \eta & \theta \end \begin x \\. \ . \\y \\. \ . \\z \\. \ . \\1 \end. \qquad \qquad (24) ]
- [ \bar = \left| \begin \kappa & \lambda & \mu \\\xi & o & \rho \\\zeta & \eta & \theta \end \right| ; \qquad\bar = \left| \begin \lambda & \mu & \iota \\
Applying equation (24) to equation (25) yields
- [ [ m : n : b : 1 ] \begin 1 & 0 & 0 & 0 \\0 & 1 & 0 & 0 \\0 & 0 & 0 & 1 \\0 & 0 & -1 & 0 \end\begin \bar & \bar & \bar & \bar \\\bar & \bar & \bar & \bar \\\bar & \bar & \bar & \bar \\\bar & \bar & \bar & \bar \end\begin T_x \\. \ . \\T_y \\. \ . \\T_z \\. \ . \\1 \end = 0. \qquad \qquad (26) ]
- [ \begin \bar & \bar & \bar & \bar \\\bar & \bar & \bar & \bar \\\bar & \bar & \bar & \bar \\\bar & \bar & \bar & \bar \end\begin 1 & 0 & 0 & 0 \\0 & 1 & 0 & 0 \\0 & 0 & 0 & -1 \\0 & 0 & 1 & 0 \end\begin m \\. \ . \\n \\. \ . \\b \\. \ . \\1 \end = \begin 1 & 0 & 0 & 0 \\0 & 1 & 0 & 0 \\0 & 0 & 0 & -1 \\0 & 0 & 1 & 0 \end \begin T_m \\. \ . \\T_n \\. \ . \\T_b \\. \ . \\1 \end. ]
- [ \begin T_m \\. \ . \\T_n \\. \ . \\T_b \\. \ . \\1 \end = \begin \bar & \bar & \bar & -\bar \\\bar & \bar & \bar & -\bar \\\bar & \bar & \bar & -\bar \\-\bar & -\bar & -\bar & \bar \end\begin m \\. \ . \\n \\. \ . \\b \\. \ . \\1 \end. \qquad \qquad (27) ]
- [ T_m = m + \bar n + \bar b - \bar \over - \bar m - \bar n - \bar b + \bar}, ]
- [ T_n = m + \bar n + \bar b - \bar \over - \bar m - \bar n - \bar b + \bar}, ]
- [ T_b = m + \bar n + \bar b - \bar \over - \bar m - \bar n - \bar b + \bar}. ]
See also
Reference
From Wikipedia, the Free Encyclopedia. Original article here. Support Wikipedia by contributing or donating.
All text is available under the terms of the GNU Free Documentation License See Wikipedia Copyrights for details.
