GPS data follows the National Marine
Electronics Association (NMEA) (NMEA 2007),
based on several messages that contain different
information. The PDA stores data from the different
messages till there is validated information to form a
string that will be sent to the PC. Validation is based
on the number of satellites available, the information
stored belongs to the same time and all the fields are
filled with no null data. There, data is checked so no
data is lost in the transmission.
From the whole information that can be taken
from the GPS messages, speed, course and time are
the ones used in the tracking stage and speed also in
the warning stage.
3 ROAD SIGN DETECTION
In the detection stage, the system uses normalized
correlation to find the possible road signs. This
technique needs models of the road signs to correlate
in an adequate image Fig. 4. This image is converted
to greyscale through enhancement of the red color of
the road signs to obtain a greyscale image (pure red
is given the value 255=white, and absence of red is
given the value 0=black). On this image, it will be
possible to find the shape of the road sign as seen in
Fig. 1.
Figure 4: A) RGB image. B) Greyscale image after
enhancement operation. C) Samples of models used in
correlation over iamge B).
Danger, yield and prohibition road signs are red
bordered, but due to aging, weather conditions or
shadows, these borders may be not as red as they
should. A data base of borders under real conditions
has been used to model the behaviour of the color
borders under sun or shadow, and the spectra of
building bricks has been included, to study the
possibility of avoiding them from appearing in the
greyscale image. If in it there are only pixels
belonging to the road signs, it is easier to find them
and no confusion between them and bricks occur.
To achieve this goal, several images containing
road signs have been stored. They have been
separated into two groups: road signs under sun and
under shadow. The reason is that the red color under
shadows changes considerably, enlarging its spectra
to blue and green. So it is better to study sun and
shadow effects separately.
Although this separation is arbitrary in uncertain
cases, it will be proved that does not affect the final
results of the study.
Conversion from RGB to HSL is then applied in
order to decrease the effect of illumination changes
in the road signs. Once they have been converted,
the borders are manually cut off in order to work
only with them. After this operation, for each pixel
of the border, a statistical study of its H and S
component values was performed Fig.5 and 6.
Enhancement is then solved in two ways: using
the information of the components H and S together
and using H and S separately.
The same work was done in the case of bricks,
cutting of walls of red brick buildings in order to
have a considerable data base of them for the
experiments.
In the case of the two components, Hue and
Saturation are used to obtain the probability of a
pixel belonging to a pair (H, S). Fig. 5 shows the
regions where borders under shadows, sun, and the
case of bricks can be found. The experiment has
been done under the premise that every border has to
be found, so low probability H, S cases are also
included. Results for the case of using H separately
from S are in Fig. 6.
It can be seen in the Fig.5 that the regions
overlap covering in part each other, so it is not
possible to use these regions separately to isolate
borders from bricks.
In the case of using H separately from S (Fig. 6),
it can be seen for saturation, that shadows and bricks
have nearly the same behaviour, while the sun gets it
maximum in mid to mid-high saturation values.
Then, it is not possible to separate bricks and
borders only with this condition. Using only hue,
shadows cover the sun region, and for low hue
values the probability of red is very low while the
one related to bricks is very high, so it behaves as a
filter. Therefore, bricks are not going to get high
grey values (255), part of the bricks are going to be
avoided while no shadow or sun borders are going to
be missed.
VISAPP 2008 - International Conference on Computer Vision Theory and Applications
56