Académique Documents
Professionnel Documents
Culture Documents
Coordinate transformations, as used in practice, are models describing the assumed mathematical
relationships between points in two rectangular coordinate systems; in these notes, the u,v and the
x,y systems. To determine the parameters of any transformation, coordinates of points common to
both systems must be known. These points are known as "control points" or "common points".
The number of common points required for the solution of transformation parameters depends on
the number of parameters in the transformation. In 2D transformations, each common point gives
rise to two equations, thus p common points will give n = 2 p equations. Therefore, if the four
parameters of a Linear Conformal transformation are to be determined, then a minimum of two
common points are required to solve for the parameters. For Affine transformations, (six
parameters) and 3rd-order Polynomial transformations (up to twenty parameters), minimums of
three and ten common points respectively are required for a solution of the parameters.
The solution for the parameters for any transformation involves the following steps
(i) Choose the appropriate transformation model assumed to link the x,y and u,v coordinate
systems.
(ii) Select the common points ensuring that there are sufficient to allow a redundant set of
equations.
(iii) Select the appropriate least squares adjustment model to be used to estimate the parameters.
(iv) Select the appropriate weight matrix for the model.
(v) Solve for the parameters x and residuals v.
(vi) Assess the suitability of the model by analysis of the parameters and residuals.
The 2D Linear Conformal transformation, consisting of rotation, scaling and translation is set out in
Sections 1.3 and 1.6. The transformation model for the k = 1, 2, 3, … , p common points is given
by equations (1.11)
xk a b uk t x
y = −b a v + t (3.1)
k k y
Two least squares models can be constructed to solve for the parameters of a 2D Linear Conformal
transformation. Which one is selected will depend on how the u,v and x,y coordinates are to be
treated. The two choices of models are.
(a) Only the x,y coordinates are treated as observations with residuals vx and vy . This leads
(b) Both the x,y and u,v coordinates are treated as observations with residuals vx , vy , vu and
Model (a) v + Bx = f
Equations (3.1) can be expressed in the form of observation equations where vxk and vyk are small
unknown corrections or residuals simply added to the equations to account for the assumed
inconsistency in the model. We could think of these residuals as consisting of two parts; one part
associated with the u,v system and the other associated with the transformed x,y system; the
subscripts x and y attached to the residuals simply reflect the fact that they have been added to the
"transformed" side of the model.
xk v xk a b uk t x
y + v = −b a v + t (3.2)
k yk k y
Re-arranging (3.2) so that all the "unknowns" are on to the left of the equals sign and the
observations are to the right gives
v xk − a uk − b vk − t x = − xk
(3.3)
v yk − a vk + b uk − t y = − yk
For p common points and u = 4 unknown parameters, the partitioned matrix representation of the
n = 2 p equations (3.3) is
v x1 −u − v1 −1 0 a − x1
v 1
x2 −u2 − v2 −1 0 b − x2
v x3 −u −v3 −1 0 t x − x3
3
t y
v −u −v p −1 0 −xp
xp + p = (3.4)
v y1 −v1 u1 0 −1 − y1
v y 2 − v2 u2 0 −1 − y2
v y − v3 u3 0 −1 − y3
3
v −v p up 0 −1 − y p
y p
v + Bx = f (3.5)
where
v is an (n,1) column vector of residuals
B is an (n,u) matrix of coefficients
The equations for the solution of parameters x and residuals v is set out in section 2.5.3 noting that
in this case x and f have replaced δx and f 0 respectively. The general form of the normal equations
p
p 2 p p
∑ ( uk xk + vk yk )
∑ ( uk + vk ) ∑u ∑ k =1
2
0 k vk
k =1 k =1 k =1
a p
p p p b ∑ kk k k
( v x − u y )
∑ (u 2
k + vk2 ) ∑v k − ∑ uk =
k =1
(3.6)
k =1 k =1 k =1 tx p
n
0 t y
∑ k x
k =1
symmetric
n p
∑
k =1
yk
Centroidal coordinates
Computational savings can be made by reducing coordinates to a centroid. For the p common
points, the coordinates of the centroid in the x,y system are
p
x1 + x2 + x3 + + xp ∑x k
xc = = k =1
p p
p
y1 + y2 + y3 + + yp ∑y k
yc = = k =1
p p
x1 = x1 − xc y1 = y1 − yc
x2 = x2 − xc y2 = y2 − yc
x3 = x3 − x c y3 = y3 − yc
x p = x p − xc y3 = y3 − yc
Similar relationships can be written for centroidal coordinates in the u,v system. A useful property
of the centroidal coordinates of the p common points is that their sums equal zero, ie,
p p p p
∑ xk = 0
k =1
∑ yk = 0
k =1
∑ uk = 0
k =1
∑v
k =1
k =0
Thus, replacing x,y and u,v coordinates with their centroidal counterparts x , y and u , v reduces the
transformation (3.1) to
xk a b uk
y = −b a v (3.7)
k k
It should be noted here that translations t x and t y are both zero when centroidal coordinates are used
For p common points and u = 2 unknown parameters, the partitioned matrix representation of the
n = 2 p equations resulting from the centroidal model (3.7) is
v x1 −u −v1 − x1
v 1
x2 −u2 − v 2 a − x2
v x3 −u − v3 b − x3
3
v −u −v p −xp
xp + p = (3.8)
v y1 − v1 u1 − y1
v y 2 − v2 u2 − y2
v y − v3 u3 − y3
3
−v u p − y p
v y p p
These equations are represented by the matrix equation (3.5). With W = Q = I , the normal
equations have the following simple form containing only three different numbers
n p
∑ ( uk + vk ) a ∑ ( uk xk + vk yk )
2 2
0
k =1 = k =1 (3.9)
( uk2 + vk2 ) ∑ ( vk xk − uk yk )
n
b p
0 ∑
k =1 k =1
∑ bu x g
p
k k + vk yk
a= k =1
p (3.10)
∑ cu
k =1
k
2
+v 2
k h
© 2003, R.E. Deakin Coordinate Transformations (2003) 3–5
Department of Geospatial Science RMIT
∑ (v x k k − uk yk )
b= k =1
p
(3.11)
∑ (u
k =1
k
2
+v k
2
)
The translations t x and t y are obtained by re-arranging (3.1) as
t x xc a b uc
t = y −
y c − b a vc
t x = xc − auc − bvc
or (3.12)
t y = yc + buc − avc
T
After calculation of the parameters, x = a b t x ty the residuals are calculated using (3.8).
f1 = auk + bvk + t x − xk = 0
(3.13)
f 2 = −buk + avk + t y − yk = 0
section 2.1 gives a set of equations of the form Av + Bδx = f 0 where, for a single point, the
coefficient matrices A and B are
− a 0 u − b 0 v − t 0 + xk
f 0 = − F ( l, x 0 ) = 0 k 0 k 0x
b uk − a vk − t y + yk
T
Note that in the matrices above x 0 = a 0 b0 t x0 t y0 is a vector of approximate values of the
parameters and the matrices A, B and the vector f 0 are evaluated with these approximate values. If
they are unknown, then they are set to zero for the first iteration.
Centroidal coordinates
Computational savings can be made by using gentroidal coordinates. The number of parameters is
reduced to two, since translations t x and t y are eliminated. Equations (3.1) can be written in
f1 = auk + bvk − xk = 0
(3.14)
f 2 = −buk + avk − yk = 0
T
where the vector of parameters is x = a b and the vector of observations is
T
l = xk yk uk vk with cofactor matrices as estimates of precision. Applying the principles of
section 2.1 gives a set of equations of the form Av + Bδx = f 0 where, for a single point, the
coefficient matrices and vector of numeric terms become
∂f1 ∂f1
∂F ∂a ∂b uk vk
B= = =
∂xˆ l , x0 ∂f 2 ∂f 2 vk −uk
∂a ∂b
− a 0 uk − b 0 v k + x k
f = − F ( l, x ) = 0
0 0
b uk − a vk + yk
0
For a single point, the matrix equation Av + Bδx = f 0 has the following form
v xk
−1 0 a 0 b0 v yk uk vk δ a −a 0uk − b0vk + xk
+ =
0 −1 − b
0
a 0 vuk vk −uk δ b b0uk − a 0vk + yk
vvk
For the p = 4 common points, the partitioned matrix representation of the equation Av + Bδx = f 0
resulting from the centroidal model given by the functional equations (3.14) is given as
v x1
v
y1
vu1
vv1
−1 0 a 0 b0 v x2 u1 v1 − a 0 u1 − b0 v1 + x1
v y2 v −u1 0
0 −1 − b b u1 − a v1 + y1
0 0
a0 1
−1 0 a 0 b0 vu2 u2 v2 − a 0 u2 − b0 v2 + x2
vv
0 −1 − b 0 a0 2 + v2 −u2 δ a b0 u2 − a 0 v2 + y2
=
−1 0 a0 b0 v x3 u3 v3 δ b −a 0 u3 − b0 v3 + x3
v 0
0 −1 − b 0
a0 y3 v3 −u3 b u3 − a v3 + y3
0
−1 0 a0 0
b vu3 u4 v4 − a 0 u − b0 v + x
0 4 4 4
0 −1 − b 0 a 0 vv3 v4 −u4 b u4 − a v4 + y4
0
vx
4
v y4
vu
4
vv4