Professional Documents
Culture Documents
Lecture
Geometric and Coordinate Systems Transformation
Hw 1 deadline has been extende
Next Clas
Color, Filtering
1
5
Euclidean (Rigid)
y y
θ
transform x’y’
)
1
ty
0
0 1 x tx x
y y x’y’ S
θ
transform
)
1
ty
0
0 1 x tx x
3
Af ne
y y
x’ y’
transform
1
0
0 1 x x
4
fi
Projective
y y
x’ y’
transform
1
0
0 1 x x
Note!
5
Co-Vectors
l’
y T
x’
x l
Transforming line equations: x
6
Summary of 2D Transformations
7
Euclidean
Similarity
Affine
Projective
Summary of 2D Transformations
from R.Szeliski
12
Transformation Groups
13
Example of a Group
Claim: translations matrices form a group under composition
(matrix multiplication operator)
14
Translation Group (cont)
15
Translation Group (cont)
Verify: existence of identity element
? ?
16
Translation Group (cont)
? ?
17
Example2: Euclidean Group
= =
Identity exists
Inverse Exists
Check it !
18
Transformation Groups
We have veri ed that translations form a group.
Example T1 state2 T2
state1 state3
?
19
fi
Transformation Groups
We have veri ed that translations form a group.
Inverse exists
T1 state2 T2-1
state1 state3
?
20
fi
Transformation Groups
We have veri ed that translations form a group.
21
fi
Transformation Groups
We have veri ed that translations form a group.
Hierarchy of Transformations
projective
affine
subgroup
hierarchy
similarity
Euclidean
23
Composition in a Hierarchy
projective
similarity * similarity = similarity
affine
similarity * affine = affine
similarity
Euclidean * affine = affine
Euclidean
any * projective = projective
24
Pinhole Camera Model
(Camera Coordinates)
P
y
Y x p
X f
Z
O
•Non-linear equations
•Any point on the ray OP has image p !!
25
26
Perspective Matrix Equation
(Camera Coordinates)
27
28
Image (Film) Coord.
World Coord.
Camera Coord.
Pixel Coors.
More intrinsic parameters:
The CCD sensor is made of a rectangular grid nxm of photosensors
Each photosensor generates an analog signal that is digitized by a frame
grabber into an array of NxM pixels.
30
Intrinsic Parameters
0 y0
<latexit sha1_base64="vpNCNLcSEH/Q4vbhOsOGBvAY7vs=">AAAB+nicbVDLSsNAFL3xWesr1aWbwSJ1VRIp6kYounFZwT6gDWUynbRDJw9mJpUY8yluXCji1i9x5984bbPQ1gMXDufcy733uBFnUlnWt7Gyura+sVnYKm7v7O7tm6WDlgxjQWiThDwUHRdLyllAm4opTjuRoNh3OW2745up355QIVkY3Kskoo6PhwHzGMFKS32zNEFXqOcJTNKkkqWPlaxvlq2qNQNaJnZOypCj0Te/eoOQxD4NFOFYyq5tRcpJsVCMcJoVe7GkESZjPKRdTQPsU+mks9MzdKKVAfJCoStQaKb+nkixL2Xiu7rTx2okF72p+J/XjZV36aQsiGJFAzJf5MUcqRBNc0ADJihRPNEEE8H0rYiMsM5B6bSKOgR78eVl0jqr2ufV2l2tXL/O4yjAERzDKdhwAXW4hQY0gcADPMMrvBlPxovxbnzMW1eMfOYQ/sD4/AFq4ZN6</latexit>
<latexit sha1_base64="qBR/YE8vynf/TAMP21HKNnHpv68=">AAAB+nicbVBNS8NAEJ34WetXqkcvi0XqqSRS1ItQ9OKxgv2AtpTNdtMu3WzC7katMT/FiwdFvPpLvPlv3LY5aOuDgcd7M8zM8yLOlHacb2tpeWV1bT23kd/c2t7ZtQt7DRXGktA6CXkoWx5WlDNB65ppTluRpDjwOG16o6uJ37yjUrFQ3OpxRLsBHgjmM4K1kXp2IUYXqONLTJKHUpo8ltKeXXTKzhRokbgZKUKGWs/+6vRDEgdUaMKxUm3XiXQ3wVIzwmma78SKRpiM8IC2DRU4oKqbTE9P0ZFR+sgPpSmh0VT9PZHgQKlx4JnOAOuhmvcm4n9eO9b+eTdhIoo1FWS2yI850iGa5ID6TFKi+dgQTCQztyIyxCYHbdLKmxDc+ZcXSeOk7J6WKzeVYvUyiyMHB3AIx+DCGVThGmpQBwL38Ayv8GY9WS/Wu/Uxa12yspl9+APr8wdnw5N4</latexit>
x
u= 0 v= 0
z z
32
PROBLEM: In general, the camera coordinate system is not aligned with the
world coordinate system
33
!
Coordinate Systems
Xw X x u
Yw Y y v
Zw Z
34
Coordinate Systems
Xw X x u
Yw Y y v
Zw Z
35
Coordinate Systems
Xw X x u
Yw Y y v
Zw Z
36
37
3D Rotation of Coordinate Systems
CLOCKWISE Rotation around the coordinate axes (left hand):
38
Example
39
Example
40
Example
41
Example
R T
42
Example
Expressed in the
current
First, translate W to C coordinate
system!
43
Example
Expressed in the
First, translate W to C current
coordinate
system!
T
44
Example
45
Example
46
Example
47
Example
48
Example
R T
49
Coordinate Systems
Xw X x u
Yw Y y v
Zw Z
50
P
y Zw
Y x p
X f
Xw
Z T Yw
R O
51