Geometric Transformations
Geometric Transformations
Affine transformations
Forward mapping
Interpolations schemes
A) Geometric transformations permit elimination of the
geometric distortion that occurs when an image is captured.
Geometric distortion may arise because of the lens or because of
the irregular movement of the sensor during image capture.
B) Geometric transformation processing is also essential in
situations where there are distortions inherent in the imaging
process such as remote sensing from aircraft or spacecraft. On
example is an attempt to match remotely sensed images of the
same area taken after one year, when the more recent image was
probably not taken from precisely the same position. To inspect
changes over the year, it is necessary first to execute a geometric
transformation, and then subtract one image to other. We might
also need to register two or more images of the same scene,
obtained from different viewpoints or acquired with different
instruments. Image registration matches up the features that are
common to two or more images. Registration also finds
applications in medical imaging.
x x’
Suppose that the true
position of a pixel is
(x,y) and the distorted
position is (x’,y’)
(x,y) = T{(v,w)}
affine transformation
t11 t12 0
[ x y 1] [v w1]t 21 t 22 0
t 31 t 32 1
Figure shows a hierarchy of planar
transformations which are important to
computer vision
Translation
x’=x+5 ; 1 0 0
x' y' 1 0 1 0x y 1
y’=y+3 Tx 5 Ty 3 1
The treatment of elements near image edges varies with implementation.
Translation is used to improve visualization of an image, but also has a
role as a preprocessor in applications where registration of two or more
images is required.
Since the dimensions of the input image are well defined, the output
image is also a discrete space of finite dimension. If the new coordinates
x’,y’ are outside the image, the translate operator will normally ignore
them, although, in some implementations, it may link the higher
coordinate points with the lower ones so as to wrap the result around
back onto the visible space of the image. Most implementations fill the
Translation Guidelines for Use
The translate operator takes two arguments,
Bx,By, which specify the desired horizontal
and vertical pixel displacements, respectively.
For example, consider the artificial image in
which the subject's center lies in the center of
the 300×300 pixel image. We can naively
translate the subject into the lower, right
corner of the image by defining a mapping
(i.e. a set of values) for (Bx,By) which will
take the subject's center from its present
position at x=150,y=150 to an output position
of x=300,y=300 , as shown in the second
image
Translation Guidelines for Use
10
20
1
16
Forward mapping
• Transformed pixel coordinates might not lie within the
bounds of the image.
• Transformed pixel coordinates can be non-integer.
• There might be no pixels in the input image that map to
certain pixel locations in the transformed image
No one-to-one
correspondence!
Forward mapping (cont’)