Evolving Systems

, Volume 10, Issue 4, pp 679–687 | Cite as

Artificial bee colony algorithm for enhancing image edge detection

  • Anan BanharnsakunEmail author
Original Paper


The objective of computer image analysis and processing is to generate images with specific features that make them more suitable for humans and machines to observe and identify. Image edges are the most basic features of image analysis and processing; thus, in order to extract the edges from images, an operation known as “edge detection” is required. Applying an edge detector to an image will help to remove some information that may be regarded as less important, and therefore reduce the amount of data to be processed. As a result, the development of an effective method for edge detection is necessary. Recently, a number of techniques based on evolutionary computation have been applied in order to enhance various tasks in image processing. The artificial bee colony (ABC) algorithm is one of the more promising evolutionary computational approaches used to find an optimal solution. In this paper, an ABC algorithm for enhancing image edge detection is presented. In the proposed method, the ABC is employed to find an optimal edge filter and then, optimize the threshold value in the edge detection process. The experimental results demonstrate that the proposed approach works well for image edge detection with a reasonably high level of accuracy and outperforms existing algorithms.


Artificial bee colony (ABC) Image edge enhancement Optimal image edge filter Optimal threshold selection Maximization of inter-class variance 



  1. Abdou IA, Pratt W (1979) Quantitative design and evaluation of enhancement/thresholding edge detectors. In: Proceedings of the IEEE, vol 67, no 5, pp 753–766CrossRefGoogle Scholar
  2. Alipoor M, Imandoost S, Haddadnia J (2010) Designing edge detection filters using particle swarm optimization. In: Proceedings of 18th IEEE Iranian conference on electrical engineering, pp 548–552Google Scholar
  3. Arbelaez P, Maire M, Fowlkes C, Malik J (2011) Contour detection and hierarchical image segmentation. IEEE Trans Pattern Anal Mach Intell 33(5):898–916CrossRefGoogle Scholar
  4. Avots E, Arslan HS, Valgma L, Gorbova J, Anbarjafari G (2018) A new kernel development algorithm for edge detection using singular value ratios. Signal Image Video Process 12(7):1301–1309CrossRefGoogle Scholar
  5. Banharnsakun A (2018a) Feature point matching based on ABC-NCC algorithm. Evol Syst 9(1):71–80CrossRefGoogle Scholar
  6. Banharnsakun A (2018b) Multiple traffic sign detection based on the artificial bee colony method. Evol Syst 9(3):255–264CrossRefGoogle Scholar
  7. Banharnsakun A, Achalakul T, Batra RC (2012) Target finding and obstacle avoidance algorithm for microrobot swarms. In: Proceedings of IEEE international conference on systems, man, and cybernetics (SMC 2012), pp 1610–1615Google Scholar
  8. Bartolome LS, Bandala AA, Llorente C, Dadios EP (2012) Vehicle parking inventory system utilizing image recognition through artificial neural networks. In: Proceedings of the IEEE TENCON 2012, pp 1–5Google Scholar
  9. Biswas S, Hazra R (2018) Robust edge detection based on modified Moore-Neighbor. Optik 168:931–943CrossRefGoogle Scholar
  10. Boaventura IAG, Gonzaga A (2007) Method to evaluate the performance of edge detector. In: Presented at the 12th Brazilian symposium on computer graphics and image processing, Rio de JaneiroGoogle Scholar
  11. Chen D, Zhou T, Yu X (2012) A new method of edge detection based on PSO. In: Wang J et al (eds) ISNN 2012, LNCS 7368. Springer, Heidelberg, pp 239–246Google Scholar
  12. Choi B, Kang S, Jun K, Cho J (2017) Rule-based soft computing for edge detection. Multimed Tools Appl 76(23):24819–24831CrossRefGoogle Scholar
  13. Dwivedi R, Sethi HK, Rohilla M, Garg V, Nagpal Y (2016) Edge detection using bat algorithm. In: Proceedings of 3rd IEEE international conference on computing for sustainable global development (INDIACom 2016), pp 2605–2608Google Scholar
  14. Gonzalez RC, Woods RE (2006) Digital image processing, 3rd edn. Prentice-Hall, Upper Saddle RiverGoogle Scholar
  15. Hu X, Liu Y, Wang K, Ren B (2018) Learning hybrid convolutional features for edge detection. Neurocomputing 313:377–385CrossRefGoogle Scholar
  16. Jin-Yu Z, Yan C, Xian-Xiang H (2009) Edge detection of images based on improved Sobel operator and genetic algorithms. In: Proceedings of IEEE international conference on image analysis and signal processing, pp 31–35Google Scholar
  17. Karaboga D, Gorkemli B, Ozturk C, Karaboga N (2014) A comprehensive survey: artificial bee colony (ABC) algorithm and applications. Artif Intell Rev 42:21–57CrossRefGoogle Scholar
  18. Lee MK, Leung SW, Cheung HL (2000) Edge detection by genetic algorithm. In: Proceedings of IEEE international conference on image processing, pp 478–480Google Scholar
  19. Malamas EN, Petrakis EG, Zervakis M, Petit L, Legat JD (2003) A survey on industrial vision systems, applications and tools. Image Vis Comput 21:171–188CrossRefGoogle Scholar
  20. Marr D, Hildreth E (1980) Theory of edge detection. Proc R Soc Lond B Biol Sci 207:187–217CrossRefGoogle Scholar
  21. Otsu N (1979) A threshold selection method from gray-level histograms. IEEE Trans Syst Man Cybern 9:62–66CrossRefGoogle Scholar
  22. Panetta K, Gao C, Agaian S, Nercessian S (2016) A new reference-based edge map quality measure. IEEE Trans Syst Man Cybern Syst 46:1505–1517CrossRefGoogle Scholar
  23. Poppe R (2010) A survey on vision-based human action recognition. Image Vis Comput 28:976–990CrossRefGoogle Scholar
  24. Pratt WK (1978) Digital image processing. Wiley, New YorkzbMATHGoogle Scholar
  25. Prewitt JM (1970) Object enhancement and extraction. Pict Process Psychopictorics 10:15–19Google Scholar
  26. Roberts LG (1963) Machine perception of three-dimensional solids. Doctoral dissertation, Massachusetts Institute of TechnologyGoogle Scholar
  27. Salari E, Yu X (2011) Pavement distress detection and classification using a genetic algorithm. In: Proceedings of the IEEE applied imagery pattern recognition workshop: imaging for decision making, pp 1–5Google Scholar
  28. Sharifi M, Fathy M, Mahmoudi MT (2002) A classified and comparative study of edge detection algorithms. In: Proceedings of IEEE international conference on information technology: coding and computing, pp 117–120Google Scholar
  29. Sobel I, Feldman G (1968) A 3 × 3 isotropic gradient operator for image processing. In: Presented at the Stanford artificial intelligence projectGoogle Scholar
  30. Szeliski R (2010) Computer vision: algorithms and applications. Springer Science & Business Media, BerlinzbMATHGoogle Scholar
  31. Tian J, Yu W, Xie S (2008) An ant colony optimization algorithm for image edge detection. In: Proceedings of IEEE congress on evolutionary computation, pp 751–756Google Scholar
  32. Yang XS, Cui Z, Xiao R, Gandomi AH, Karamanoglu M (2013) Swarm intelligence and bio-inspired computation: theory and applications, 1st edn. Elsevier, LondonGoogle Scholar
  33. Yigitbasi ED, Baykan NA (2013) Edge detection using artificial bee colony algorithm (ABC). Int J Inf Electron Eng 3(6):634–638Google Scholar
  34. Yin P-Y (2007) Multilevel minimum cross entropy threshold selection based on particle swarm optimization. Appl Math Comput 184:503–513MathSciNetzbMATHGoogle Scholar
  35. Zhang W, Zhao Y, Breckon TP, Chen L (2017) Noise robust image edge detection based upon the automatic anisotropic Gaussian kernels. Pattern Recogn 63:193–205CrossRefGoogle Scholar
  36. Zhu Q (1996) Efficient evaluations of edge connectivity and width uniformity. Image Vis Comput 14:21–34CrossRefGoogle Scholar

Copyright information

© Springer-Verlag GmbH Germany, part of Springer Nature 2018

Authors and Affiliations

  1. 1.Computational Intelligence Research Laboratory (CIRLab), Computer Engineering Department, Faculty of Engineering at SrirachaKasetsart University Sriracha CampusChonburiThailand

Personalised recommendations