
TIME-WEIGHTED EVALUATION OF IMAGE SEGMENTATION
WITH A GENETIC ALGORITHM
Hassan Almuhairi, Martin Fleury and Adrian F. Clark
University of Essex, U.K.
Keywords:
Image segmentation, Genetic algorithm, Quantitative evaluation.
Abstract:
The performance of a segmentation algorithm can be evaluated by systematic comparison with hand-
segmented ground-truth images. When evaluation extends over an algorithm’s parameter space, then the search
for satisfactory settings has a considerable cost in time. This paper considers applying a genetic algorithm
(GA) to avoid an exhaustive search. To further reduce evaluation time and subsequent image batch-processing
times, this paper introduces a time factor into the GA cost function. This procedure while preserving the GA
solution, selection of parameters to minimize the fit to hand-segmented images, also improves interpretation
and parameter selection.
1 INTRODUCTION
Contrasting image segmentation to recognition tasks
such as the use of handwriting, and face databases, the
authors of (Martin et al., 2001) remark “Typically [in
segmentation] researchers will show their results on a
few images and point out why the results ‘look good”.
Part of the problem may be the logistics of quantita-
tive evaluation in performing a large number of eval-
uations, as an exhaustive search with multiple param-
eter settings is an onerous task and may require use of
a cluster computer. Alternatively, we have used a ge-
netic algorithm (GA) (Goldberg, 1989) search mod-
ule in our evaluation environment to decrease the pro-
cessing time for the search as a whole.
The GA acts to optimize the selection of parame-
ters. The contribution of this paper is adding the time
taken to complete the segmentation for each parame-
ter set as a factor in the GA cost function. The ratio-
nale behind this addition is that the quality of the seg-
mentation results is not the only value one would like
to improve, as there is also a need to balance the qual-
ity with the segmentation processing time. Adding
this time factor gave some insight into the significance
of some of the algorithm parameters not only in re-
spect to the processing time performance but also to
the quality of the segmentation performance. For in-
stance, while experimenting without using the time
factor, the GA module will randomly vary certain pa-
rameters that actually do not affect the overall quality
of the segmentation, once optimization of the signifi-
cant parameters for the algorithm has taken place.
2 ADDING TIME AS A FACTOR
The mean-shift algorithm (Comaniciu and Meer,
2002) makes a convenient example, especially as
the authors have made EDISON code available at
http://www.caip.rutgers.edu/riul/research/robust.html,
for which we are grateful. The Berkeley database
(Martin et al., 2001) encourages users to download
benchmarking code as well as 200 training images
and a further 100 test images of size 240 × 160
pixels. Fig 1a is a test image from the Berkeley
database, Fig 1b is an example hand-segmentation
also included in the database. Fig. 1c shows the
result of varying the mean-shift parameters. Higher
values of radiusR results in less regions, while
higher values of radiusS effectively results in more
computation but smoother region boundaries.
Adding processing time to the cost function can
take place in various ways such as through an additive
or multiplicative factor. Using a multiplicative fac-
tor provides a trade-off between segmentation evalua-
tion and computational time, and, therefore, after ini-
tial investigations, the cost function was modified in
this way. It was decided that including a time factor
as an exponential weighting gave too much emphasis
to achieving low processing times. The time that the
GA itself took for processing was not included, as this
time was negligible and certainly less than 5% of any
153
Almuhairi H., Fleury M. and F. Clark A. (2010).
TIME-WEIGHTED EVALUATION OF IMAGE SEGMENTATION WITH A GENETIC ALGORITHM.
In Proceedings of the International Conference on Computer Vision Theory and Applications, pages 153-156
DOI: 10.5220/0002822101530156
Copyright
c
SciTePress