Professional Documents
Culture Documents
Indexing terms: Image processing, Road traffic, Queue parameters, Real-time measurement
Introduction
In recent years the application of image processing techniques in automatic traffic monitoring and control has
been investigated by several researchers [l-41. The major
problem concerning any practical image processing
application to road traffic is the fact that the real-world
images are to be processed in real-time. In a real-world
road-traffic scene, the variation of lighting conditions, different shape or size of vehicles, scene geometry, occlusion
and uncontrollable motions make serious difficulties to
measure different parameters. Real-time image processing
is not easily achievable, particularly when the algorithms
are complex, unless special hardware is used.
Current efforts of image processing applied to traffic
can be divided into quantitative and qualitative analysis.
Most of the reported projects were concentrated on
quantitative analysis to measure simple parameters such
as vehicle counts etc. The qualitative analysis, which is
0IEE, 1995
Paper 2064K (E4), first received 30th August 1994 and in revised form
24th April 1995
M. Fathy is with the Dept. of Computer Engineering, Iran University of
Science & Technology, Tehran, Iran
M.Y.Siyal is with the School of EEE, Nanyang Technological University, Nanyang Avenue, Singapore 2263
IEE Proc.-Vis. Image Signal Process., Vol. 142, N o . 5 , October 1995
A simple method for motion detection is based on differencing two consecutive frames and applying noise
removal operators. In this method the histogram of the
key region parts of the frames are analysed by comparing
with a threshold value to detect the motion. To reduce
the amount of data and to eliminate the effects of minor
motions of the camera, the key region has to be at least a
3-pixel-wide profile of the image along the road. In this
method, a median filtering operation is firstly applied to
the key region (profile) if each frame and a one-pixel-wide
profile is extracted. Then the difference of two profiles is
compared to detect for motion. This process is shown in
Fig. 3.
frame 1
Fig. 1
frame 2
!.
median filter
Dif=profileI - profile 0
Fig. 3
Fig. 2
-%0
150
> 125
EOI
100
75
25
01
Fig. 4
20
40
60
80
100
pixel p o s i t i o n
120
140
2 50
225
2 00
175
0,
3 150
$ 1 25
L
01
100
75
75
~
20
40
60
80
100
120
140
pixel position
Fig. 7
01
0
Fig. 5
40
20
60
80
100
p i x e l position
120
140
22 5
2 150
200
175
pi
m
=2
I'5
100
>
75
$125
cn
100
2
5
75
'0
50
25
20
40
60
80
100
120
140
pixel p o s i t i o n
Fig. 8
250
20
40
60
80
100
pixel p o s i t i o n
120
1AO
22 5
200
175
'P
aJ
150
$125
cn
100
75
50
25
20
40
60
80
pixel position
100
120
140
299
-YlYO
-2lYOJ
a2 1
;;; =[;:I
12
I(
grey value
Following the application of the motion detection operation, a vehicle detection operation is applied on the
profile of the unprocessed image. Many algorithms have
been developed by various researchers for vehicle detection. To implement the algorithm in real-time, two strategies are often applied: key region processing and simple
algorithms. Most of the vehicle detection algorithms
developed so far are based on a background differencing
technique. However, this method is sensitive to the variations of ambient lighting and it is not suitable for realworld applications.
The method used here is based on applying edge
detector operators to a profile of the image. Edges are
less sensitive to the variation of ambient lighting and
have been used for detecting objects in full frame applications. The method used here is based on applying an
edge detector, consisting of separable median filtering
and morphological operators, SMED (separable
morphological edge detector) [S, S] to the key regions of
the image. The SMED edge detection has shown to have
a low computational cost and is less sensitive to noise,
compared with many other edge detectors. In this vehicle
detection approach, the SMED is applied to each subprofile of the image and the histogram of each sub-profile
is processed by selecting dynamic left-limit value and a
threshold value to detect vehicles.
The left-limit selection program selects a grey value
from the histogram of the window, where there are
300
0
0 25
50
75
grey value
Fig. 11
0 25 50
75
grey value
Fig. 12
The main queue parameters we were interested in identifying were the length of the queue, the period of
occurrence and the slope of the occurrence of the queue
behind the traffc lights. To measure these parameters on
a desired road, the program works in such a way that
after each 10 seconds, the presence of the queue and its
length is reported. To implement the algorithm in realtime, it was decided that the vehicle detection operation
should only be used in a sub-profile where we expect the
queue will be extended (tail of the queue). This procedure
is shown in Fig. 15.
200
175
150
125
100
75
50
25
20
40
60
80
100
120 140
200
175
150
125
100
75
Fig. 15
vehicle detection
motion detection
Fig. 16
Fig. 18
Fig. 17
Fig. 19
40
3
J 20
U
1
'0
200
400
600
800
1000
1200
1400
1600
1800
2000
2200
time, s
Fig. 20
computer
302
- - - - - - - operator
I E E Proc.-Vis. Image Signal Process., Vol. 142, No. 5 , October 1995
-8U 400
.-
II
J
.+
300
& 200
D
100
Fig. 21
snow
rainy
foggy
sunny
weather conditions
clear
manual
0 computer
Conclusions
References
4
5
6
7
8
9
on
Automation,
Robotics
and
Computer
Vision
303