Docsity

Projective Equations - Lecture Notes | SURE 440, Study notes of Engineering

Toggle sidebar
bg1
3PROJECTIVE EQUATIONS
Surveying Engineering Department
Ferris State University
Introduction
In the first section we were introduced to coordinate transformations. The numerical
resection problem involves the transformation (rotation and translation) of the ground
coordinates to photo coordinates for comparison purposes in the least squares adjustment.
Before we begin this process, lets derive the rotation matrix that will be used to form the
collinearity condition.
In photogrammetry, the coordinates of the points imaged on the photograph are
determined through observations. The next procedure is to compare these photo
coordinates with the ground coordinates. On the photograph, the positive x-axis is taken
in the direction of flight. For any number of reasons, this will most probably never
coincide with the ground X-axis. The origin of the photographic coordinates is at the
principal point which can be expressed as
⎥
⎥
⎥
⎦
⎤
⎢
⎢
⎢
⎣
⎡
−
−
−
=
⎥
⎥
⎥
⎦
⎤
⎢
⎢
⎢
⎣
⎡
f
yy
xx
'Z
'Y
'X
o
o
where: x, y are the photo coordinates of the imaged point with reference to the
intersection of the fiducial axes
x
o, yo are the coordinates from the intersection of the fiducial axes to the
principal point
f is the focal length
Since the origin of the ground coordinates does not coincide with the origin of the
photographic coordinate system, a translation is necessary. We can write this as
⎥
⎥
⎥
⎦
⎤
⎢
⎢
⎢
⎣
⎡
−
−
−
=
⎥
⎥
⎥
⎦
⎤
⎢
⎢
⎢
⎣
⎡
L
L
L
1
1
1
ZZ
YY
XX
Z
Y
X
where: X, Y, Z are the ground coordinates of the point
X
L, YL, ZL are the ground coordinates of the ground nadir point
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download Projective Equations - Lecture Notes | SURE 440 and more Study notes Engineering in PDF only on Docsity!

PROJECTIVE EQUATIONS

Surveying Engineering Department

Ferris State University

Introduction

In the first section we were introduced to coordinate transformations. The numerical

resection problem involves the transformation (rotation and translation) of the ground

coordinates to photo coordinates for comparison purposes in the least squares adjustment.

Before we begin this process, lets derive the rotation matrix that will be used to form the

collinearity condition.

In photogrammetry, the coordinates of the points imaged on the photograph are

determined through observations. The next procedure is to compare these photo

coordinates with the ground coordinates. On the photograph, the positive x-axis is taken

in the direction of flight. For any number of reasons, this will most probably never

coincide with the ground X-axis. The origin of the photographic coordinates is at the

principal point which can be expressed as

f

y y

x x

Z'

Y'

X'

o

o

where: x, y are the photo coordinates of the imaged point with reference to the

intersection of the fiducial axes xo , yo are the coordinates from the intersection of the fiducial axes to the

principal point

f is the focal length

Since the origin of the ground coordinates does not coincide with the origin of the

photographic coordinate system, a translation is necessary. We can write this as

L

L

L

1

1

1

Z Z

Y Y

X X

Z

Y

X

where: X, Y, Z are the ground coordinates of the point

XL, Y (^) L, ZL are the ground coordinates of the ground nadir point

Thus, in the comparison, both ground coordinates and photo coordinates are referenced to

the same origin separated only by the flying height. Note that the ground nadir

coordinates would correspond to the principal point coordinates in X and Y if the

photograph was truly vertical.

Direction Cosines

If we look at figure 1, we can see that point P has coordinates XP , Y (^) P , Z (^) P. The length of

the vector (distance) can be defined as

Figure 1. Vector OP in 3-D space.

[ ]^2

1 2 P

2 P

2 OP = XP +Y +Z

The direction of the vector can be written with respect to the 3 axes as:

OP

Z

cos

OP

Y

cos

OP

X

cos

P

P

P

γ =

β=

α=

These cosines are called the direction cosines of the vector from O to P. This concept can

be extended to any line in space. For example, figure 2 shows the line PQ. Here we can

readily see that the vector PQ can be defined as:

OP =xi+yj+z k

Figure 3. Unit vectors.

and the point P has coordinates (x, y, z)

T .

Given a second set of coordinates axes (I, J, K), one can write similar relationships for

the same point P. Each

coordinate axes has an angular

relationship to each of the i, j, k

coordinate axes. For example,

figure 4 shows the relationship

between J and i. The angle

between the axes is defined as

(xY). Since i has similar

angles to the other two axes,

one

Figure 4. Rotation between Y and x axes.

can write the unit vector in

rms of the direction cosines

as:

te

( )

( )

( ) ⎥

cos xZ

cosxY

cosxX

i K

i J

i I

i

Similarly, we have for j and k ,

( ) (

( )

( )

)

( )

( ) ⎥

cos zZ

coszY

coszX

k

cosyZ

cosyX

Then, the vector from O to P can be written as

j= cosyY

( )

( )

( )

( )

( )

( )

( )

( )

( )

( )

( )

= cosxY cos

( )

( )

( )

( )

( )

( )

( ) ⎥

Z

Y

X

z

y

x

cos

coszY

coszX

cosyZ

yY

cosyX

cosxZ

cosxX

coszZ

coszY

coszX

z

cosyZ

cosyY

cosyX

y

cosxZ

cosxY

cosxX

OP x

zZ

This can be written more generally as

X =R x o solve these unknowns using only three angles, 6 orthogonal conditions must be

applied to the rotation matrix, R. All vectors mu

combination of the two must be orthogonal [Novak, 1993]. Thus, designating R as three

n vectors [R = (r 1 r 2 r 3 )], we have

ial Rotations

T

st have a length of 1 and any

colum

r r r r r r 1 0

T 3 3

T 2 2

T 1 = = =

r r rr r r 3 1

T 2 3

t 1 2

T 1 = = =

Sequent

Combination Axes of Rotation

1) Roll (ω) – Pitch (ϕ) – Yaw (κ) x – y - z

2) Pitch (ϕ) – Roll (ω) – Yaw (κ) y – x - z

3) Heading (H) – Roll (ω) – Pitch (ϕ) z – x - y

4) Heading (H) – Pitch (ϕ) – Roll (ω) z – y - x

5) Azimuth (α) – Tilt (t) – Swing (s) z – x - z

6) Azimuth (α) – Elevation (h) – Swing (s) z – x - z

Table 1. Rotation combinations.

= ⋅ + ⋅ − ω + ⋅ ω

= ⋅ + ⋅ ω+ ⋅ ω

Z X 0 Y ( sin ) Z cos

Y X 0 Y cos Z sin

X X Y 0 Z 0

2 1 1 1

2 1 1 1

2 1 1 1

Figure 5. Rotation angles in photogrammetry.

or in matrix form

− ω ω

= ω ω

⎥

1

1

1

2

2

2

Z

Y

X

0 sin cos

0 cos sin

Z

Y

X

or more concisely,

C 2 =Mω C

The next rotation is a ϕ- rotation about the once rotated Y 2 -axis. One can write

= ⋅ ϕ+ ⋅ + ⋅ ϕ

= ⋅ ϕ+ ⋅ + ⋅ − ϕ

Z X sin Y 0 Z cos

Y X 0 Y Z 0

X X cos Y 0 Z ( sin )

3 2 2 2

3 2 2 2

3 2 2 2

or in matrix form:

ϕ ϕ

ϕ − ϕ

=

⎥

2

2

2

3

3

3

Z

Y

X

sin 0 cos

cos 0 sin

Z

Y

X

or more concisely,

C 3 =MϕC 2

Finally, we have the κ-rotation about the twice-rotated Z 3 -axis (see figure 5). This

becomes

( )

3 3 3

3 3 3

3 3 3

Z' X 0 Y 0 Z

Y' X sin Y cos Z 0

X' X cos Y sin Z 0

= ⋅− κ + ⋅ κ+ ⋅

= ⋅ κ+ ⋅ κ+ ⋅

which in matrix form is

− κ κ

κ κ

=

⎥

3

3

3

Z

Y

X

sin cos 0

cos sin 0

Z'

Y'

X'

or more concisely as

C' =MκC 3

Thus, the transformation from the survey parallel (X 1 , Y 1 , Z 1 ) system is shown as

κ ϕ ω

1

1

1

1

1

1

G

Z

Y

X

M M M

Z

Y

X

M

Z'

Y'

X'

Performing the multiplication, the elements of M (^) G are shown as:

ϕ − ω ϕ ω ϕ

− ϕ κ ω κ− ω ϕ κ ω κ+ ω ϕ κ

ϕ κ ω κ+ ω ϕ κ ω κ− ω ϕ κ

=

sin sin cos cos cos

cos sin cos cos sin sin sin sin cos cos sin sin

cos cos cos sin sin sin cos sin sin cos sin cos

M (^) G

If the rotation matrix is known, then the angles (κ, ϕ, ω) can be computed as [Doyle,

1981]

Figure 6. Collinearity condition.

Then,

L

L

L

31 32 33

21 22 23

11 12 13

o

o

Z Z

Y Y

X X

m m m

m m m

m m m

k

f

y y

x x

where k is the scale factor. This equation takes the ground coordinates and translates

them to the ground nadir position. The rotation matrix (MG) takes those translated

coordinates and rotates them into a system that is parallel to the photograph. Finally,

these coordinates are scaled to the photograph. The result is the predicted photo

coordinates of the ground points given the exposure station coordinates (XL, Y^ L, Z^ L) and

the tilt that exists in the photography (κ, ϕ, ω). If we express this last equation

algebraically, then we have

[ ( ) ( ) ( )]

[ (^ )^ (^ )^ ( ]

[ 31 ( (^) L) 32 ( (^) L) 33 ( L ]

o 21 L 22 L 23 L

o 11 L 12 L 13 L

f km X X m Y Y m Z Z

y y km X X m Y Y m Z Z

x x km X X m Y Y m Z Z

− = − + − + − )

)

To eliminate the unknown scale factor, divide the first two equations by the third. Thus,

( ) ( ) ( )

( ) ( ) ( )

( ) ( ) (

( ) ( ) (

)

)

31 L 32 L 33 L

21 L 22 L 23 L o

31 L 32 L 33 L

11 L 12 L 13 L o

m X X m Y Y m Z Z

m X X m Y Y m Z Z y y f

m X X m Y Y m Z Z

m X X m Y Y m Z Z x x f

Otto von Gruber first introduced this equation in 1930. This equation must satisfy two

conditions [Novak, 1993].

2 32

2 22

2 12

2 31

2 21

2 11

11 12 21 22 31 32

m m m m m m

m m m m m m 0

If we look at the equation for MG above, lets see if the first condition is met.

( )

( )( )

( )

cos cos sin cos cos sin sin

cos cos sin cos cos sin sin cos sin

cos sin sin sin cos sin sin

cos cos sin cos cos sin cos sin cos cos sin cos

cos sin cos cos sin suin sin cos sin sin

m m m m m m cos cos cos sin sin sin cos

2 2

2

2

11 12 21 22 31 32

− ϕ κ κ ω− ϕ ϕ ω

= ϕ κ κ ω+ ϕ ϕ ω κ+ κ

  • ϕ ϕ κ ω− ϕ ϕ ω

= ϕ κ κ ω+ ϕ ϕ κ ω− ϕ κ κ ω

  • − ϕ κ ω κ− ξ ϕ κ − ϕ ϕ ω

    • = ϕ κ ω κ+ ω ϕ κ

Thus, the first condition is met. For the second constraint, lets first look at the left hand

side of the equation.

cos (cos sin ) sin 1

m m m cos cos cos sin sin

2 2 2 2

2 2 2 2 2 2 31

2 21

2 11

= ϕ κ+ κ + ϕ =

    • = ϕ κ+ ϕ κ+ ϕ

The right side of the equation becomes

[ ( )]

sin (sin cos ) cos 1

sin sin cos sin cos cos sin

cos sin

sin cos sin cos sin cos cos sin sin sin

cos sin

cos cos 2 sin cos sin cos sin sin sin sin

m m m cos sin 2 sin cos sin cos sin sin cos sin

2 2 2 2

2 2 2 2 2 2 2

2 2

2 2 2 2 2 2 2 2 2 2

2 2

2 2 2 2

2 2 2 2 2 2 32

2 22

2 12

= ϕ+ ϕ + ω =

= ϕ ω κ+ κ + ω+ ϕ ω

  • ϕ ω

= κ ω+ ϕ κ ω+ κ ω+ ϕ κ ω

  • ϕ ω

  • κ ω− ϕ κ κ ω ω+ ϕ κ ω

    • = ω κ+ ϕ κ κ ω ω+ ϕ κ ω

Thus, both sides of the equation equal are equal to one and to each other. Since (X – XL),

(Y – YL) and (Z – ZL) are proportional to the direction cosines of A , these equations can

also be presented as [Doyle, 1981]:

If we further assume that the principal point is located at the intersection of opposite

fiducials and if we substitute H for ZL and h for Z, then,

( )

( )

f k(H h)

y k Y Y

x k X X

L

L

Dividing the first two equations by the third ad manipulating the equation yields the

identical scale relationships given in basic photogrammetry.

L Y Y L

Y

H h

f

X X

x

−

LINEARIZATION OF THE COLLINEARITY EQUATION

The linearization of the collinearity equations are given in a number of different

textbooks. The developments presented here follow that outlined by Doyle [1981]. For

simplicity, lets define the projective equations in the following form.

( )

( ) 0 W

V

F y y f

W

U

F x x f

2 o

1 o

where U and V are the numerators in the projective equations given earlier and W is the

denominator. From adjustments, we know that the general form of the condition

equations can be written as

AV +BΔ+F= 0

The deign matrix (B) is found by taking the partial derivative of the projective equations

with respect to the parameters. Thus, it will appear as:

∂κ

∂ϕ

∂ω

∂κ

∂ϕ

∂ω

i

2

i

2

i

2

i

1

i

1

i

1

2 2 2

L

2

L

2

L

2

1 1 1

L

1

L

1

L

1

2

o

2

o

2

1

o

1

o

1

Z

F

Y

F

X

F

Z

F

Y

F

X

F

F F F

Z

F

Y

F

X

F

F F F

Z

F

Y

F

X

F

f

F

y

F

x

F

f

F

y

F

x

F

B

The first section contains the partial derivatives with respect to the interior orientation,

the second group are the partials with respect to the exterior orientation, and the third

group are the partials with respect to the ground coordinates. The partial derivatives of

the interior orientation (xo , yo , and f only) are very basic.

W

V

f

F

y

F

x

F

W

U

f

F

y

F

x

F

2

o

2

o

2

1

o

1

o

1

For the partial derivatives taken with respect to the exposure station coordinates, we will

use the following general differentiation formulas:

P

W

W

V

P

V

W

f

W

P

W

V

P

V

W

f P

F

P

W

W

U

P

V

W

f

W

P

W

U

P

U

W

f P

F

2

2

2

1

where P are the parameters. For the exposure station coordinates (XL, YL , ZL), the partial

derivatives of the functions U, V, and W become:

33 L

32 L

31 L

23 L

22 L

21 L

13 L

12 L

11 L

m Z

W

m Y

W

m X

W

m Z

V

m Y

V

m X

V

m Z

U

m Y

U

m X

U

Then the partial derivatives of the functions F 1 and F 2 can be shown to be

∂ω

∂ω

∂ω

∂ω

i L

i L

i L

G

Z Z

Y Y

X X

M

W

V

U

∂ϕ

∂ϕ

∂ϕ

∂ϕ

i L

i L

i L

G

Z Z

Y Y

X X

M

W

V

U

∂κ

∂κ

∂κ

∂κ

i L

i L

i L

G

Z Z

Y Y

X X

M

W

V

U

Now one can evaluate the partial derivatives of F 1 and F 2 with respect to the orientation

angles.

∂κ

∂κ

∂κ

∂ϕ

∂ϕ

∂ϕ

∂ω

∂ω

∂ω

W

W

U U

W

F f

W

W

U U

W

F f

W

W

U U

W

F f

1

1

1

∂κ

∂κ

∂κ

∂ϕ

∂ϕ

∂ϕ

∂ω

∂ω

∂ω

W

W

V V

W

F f

W

W

V V

W

F f

W

W

V V

W

F f

2

2

2

The partial derivatives of the functions F 1 and F 2 with respect to the survey points are

shown to be:

21 31 L

2

i

2

11 31 L

1

i

1

m W

V

m W

f

X

F

X

F

m W

U

m W

f

X

F

X

F

22 32 L

2

i

2

12 32 L

1

i

1

m W

V

m W

f

Y

F

Y

F

m W

U

m W

f

Y

F

Y

F

23 33 L

2

i

2

13 33 L

1

i

1

m W

V

m W

f

Z

F

Z

F

m W

U

m W

f

Z

F

Z

F

REFERENCES

Novak, K, 1993. Analytical Photogrammetry lecture notes, Department of Geodetic

Science and Surveying, The Ohio State University, 133p.