2 IMAGE RECTIFICATION
The perspective transformation associated to image
formation, distorts certain geometric properties, such
as length, angle and area ratios. Due to this fact, the
employment of video or image sequences in traffic
surveillance is challenging, in particular for the task
of vehicle velocity estimation. However, this prob-
lem can be solved by using rectified images that re-
store the lost geometric properties to the images of
the monotorized scenario. A rectified image can be
attained by estimating a homographic transformation.
This estimation could be acquired by using the intrin-
sic and extrinsic camera parameters. Unfortunately,
the surveillance cameras are uncalibrated and there-
fore, these parameters are unknown. Consequently,
several methods have been developedin order to auto-
matically restore geometric propertiesto objects mov-
ing on a ground plane. Namely, D. Dailey (Dailey and
Cathey, 2005) presents a method that estimates the lo-
cation of one vanishing point in order to calibrate the
surveillance camera and achieve the required images.
However, this method presupposes the knowledge of
one of the angles of orientation of the surveillance
camera, and therefore cannot be applied to all surveil-
lance systems. On the other hand, in (Schoepflin
and Dailey, 2003), associated with T. Schoepflin, D.
Dailey presents a method that requires the estimation
of two vanishing points from lines that are parallel
and orthogonal to the road. This method estimates
the camera orientation and focal length, though the
height at which it is located is not automatically es-
timated. L. Grammatikopoulos, G. E. Karras and E.
Petsa in (Lazaros Grammatikopoulos, 2002), present
a method to measure vehicle speed using rectified im-
ages. This approach determines one vanishing point
and requires the knowledge of one known length one
the ground plane. Nevertheless, this method does not
rectify images from cameras that aren’t aligned ac-
cordingly to an axis parallel to the direction of mo-
tion. On the other hand, B. Bose and E. Grimson in
(Bose and Grimson, 2003), present a method similar
to the method employed in this study. The method
proposed by Bose and Grimson achieves metric rec-
tification of the ground plane by tracking two objects
that travel with constant and possibly unequal speed.
In this paper, a method presented by D. Liebowitz
and A. Zisserman (Liebowitz and Zisserman, 1998) is
successfully employed in the rectification of images.
This technique requires the estimation of two van-
ishing points and the prior knowledge of two angles
on the ground plane. Given the nature of a roadway
structure, i.e. the large amount of parallel and perpen-
dicular lines, these parameters can be easily obtained.
In a general manner, this method estimates the pro-
jective transformation by establishing three matrices
or transformations.
H = H
s
.H
a
.H
p
(1)
where H
s
represents the similarity transformation,
H
a
the affine and H
p
the pure projective transforma-
tion. Each one of these transformations is responsible
for the reinstatement of certain geometric and met-
ric properties and can be achieved using known pa-
rameters on the image and ground planes. Namely,
the pure projective transformation is responsible for
restoring line parallelism and area ratios to the sce-
nario. This transformation can be easily acquired
by estimating the homogeneous representation of the
vanishing line. Once known the location of two van-
ishing points, this representation is quite straightfor-
ward, as can be seen in the following equation:
l =
l
1
l
2
l
3
= v
1
x v
2
(2)
where l is the homogeneous representation of the
vanishing line and v
1
and v
2
the vanishing points that
are represented on the upper left box in Figure 1.
Figure 1: Stages of the rectification process.
Therefore, the pure projective transformation can
be represented by the following matrix:
H
p
=
1 0 0
0 1 0
l
1
l
2
l
3
(3)
where H
p
represents the referred pure projective
transformation. Hence, a correct estimation of this
transformation relies on the accurateness of the loca-
tion of the vanishing points. These are obtained by
applying the Hough transform to edges extracted from
the imaged highway lanes and to edges identified on
the foreground image.
VISAPP 2008 - International Conference on Computer Vision Theory and Applications
552