Professional Documents
Culture Documents
Environment
1
Thou-Ho (Chao-Ho) Chen1, Jun-Liang Chen2, Chin-Hsing Chen2 and Chao-Ming Chang3
Department of Electronic Engineering, National Kaohsiung University of Applied Sciences,
Kaohsiung, Taiwan, R.O.C.
2
Institute of Computer and Communication Engineering, National Cheng Kung University,
Tainan, Taiwan, R.O.C.
3
Huper Laboratories Co., Taipei, Taiwan, R.O.C.
1
thouho@cc.kuas.edu.tw, 2q3895122@mail.ncku.edu.tw
Abstract
This paper is dedicated to detecting and counting
vehicles in dark (nighttime) environment by using
headlight information. The basic idea is to use
variation ratio in color space to detect the groundillumination resulted from the head-lighting of vehicle.
Then, headlight classification provides the headlight
information for determining the moving-object region
and compensating pixels, which are wrongly classified
as ground-illumination, back to the object mask.
Besides, shadow is possibly detected by prediction
rules and then excluded for deriving better results of
vehicle segmentation and counting. Experimental
results show that the proposed algorithm can detect
vehicles and reduce both effects of ground-illumination
and shadow. In the normal condition (non-crowding),
the average accuracy can be raised near to 90%.
2. Methodology
1. Introduction
Owing to the fast development of segmentation
technology in recent years, the intelligent
transportation by computer vision will become more
and more practicable. Traffic monitoring is important,
especially in the dark environment, since many traffic
problems come into existence, such as traffic jam and
traffic accident, etc. When driving in the dark
environment, drivers normally turn on the headlights to
obtain a clear vision on the road. These headlamps
produce illumination on the ground and this region will
be classified as moving object though it should belong
to background in fact. Ground-illumination deeply
decreases the accuracy of object segmentation and
makes the segmentation in the dark environment to be
difficult.
Rmean
Rback ( x, y )
OM i ( x , y ) 0
, Gmean
OM i ( x , y ) 0
Bmean
OM i ( x , y ) 0
Bback ( x, y )
OM i ( x , y ) 0
(1)
OM i ( x , y ) 0
Rc
; Gratio
Rback
Gc
; Bratio
Gback
Bc
Bback
Ground illumination
(4-a)
Ground illumination
(4-b)
Ground illumination
(4-c)
Ground illumination
(4-d)
where I diff I c I back , I c is the intensity value of
Gback ( x, y )
OM i ( x , y ) 0
Rratio
(2)
White Headlight
(6)
After the detection we can acquire the initial
headlight information, but in some situation like too
bright ground-illumination may lead to error detection.
For this reason we add some rules to distinguish the
headlights from the errors and further classify car and
bike lamps.
Each car has a pair of headlights while each bike has
only one. The center point of the light stands for whole
mass for convenience. First, for the car the slope of the
two headlight points must be small (in our method, we
set the slope to 0.2). Moreover, pixels on the line
segment between two points of a car should all belong
Car
headlight
headlight
3. Experimental results
[OM
(1
[OM
seg
( x, y ) OM ref ( x, y )]
seg
( x, y ) OM ref ( x, y )]
( x, y )
) u 100%
(7)
6
8
11
( x, y)
OM seg ( x, y )
is
where
OM ref ( x, y )
Im provement
where
errorinitial
errorinitial errorfinal
errorinitial
[OM
initial
) u 100% ,
( x, y ) OM ref ( x, y )]
(8)
( x, y )
errorfinal
[OM
final
( x, y ) OM ref ( x, y )]
( x, y )
(a)
(b)
(c)
(d)
Count
Error
Positive
6
0
7
1
11
1
Average
Error
Negative
0
0
1
Accuracy
(%)
100%
87.5%
81.8%
89.8%
4. Conclusions
In this paper we propose a method by exploiting the
characteristics of color variation and headlight
information to implement the vehicle segmentation in
the nighttime traffic scenes. Ground-illumination is
roughly eliminated from the initial object mask to
obtain a more acceptable result. Besides, the headlight
information is utilized to achieve vehicle-flow
counting instead of using a whole vehicle body.
Experimental results reveal that vehicles can be
detected when drivers normally turn on the headlights
in the dark environment under a moderate vehicle-flow
condition.
5. References
[1] R.Cucchiara and M. Piccardi, Vehicle detection under
day and night illumination, in Proc. ISCS-IIA99, Genoa,
Italy, June 1999, pp. 789-794.
[2] Rita Cucchiara, Massimo Piccardi and Paola Mello,
Image Analysis and Rule-Based Reasoning for a Traffic
Monitoring System, IEEE Transactions on Intelligent
Transportation Systems, vol. 1, no. 2, June 2000.
[3] Urban Meis, Wemer Ritter and Heiko Neumann,
Detection and Classification of Obstacles in Night
Vision Traffic Scenes based on Infrared Imagery, IEEE
International Conference on Intelligent Transportation
Systems, Shanghai, pp. 1140-1145, Oct. 2003.
[4] Thou-Ho (Chao-Ho) Chen, Yung-Chuen Chiou, MingKun Wu and Yi-Fan Li, An Efficient Video
Segmentation Algorithm Using Change Detection and
Background Updating Technique, International
Conference on Systems and Signals (ICSS), 2005.
[5] Sohail Nadimi and Bir Bhanu, Moving Shadow
Detection Using a Physics-based Approach, in
Proceedings of the 16th IEEE International Conference
on Pattern Recognition, pp. 701-704, August 2002.
[6] A. Cavallaro, E. Salvador and T. Ebrahimi, Shadowaware Object-based Video Processing, IEE Vision,
Image and Signal Processing, vol. 152, issue 4, pp. 14-22,
August 2005.