Professional Documents
Culture Documents
Cpe 584 Digital Image Processing: Geometric Operations
Cpe 584 Digital Image Processing: Geometric Operations
Geometric Operations
Part II
= u v cos( (u ,v ))
M M M M M
M M
a u un [1] un [2] L un [m] v[m]
n n
x = x + x0
'
y = y + y0
'
x = Sx x
'
y = Sy y
'
x = cos( ) x sin ( ) y
'
y = sin ( ) x + cos( ) y
'
x = ax + by + c
'
y = d x + ey + f
'
a b c x
d e
f y
0 0 1 1
1 0 x0 x x + x0
0 1
y0 y = y + y0
0 0 1 1 1
S x 0 0 x S x x
0 Sy
0 y = S y y
0 0 1 1 1
1 0 x0 cos( ) sin ( ) 0 1 0 x0 x
0 1
y0 sin ( ) cos( ) 0 0 1 y0 y
0 0 1 0 0 1 0 0 1 1
(B( Av )) = (B A)v
Can composite multiple transformations into
a single matrix.
If
v' = M v
then
1 '
v=M v
So, to invert the transformation, invert the
matrix.