Projective Geometry/Classic/Projective Transformations/Transformations of projective 3-space

From testwiki
Jump to navigation Jump to search

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:(Tx,Ty,Tz,0),
P:(Px,Py,Pz,Pt),
Q:(Qx,Qy,Qz,Qt).

Let there be an "objective" 3-space described by

t=f(x,y,z)=mx+ny+kz+b

Draw line l1 through points P and X. This line intersects the objective plane at R. This intersection can be described parametrically as follows:

(1λ1)X+λ1P=(Rx,Ry,Rz,mRx+nRy+kRz+b).

This implies the following four equations:

Rx=x+λ1(Pxx)
Ry=y+λ1(Pyy)
Rz=z+λ1(Pzz)
Rt=λ1Pt=mRx+nRy+kRz+b

Substitute the first three equations into the last one:

(mx+ny+kz)+λ1(mPx+nPy+kPzmxnykzPt)+b=0

Solve for λ1,

λ1=(b+mx+ny+kz)m(Pxx)+n(Pyy)+k(Pzz)Pt=λ1Nλ1D.

Draw line l2 through points R and Q. This line intersects the subjective 3-space at T. This intersection can be represented parametrically as follows:

(1λ2)R+λ2Q=(Tx,Ty,Tz,0)

This implies the following four equations:

Tx=Rx+λ2(QxRx),
Ty=Ry+λ2(QyRy),
Tz=Rz+λ2(QzRz),
Rt+λ2(QtRt)=0.

The last equation can be solved for λ2,

λ2=RtRtQt

which can then be substituted into the other three equations:

Tx=Rx+RtQxRxRtQt=RtQxRxQtRtQt,
Ty=Ry+RtQyRyRtQt=RtQyRyQtRtQt,
Tz=Rz+RtQzRzRtQt=RtQzRzQtRtQt.

Substitute the values for Rx, Ry, Rz, and Rt obtained from the first intersection into the above equations for Tx, Ty, and Tz,

Tx=λ1PtQx[x+λ1(Pxx)]Qtλ1PtQt=λ1[PtQxQt(Pxx)]xQtλ1PtQt,
Ty=λ1PtQy[y+λ1(Pyy)]Qtλ1PtQt=λ1[PtQyQt(Pyy)]yQtλ1PtQt,
Tz=λ1PtQz[z+λ1(Pzz)]Qtλ1PtQt=λ1[PtQzQt(Pzz)]zQtλ1PtQt.

Multiply both numerators and denominators of the above three equations by the denominator of lambda1: λ1D,

Tx=λ1N[PtQxQt(Pxx)]xQtλ1DPtλ1NQtλ1D,
Ty=λ1N[PtQyQt(Pyy)]yQtλ1DPtλ1NQtλ1D,
Tz=λ1N[PtQzQt(Pzz)]zQtλ1DPtλ1NQtλ1D,

Plug in the values of the numerator and denominator of lambda1:

λ1N=b+mx+ny+kz
λ1D=Pt+m(xPx)+n(yPy)+k(zPz)

to obtain

Tx=TxNTxD=(b+mx+ny+kz)[PtQxQt(Pxx)]xQt[Pt+m(xPx)+n(yPy)+k(zPz)]Pt(b+mx+ny+kz)Qt[Pt+m(xPx)+n(yPy)+k(zPz)].
Ty=TyNTxD,
TyN=(b+mx+ny+kz)[PtQyQt(Pyy)]yQt[Pt+m(xPx)+n(yPy)+k(zPz)],
Tz=TzNTxD.

The numerator TxN can be expanded. It will be found that second-degree terms of x, y, and z will cancel each other out. Then collecting terms with common x, y, and z yields

TxN=x(mPtQx+nPyQt+kPzQt+Qt(bPt))+yn(PtQxPxQt)+zk(PtQxPxQt)+b(PtQxPxQt)

Likewise, the denominator becomes

TxD=(mx+ny+kz)(PtQt)+(mPx+nPy+kPz)Qt+Pt(bQt).

The numerator TyN, when expanded and then simplified, becomes

TyN=xm(PtQyPyQt)+y(mPxQt+nPtQy+kPzQt+Qt(bPt))+zk(PtQyPyQt)+b(PtQyPyQt).

Likewise, the numerator TzN becomes

TzN=xm(PtQzPzQt)+yn(PtQzPzQt)+z(mPxQt+nPyQt+kPtQz+Qt(bPt))+b(PtQzPzQt).

Quadrilinear fractional transformations

Let

α=mPtQx+nPyQt+kPzQt+Qt(bPt),
β=n(PtQxPxQt),
γ=k(PtQxPxQt),
δ=b(PtQxPxQt),
ϵ=m(PtQt),
ζ=n(PtQt),
η=k(PtQt),
θ=(mPx+nPy+kPz)Qt+Pt(bQt),
ι=m(PtQyPyQt),
κ=mPxQt+nPtQy+kPzQt+Qt(bPt),
λ=k(PtQyPyQt),
μ=b(PtQyPyQt),
ν=m(PtQzPzQt),
ξ=n(PtQzPzQt),
o=mPxQt+nPyQt+kPtQz+Qt(bPt),
ρ=b(PtQzPzQt).

Then the transformation in 3-space can be expressed as follows,

Tx=αx+βy+γz+δϵx+ζy+ηz+θ,
Ty=ιx+κy+λz+μϵx+ζy+ηz+θ,
Tz=νx+ξy+oz+ρϵx+ζy+ηz+θ.

The sixteen coefficients of this transformation can be arranged in a coefficient matrix

MT=[αβγδικλμνξoρϵζηθ].

Whenever this matrix is invertible, its coefficients will describe a quadrilinear fractional transformation.

Transformation T in 3-space can also be represented in terms of homogeneous coordinates as

T:[x:y:z:1][αx+βy+γz+δ:ιx+κy+λz+μ:νx+ξy+oz+ρ:ϵx+ζy+ηz+θ].

This means that the coefficient matrix of T can operate directly on 4-component vectors of homogeneous coordinates. Transformation of a point can be effected simply by multiplying the coefficient matrix with the position vector of the point in homogeneous coordinates. Therefore, if T transforms a point on the plane at infinity, the result will be

T:[x:y:z:0][αx+βy+γz:ιx+κy+λz:νx+ξy+oz:ϵx+ζy+ηz].

If ε, ζ, and η are not all equal to zero, then T will transform the plane at infinity into a locus of points which lie mostly in affine space. If ε, ζ, and η are all zero, then T will be a special kind of projective transformation called an affine transformation, which transforms affine points into affine points and ideal points (i.e. points at infinity) into ideal points.

The group of affine transformations has a subgroup of affine rotations whose matrices have the form

MAR=[αβγ0ικλ0νξo00001]

such that the submatrix

[αβγικλνξo]

is orthogonal.

Properties of quadrilinear fractional transformations

Given a pair of quadrilinear fractional transformations T1 and T2, whose coefficient matrices are MT1 and MT2, then the composition of these pair of transformations is another quadrilinear transformation T3 whose coefficient matrix MT3 is equal to the product of the first and second coefficient matrices,

(T3=T2T1)(MT3=MT2MT1).

The identity quadrilinear fractional transformation TI is the transformation whose coefficient matrix is the identity matrix.

Given a spatial projectivity T1 whose coefficient matrix is MT1, the inverse of this projectivity is another projectivity T−1 whose coefficient matrix MT1 is the inverse of T1′s coefficient matrix,

(T1T1=TI)(MT1MT1=I).

Composition of quadrilinear transformations is associative, therefore the set of all quadrilinear transformations, together with the operation of composition, form a group.

This group of quadrilinear transformations contains subgroups of trilinear transformations. For example, the subgroup of all quadrilinear transformations whose coefficient matrices have the form

[αβ0δικ0μ0000ϵζ0θ]

is isomorphic to the group of all trilinear transformations whose coefficient matrices are

[αβδικμϵζθ].

This subgroup of quadrilinear transformations all have the form

T:(x,y,z)(αx+βy+δϵx+ζy+θ,ιx+κy+μϵx+ζy+θ,0).

This means that this subgroup of transformations will act on the plane z = 0 just like a group of trilinear transformations.

Spatial transformations of planes

Projective transformations in 3-space transform planes into planes. This can be demonstrated more easily using homogeneous coordinates.

Let

z=mx+ny+b

be the equation of a plane. This is equivalent to

mx+nyz+b=0.(21)

Equation (21) can be expressed as a matrix product:

[m n 1 b][x. .y. .z. .1]=0.

A permutation matrix can be interposed between the two vectors, in order to make the plane vector have homogeneous coordinates:

[m:n:b:1][1000    0100    0001    0010][x. .y. .z. .1]=0.(22)

A quadrilinear transformation should convert this to

[Tm:Tn:Tb:1][1000    0100    0001    0010][Tx. .Ty. .Tz. .1]=0(23)

where

[Tx. .Ty. .Tz. .1]=[αβγδ    ικλμ    νξoρ    ϵζηθ][x. .y. .z. .1].(24)

Equation (22) is equivalent to [m:n:b:1][1000010000010010][α¯ι¯ν¯ϵ¯β¯κ¯ξ¯ζ¯γ¯λ¯o¯η¯δ¯μ¯ρ¯θ¯][αβγδικλμνξoρϵζηθ][x. .y. .z. .1]=0(25) where

α¯=|κλμξoρζηθ|;β¯=|λμιoρνηθϵ|, etc.

Applying equation (24) to equation (25) yields

[m:n:b:1][1000010000010010][α¯ι¯ν¯ϵ¯β¯κ¯ξ¯ζ¯γ¯λ¯o¯η¯δ¯μ¯ρ¯θ¯][Tx. .Ty. .Tz. .1]=0.(26)

Combining equations (26) and (23) produces

[α¯β¯γ¯δ¯ι¯κ¯λ¯μ¯ν¯ξ¯o¯ρ¯ϵ¯ζ¯η¯θ¯][1000010000010010][m. .n. .b. .1]=[1000010000010010][Tm. .Tn. .Tb. .1].

Solve for [Tm:Tn:Tb:1]T,

[Tm. .Tn. .Tb. .1]=[α¯β¯δ¯γ¯ι¯κ¯μ¯λ¯ϵ¯ζ¯θ¯η¯ν¯ξ¯ρ¯o¯][m. .n. .b. .1].(27)

Equation (27) describes how 3-space transformations convert a plane (m, n, b) into another plane (Tm, Tn, Tb) where

Tm=α¯m+β¯n+δ¯bγ¯ν¯mξ¯nρ¯b+o¯,
Tn=ι¯m+κ¯n+μ¯bλ¯ν¯mξ¯nρ¯b+o¯,
Tb=ϵ¯m+ζ¯n+θ¯bη¯ν¯mξ¯nρ¯b+o¯.

Template:BookCat