You are on page 1of 24

Classification of Image Operations

0 One way of classification is


Point
Local and
Global

14/8/17 2
Classification

14/8/17 3
Image Vs Array Operations

14/8/17 4
Arithmetic operations -
Addition

14/8/17 5
14/8/17 6
Image Subtraction

14/8/17 7
14/8/17 8
Image Multiplication

14/8/17 9
Image Division

14/8/17 10
Image Division

14/8/17 11
Logical Operations

14/8/17 12
XOR

14/8/17 13
NOT Operation

14/8/17 14
Image translation
0 Moves a point to a new location by adding translation
amounts to the coordinates of the point.

14/8/17 15
2D Scaling
0 Changes the size of the object by multiplying the
coordinates of the points by scaling factors.

or or
14/8/17 16
2D Scaling (cont’d)
0 Uniform vs non-uniform scaling

0 Effect of scale factors:

14/8/17 17
2D Rotation
0 Rotates points by an angle θ about origin
(θ >0: counterclockwise rotation)

• From ABP triangle:

C B
A • From ACP’ triangle:

14/8/17 18
2D Rotation (cont’d)
0 From the above equations we have:

or

or

14/8/17 19
Image Transformation contd.
0
Problem
0 Find the coordinates of the vertices of the image of
pentagon ABCDE with A(2,4), B(4,3), C(4,0),
D(2,−1) and  E(0,2) after a reflection across the y -axis.
Shearing
0
Composite Transformations or
concatenation of transformations
0 You can concatenate several transforms into one matrix
A = R(S(Sh(T )))
rotate
scale
shear
translate
Problem
0 Consider an image point (2, 2). The following transformations
need to be performed:
1) Translate right by 3 units
2) Scale x- and y- axes by 3.
Determine the composite transformation matrix and the final
location of the image point.
Determine if change in order of transformations affects the final
image point location.

You might also like