Professional Documents
Culture Documents
A High Efficient System For Traffic Mean Speed Estimation From MPEG Video (10.1109@AICI.2009.358)
A High Efficient System For Traffic Mean Speed Estimation From MPEG Video (10.1109@AICI.2009.358)
A High Efcient System For Trafc Mean Speed Estimation from MPEG Video
Fu Yuan Hu
Department of Electronics & Informatics
Suzhou University of Science and Technology
Suzhou City, Jiangsu Prov.,P.R.China
Email: fuyuanhu@gmail.com
Xing Fa Dong
Department of Electronics & Informatics
Suzhou University of Science and Technology
Suzhou City, Jiangsu Prov.,P.R.China
Email: dongxfa@mail.usts.edu.cn
Jian Wang
Department of Electronics & Informatics
Suzhou University of Science and Technology
Suzhou City, Jiangsu Prov.,P.R.China
Email: wanjiansuzhou@sina.com
I. INTRODUCTION
Nowadays trafc analysis is one of the challenging societal and economical problems related to transportation in
industrialized countries. The last few years have seen a
growing interest in intelligent transportation systems (ITS).
Within ITS system trafc surveillance/measurement systems
(TMS) are gaining interest within the research community
as well industrial and governmental institutions. Trafc surveillance systems must quickly provide (to trafc managers
and drivers) information, such as vehicle speed and density.
Apart from real-time operations, trafc data is also used as
an important source of information for long-term planning
and trafc management activities.
Vehicle speed is a fundamental trafc information that
is essential to both macroscopic and microscopic trafc
analysis [6]. The current state-of-art in speed measurement
technologies include the use of magnetic inductive loop
detectors, magnetic strips, laser sensors, etc..., Recently
vision-based approaches have been also used. Compared
with other non-intrusive TMS, vision-based trafc measurement systems (VTMS) has a lot of advantages, including
portability, easy installation and operation, rich information
978-0-7695-3816-7/09 $26.00 2009 IEEE
DOI 10.1109/AICI.2009.358
Hichem Sahli
Department of Electronics & Informatics
Vrije Universiteit Brussel (VUB)
Brussel, Belgium
Email: hsahli@etro.vub.ac.be
444
motion vector smoothing. Using motion vectors, other authors proposed methods for trafc analysis methods using
stochastic processes models [3], [7], neuronal networks [?],
and deterministic approaches [12]. MPEG parsing and trafc
status classication are being outside the scope of this paper.
For the estimation of the average vehicles speed we
propose using the 3-D vector eld dened on the road
surface, describing the motion of each 3-D point between
two time steps. It can be seen as an extension of the motion
vector or optical ow to 3-D, being the projection of the
3-D scene ow onto the images, resulting in a 2-D vector
eld.
The remainder of the paper is organized as follows. In
Section II, we describe the proposed approach. Section III
presents the camera calibration strategy, Section IV denes
the trafc mean estimation, section V illustrates some experimental results, and nally section VI gives some conclusions
and future work.
Figure 1.
y =
L1 X + L2Y + L3
L7 X + L8Y + 1
L4 X + L5Y + L6
L7 Xw + L8Yw + 1
(1)
(2)
B. 2D to 3D Transformation
Before discussing the trafc mean speed estimation, we
need to dene the notation for the camera projection parameters, 3D scene velocity and 2D image velocity. MPEG
motion vectors, or optical ow, typically estimates 2D pixel
motion, but when combined with known depth information
can yield estimates of 3D pixel velocity. The 2D ow or motion vector at pixel (block) (x, y) in an image can be written
as
M(x, y) = (u, v), and the motion magnitude MV (x, y) =
(u2 + v2 ). The corresponding 3D velocity of the pixel
(block) in 3D space is denoted as E(X,Y, Z) = (U,V,W ). In
our the following we dene both the relationship between a
point (X,Y, Z) in the 3D space and its projection (x, y), and
the relationship between M and E.
Figure 2.
445
dt
t
dY
Y2 Y1
V =
dt
t
with (X1 ,Y1 ) and (X2 ,Y2 ) are two positions of a vehicle at
two successive times. Using Eq( 1) and Eq( 2), and some
manipulation we get the 3D velocity as function of the 2D
ow (u, v):
U
U
(L 4 x + L 5 y + L 6 )2
V
(L 4 x + L 5 y + L 6 )2
(3)
(4)
with:
U = (L 1 u + L 2 v)(
L 4 x + L 5 y + L 6 ) (L 4 u + L 5 v)(
L 1 x + L 2 y + L 3 )
V = (L 7 u + L 8 v)(
L 4 x + L 5 y + L 6 ) (L 4 u + L 5 v)(
L 7 x + L 8 y + L 9 )
where (u,
v)
= FrameRate(u, v) and the parameters L j , j =
1 9 are function of the projection parameters Li , i = 1 8
in Eq( 1) and Eq( 2).
Figure 3. Motion Vectors Filtering, First row: frame 12 and frame 299;
Second row: MPEG motion vectors; Third row: smoothed motion vectors
Figure 4.
Road Extraction
446
(a)
(b)
(a)
Figure 6.
(b)
(a)
(b)
(c)
(d)
(c)
V. E XPERIMENTAL R ESULTS
Here we test the results of vehicle speed estimation using
real video in Belgium. We estimate 3D speed using motion
vectors after we remove noise. Due to noise, it affect the
accuracy of mean vehicle speed, which has been shown in
Fig. 6. Even there is no vehicles, the speed is not equal
to zero in Fig. 6. Subsequently, we compute the 3D mean
speed in given region and the corresponding parameters after
ltering.
First of all, we show the results in given region for motion
vectors. From the Fig. 7, we know that the average speed
is 28.4117m/s, 28.4277m/s,26.2403m/s and 15.7060m/s,
respectively. Despite that the distance between the car and
the camera is becoming shorter, the estimated speed for the
VI. C ONCLUSION
In this paper, we present a vision-based trafc measurement system, using MPEG Motion Vectors. The proposed
approach allows automatic trafc ow segmentation, camera
calibration and trafc information estimation such as average
vehicles speed. The approach is robust and cost-effective.
Further work would be the assessment of the estimation
447
[5] X.C. He and N. H.C. Yung. A novel algorithm for estimating vehicle speed from two consecutive images. In IEEE
Workshop on Applications of Computer Vision, pages 1212,
2007.
Ratio
0.3
0.2
0.1
0
500
1000
1500
[6] S.P. Hoogendoorn and P.H.L. Bovy. State-of-the-art of vehicular trafc ow modelling. Journal of Systems and Control
Engineering, 215(4):283303, 2001.
Frame Number
(a)
Mean Speed of Vehicle
Speed
150
100
50
0
500
1000
1500
Frame Number
(b)
Figure 8. Vehicles Mean Speed (a) Motion pixel ratio in the given region
(b) Vehicles mean speed in the given region.
30
25
20
15
10
Figure 9.
20
40
60
80
The estimated speed(m/s)
100
120
[12] Hans Bokma Willem Jan Knibbe, Arne Oostveen and Daisy
Poot-Geers. A new incident detection scheme developed in
the netherlands. Proceeding of the 8th International IEEE
conference on Intelligent Transportation Systems, 2005.
R EFERENCES
[16] X. Yu, P. Xue, L. Duan, and Q. Tian. An algorithm to estimate
mean vehicle speed from mpeg skycam video. Multimed Tools
Appl, (34):85105, 2007.
[1] Sandeep Singh Shamik Sural Ashwani Aggarwal, Susmit Biswas and A.K. Majumdar. Object tracking using background subtraction and motion estimation in mpeg videos.
Lecture Notes in Computer Science, 2006.
448