results (99%), but the experiment was mostly centred
on the detection of signs in video sequences. The
recognition rate reported in (Kim et al., 2006) is also
99%, tested with 107 images, but only 10 sign types
were considered. Another system combining detec-
tion and classification, based on template matching,
is described in (Vavilin and Kang, 2006), with an av-
erage detection rate of 97.7% and a recognition rate
of 91.3% reported (for 172 signs), but the number of
sign types used is unclear.
The purpose of this work is to present an alternative
method for the automatic recognition of road signs
identified in digital images, assuming that the approx-
imate location of the sign in the image is known. The
manuscript is organized as follows: in section 2 the
proposed methodology for road sign recognition is
presented, in section 3 the experimental evaluation
strategy is described, section 4 presents the results,
and section 5 the conclusions.
2 METHODS
The road sign recognition method developed works
in three stages: (1) pre-processing, (2) feature extrac-
tion, (3) classification. The system accepts as an input
a RGB image of any size, and returns the sign type,
from a pre-defined set of types. Although the input
image can be of any size, it is expected that the mar-
gins are not too large.
2.1 Pre-processing
The aim of the pre-processing stage is to select the
area of the input image that actually contains the road
sign. The RGB (Red Green Blue) input image (I
in
) is
converted to the HSI (Hue Saturation Intensity) color
model. A thresholding segmentation is performed to
identify the areas of red and blue in the image. A
binary image for red (B
red
) is produced from pixels
with H ∈ ([0.00, 0.10[∪]0.80, 1.00])∩S∈ [0.30, 1.00],
and a binary image for blue (B
blue
) is produced from
pixels with H ∈]0.57, 0.70[∩S ∈]0.25, 0.65] ∩ I ∈
[0.13, 0.60[. Both binary images are subjected to
a filtering process to remove small objects and
irregularities due to mixed pixels and noise. First a
3 by 3 median filter is applied, which removes all
small isolated objects in the binary images. Then two
morphological filters are used to further smooth the
object edges and remove non-isolated small objects:
an erosion with a 2x2 square structuring element, and
a dilation with a diamond shaped structuring element
(Gonzalez and Woods, 2008). All remaining small
objects (less than 40 pixels) are removed from the
binary images.
After this processing step, only the largest object and
all other objects that are at least 60% of its size are
retained from each binary image (B
red
and B
blue
).
The interior of the remaining objects are then filled,
and the two binary images combined. The binary
image (B
s
) with only the object of interest (the road
sign) is obtained by selecting the largest object of
the two processed binary images B
red
and B
blue
. A
sub-section of the RGB image is then obtained using
the minimum enclosing rectangle of the object in B
s
.
The binary image B
s
is used to mask out the pixels
that do not belong to the road sign, resulting in a
RGB image I
s
where only the pixels belonging to the
road sign have non zero values. Examples of such
images are presented in grey scale in figure 1.
Figure 1: Examples of binary component extraction for
red, blue and black, from the RGB color images (here in
greyscale) obtained after the pre-processing stage.
2.2 Feature Extraction
The features that characterize the observed object
(road sign) are obtained from the red, blue and black
components of the RGB color image I
s
. The same
criteria described in section 2.1 is used for the ex-
traction of the red and blue binary image compo-
nents. The binary image for black (B
black
) is obtained
from pixels with H ∈ ([0.00, 0.10[∪]0.69, 0.90]) ∩I ∈
[0, 0.25]∩S ∈ [0, 0.35[. The implementation was done
in a way that each pixel can only belong to a binary
image, with priority for red, then blue, and black last.
Examples of the red, blue and black binary compo-
nent extraction are presented in figure 1.
IMAGAPP 2009 - International Conference on Imaging Theory and Applications
130