Automatic Circle Detection on Images with an Adaptive Bacterial Foraging Algorithm Sambarta Dasgupta

Arijit Biswas

Swagatam Das

Ajith Abraham

Jadavpur University Kolkata, India

Jadavpur University Kolkata, India [email protected]

Jadavpur University, Kolkata, India

Q2S, NTNU Trondheim, Norway

[email protected]

[email protected]

[email protected]

ABSTRACT

2. THE ADAPTIVE BFOA

This article presents an algorithm for the automatic detection of circular shapes from complicated and noisy images. The algorithm is based on a recently developed swarm-intelligence technique, well known as the Bacterial Foraging Optimization (BFO). A new fuzzy objective function has been derived for the edge map of a given image. Minimization of this function with an adaptive version of the BFO algorithm leads to the automatic detection of circles on the image.

The bacterial swarm proceeds through four principal mechanisms, namely chemotaxis, swarming, reproduction and eliminationdispersal. The chemotaxis simulates the movement of an E.coli cell through swimming and tumbling via flagella. Biologically an E.coli bacterium can move in two different ways. It can swim for a period of time in the same direction or it may tumble and alternate between these two modes of operation for the entire

Categories and Subject Descriptors I.2.8 [Artificial Intelligence]: Problem Solving, Control Methods, and Search -- Heuristic methods; G.1.6 [Numerical Analysis]: Optimization -- Global optimization

lifetime. Suppose θ i ( j , k , l ) represents the position of the i-th bacterium at j-th chemotactic, k-th reproductive and l-th elimination-dispersal step. Also, C(i) is the size of the step taken in the random direction specified by the tumble (run length unit). Then in one chemotactic step, the movement of the bacterium may be represented by the following equation:

General Terms Algorithms

Keywords Object recognition, swarm intelligence, bacterial foraging

1. INTRODUCTION Circle and ellipse detection from digital images have received considerable attention over the last few decades in computer vision [1]. Genetic Algorithm (GA) has recently been used for important shape detection task e.g. Roth and Levine proposed use of GA for primitive extraction of images [2]. Lutton et al. carried out a further improvement of the aforementioned method recently [3]. Yao et al p a multi-population GA to detect ellipses [4]. Ayala–Ramirez et al presented a GA based circle detector [5]. Their approach is capable of detecting multiple circles on real images but fails frequently to detect small and imperfect circles. In this work, we use a recently developed swarm intelligence technique, known as the Bacterial Foraging Optimization Algorithm (BFOA) for detecting circles from digital images. We employ the Canny edge detector [6] to generate the edge-map from a gray-scale image. An adaptive version of BFOA is then applied to search the entire edge-map for circular shape. Each bacterium here models a trial circle and a fuzzy objective function has been derived over the domain of such trial circles. The better a test circle approximates the actual edge-circle, the lesser becomes the value of this function. Minimization of the objective function with BFOA ultimately leads to the fast and robust extraction of circular shapes from the given image. Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. GECCO’08, July 12--16, 2008, Atlanta, Georgia, USA. Copyright 2008 ACM 978-1-60558-131-6/08/07…$5.00.

∆ (i)

θ (i + 1, j, k ) = θ (i + 1, j , k ) + C (i )

(1)

T

∆ (i)∆ (i ) Where ∆ indicates a unit length vector in the random direction. In this work, the chemotactic step size has been made adaptive in the following way:

C=

ψ | J (θ ) | ψ = | J (θ ) | +λ 1 + λ

(2) J (θ )

Here λ and ψ (>1) are positive constants. Dasgupta et al. [7] illustrated that this adaptation scheme helps to avoid the oscillation of the bacterium near optima and accelerates its convergence speed.

3. THE ABFOA BASED FUZZY CIRCLE DETECTION ALGORITHM In this work, to deal with real world images containing incomplete and noisy circles, the set of the points belonging to the circumference of the actual circle has been considered as a fuzzy set and we assign a membership function to each point over the fuzzy set. This membership function depends upon distance of sample point from the central circle of the test band (i.e. circle with radius r0 ). Let µ be the membership function and its value be µ i j for sample point ( x i j , y i j ) . We define membership function as,

µi j = P ( xi j , yi j ) exp( −

j2 2σ 2

).

(3) j

If ( xi j , yi j ) is not an edge-point, we can infer µ i = 0 i.e. a zero membership [Q P( x i j , y i j ) = 0] . Let us consider now the case that ( xi j , yi j )

is

an

edge-point.

Then,

µ i j = exp(−

j2

j

2

) .Clearly µ i = 1 , if j = 0 . Membership is

2σ unity or maximum when sampled edge-point lies on central circle. Now, normalized objective function corresponding to ( x 0 , y 0 , r0 ) for a test circle is defined as following, J ( A , x 0 , y 0 , r0 ) = 1 − 1 ( 2δ + 1) N S

NS

δ

∑ ∑

P ( x i j , y i j ) exp( −

i =1 j = − δ

(4)

j2 2σ

2

)

At this point, we would like to point out that most of the existing genetic algorithm based circle detection methods encode one circle in one chromosome with the coordinates of three edgepoints on that circle. They usually evaluate fitness of the encoded circle by taking several sample points on the test circle and checking their status (whether edge pixel etc). Now two circles can have maximum two points of intersection. Due to digital approximation of the circle the number may be greater than two by small amount but still not large enough to draw a comprehensive inference to guide the search process. To circumvent this limitation, in this work we take a band of circles symmetrically distributed around actual test circle. Sample points are taken on the periphery of each circle and then we test whether they are edge-point or not. So the probability of detecting the circle increases even when the edge pixels are not completely connected. To differentiate between points on actual test circle and that of lying on circle on test band, a membership value is assigned to each sample point. The function is a Gaussian deviate. It reaches the maxima when point is on the central circle of the band and decreases on both sides.

4. EXPERIMENTAL RESULTS Due to space limitations, we provide some results of circle detection by the adaptive BFOA over two test images one natural and one synthetic are illustrated in Figure 1.

5. CONCLUSIONS This paper has presented a novel application of an adaptive version of the BFOA to the task of automatic circle detection from gray images. Also a new fuzzy fitness function was derived specifically for the circle detection task. Our results indicate that the ABFOA outperformed the classical BFOA and GA in terms of the final accuracy and computational speed over all the test images. Since both the algorithms start with the same initial population and use the same fitness function, difference in their performance must be due to the difference in their internal operators. This indicates the effectiveness of the adaptive step height in BFOA for the circle detection problem. Future research may focus on hybridizing ABFOA with different Hough Transform based techniques for automatic shape extraction. Also application of the ABFOA based techniques for automatic shape recognition by mobile robots may also be studied. In future we shall also attempt to compare the performance of our ABFOA based algorithm with other evolutionary computation techniques on the circle detection problem quantitatively.

(a) Synthetic image with salt and pepper noise

(b) Natural image Figure 1. Results of ABFOA based circle detection (Detected Circles are marked in red).

6. REFERENCES [1] Davies, E. R.: Machine Vision: Theory, Algorithms, Practicalities, Academic Press, London, 1990. [2] Roth, G. and Levine, M. D.: Geometric primitive extraction using a genetic algorithm. IEEE Trans. Pattern Anal. Machine Intell. 16 (9), 901–905, 1994. [3] Lutton, E., Martinez, P.: A genetic algorithm for the detection 2-D geometric primitives on images. In: Proc. of the 12th Int. Conf. on Pattern Recognition (ICPR_94), vol. 1, Jerusalem, Israel, pp. 526–528, 1994. [4] Yao, J., Kharma, N., and Grogono, P.: Fast robust GA-based ellipse detection. In: Proc. 17th Int. Conf. on Pattern Recognition ICPR-04, vol. 2, Cambridge, UK, pp. 859–862, 2004. [5] Ayala-Ramirez, V., Garcia-Capulin, C. H., Perez-Garcia, A., and Sanchez-Yanez, R. E.: Circle detection on images using genetic algorithms, Pattern Recognition Letters, 27, 652– 657, 2006. [6] Canny, J., A Computational Approach to Edge Detection, IEEE Trans. Pattern Analysis and Machine Intelligence, 8, 679-714, 1986. [7] Dasgupta, S., Biswas, A., Abraham, A., and Das, S.: Adaptive Computational Chemotaxis in Bacterial Foraging Optimization: An analysis,CISIS-2008, Barcelona, Spain. IEEE Computer Society Press, pp. 64-71, 2008.

Automatic Circle Detection on Images with an Adaptive ...

test circle approximates the actual edge-circle, the lesser becomes the value of this ... otherwise, or republish, to post on servers or to redistribute to lists, requires prior ... performance of our ABFOA based algorithm with other evolutionary ...

86KB Sizes 1 Downloads 291 Views

Recommend Documents

Automatic Circle Detection on Images with an Adaptive ...
ABSTRACT. This article presents an algorithm for the automatic detection of circular shapes from complicated and noisy images. The algorithm is based on a ...

Automatic Circle Detection on Images with an ... - Ajith Abraham
algorithm is based on a recently developed swarm-intelligence technique, well ... I.2.8 [Artificial Intelligence]: Problem Solving, Control Methods, and Search ...

An Adaptive Fusion Algorithm for Spam Detection
An email spam is defined as an unsolicited ... to filter harmful information, for example, false information in email .... with the champion solutions of the cor-.

An Adaptive Fusion Algorithm for Spam Detection
adaptive fusion algorithm for spam detection offers a general content- based approach. The method can be applied to non-email spam detection tasks with little ..... Table 2. The (1-AUC) percent scores of our adaptive fusion algorithm AFSD and other f

change detection with synthetic aperture radar images ...
for the change detection application. ... direct application of optical-based change detection methods ... 2, we develop a novel Wilcoxon statistic likelihood ratio.

AUTOMATIC REGISTRATION OF SAR AND OPTICAL IMAGES ...
... for scientific analysis. GIS application development, nonetheless, inevitably depends on a ... solutions, traditional approaches may broadly be characterized as.

Adaptive, Selective, Automatic Tonal ... - Research at Google
Oct 24, 2009 - Most commer- cial photo editing software tools provide the ability to automati- ... We select the best reference face automatically given a collection ... prototypical face selection procedure on a YouTube video blog, with the ...

AUTOMATIC PITCH ACCENT DETECTION USING ...
CRF model has the advantages of modeling the relations of the sequential labels and is able to retain the long distance dependency informa- tion. Although ..... ECS-95-001,. Bonston University, SRI International, MIT, 1995. [8] R.-E. Fan, P.-H. Chen,

Cheap 3D Modulator Automatic Synchronization Signal Detection ...
Cheap 3D Modulator Automatic Synchronization Signal ... arized 3D System Free Shipping & Wholesale Price.pdf. Cheap 3D Modulator Automatic ...

Contributions to the Automatic Restoration of Images ...
that scene and camera are immersed in a non-participating medium, i.e. they. 5 ... ipating media, e.g surveillance, mapping, autonomous robots and vehicles [13] ..... Furthermore, we captured a sequence from a residential area in a foggy day.

Automatic Face Annotation in News Images by ...
Google Images, Bing Images and Yahoo! Image Search. Our .... Third, for each name n and each face f a procedure is executed in order to compute a ...

An Adaptive Protocol Stack for High-Dependability based on ... - EWSN
In Wiselib 802.15.4, pack- ets are limited to 116Bytes and as a result, it may include a maximum of 37 neighbors. If we need to operate on a larger neighborhood we can use the Wiselib Fragmenting Radio and transmit beacons larger than a single messag

Adaptive Behavior with Fixed Weights in RNN: An ...
To illustrate the evolution of states, we choose the RMLP of [7] because it has only 14 hidden nodes in its two fully recurrent layers. Figures 2 and 3 show outputs ...

Automatic Excitement-Level Detection for Sports ...
curate speech background is necessary for good performance. Ac- curate segmentation .... an automatic fashion using WaveSurfer and in-house tools: fun- damental frequency F0 ... were used for training and two games for testing. The overall ex- .... a

Detection-Based ASR in the Automatic Speech Attribute ...
School of Electrical and Computer Engineering, Georgia Institute of Technology, Atlanta, GA, USA1. Department of Computer ... As a result, a wide body of expert knowledge in ... Specifically, we present methods of detector design in the Auto-.

The Automatic Detection of Patterns In People's ...
Time Warping as a distance measure between individual movements. 1 Introduction .... based on the minimum distance between items in a cluster. This value is ...

Pattern recognition techniques for automatic detection of ... - CiteSeerX
Computer-aided diagnosis;. Machine learning. Summary We have employed two pattern recognition methods used commonly for face recognition in order to analyse digital mammograms. ..... should have values near 1.0 on the main diagonal,. i.e., for true .

A Methodology For The Automatic Detection Of ...
(lengthened syllables), it should not be used as training data for our purposes. Another example is ... silence (from the auto. align.) For this manual annotation, ...

Adaptive Artistic Stylization of Images - ACM Digital Library
Dec 22, 2016 - Adaptive Artistic Stylization of Images. Ameya Deshpande. IIT Gandhinagar [email protected]. Shanmuganathan Raman.

Automatic Learning in Multiple Model Adaptive Control
Tehran, Iran (e-mail: [email protected]). ***Advanced Process Automation & Control (APAC) Research Group, K. N. Toosi University of Technology. Tehran, Iran (e-mail: [email protected]). Abstract: Control based on multiple models (MM) is an effective

Morphology Programming with an Auto-Adaptive System
Keywords: multiagent system, morphology, auto-adaptive system ... evolves in the operating system environment with a life cycle ..... "Design of the remote.

Morphology Programming with an Auto-Adaptive ...
applications in a large-scale point of view. We based this proposition on the Camus PhD thesis [1] which presents an. Auto-Adaptive System (AAS) to control heterogeneous group of robots and introduces the morphology programming [2]. We introduce the

Saliency Detection based on Extended Boundary Prior with Foci of ...
Page 1 of 5. SALIENCY DETECTION BASED ON EXTENDED BOUNDARY. PRIOR WITH FOCI OF ATTENTION. Yijun Li1. , Keren Fu1. , Lei Zhou1. , Yu Qiao1. , Jie Yang1∗. , and Bai Li2. 1. Institute of Image Processing and Pattern Recognition, Shanghai Jiao Tong Uni

Shadow Detection and Removal in Real Images: A ... - Semantic Scholar
Jun 1, 2006 - This may lead to problems in scene understanding, object ..... Technical report, Center for Automation Research, University of Maryland, 1999.