Multi-focus image fusion using best-so-far ABC strategies

  • Anan Banharnsakun
Theory and Applications of Soft Computing Methods


Multi-focus image fusion is a process of combining a set of images that have been captured from the same scene but with different focuses in order to construct an additional sharper image. This process plays an important role in the image processing and machine vision fields. Various algorithms have been developed for this task. The key challenge in the design of multi-focus image fusion algorithms is how to evaluate the local content information of each image from the source images. Simple, but effective, block-based techniques at pixel level are widely used for multi-focus image fusion. However, a fixed block size may not be applicable to every application. A block size that is too small or too large is also not desirable. Hence, optimization of the block size is necessary in order to obtain a fused image that comprises the sharper parts of the source images. Recently, a number of techniques based on evolutionary computation have been applied to block-based multi-focus image fusion. The artificial bee colony (ABC) algorithm is one of the more popular evolutionary computational approaches used to find an optimal solution. In this paper, an efficient and robust block-based multi-focus image fusion method based on the optimal selection of sharper image blocks from source images using best-so-far ABC strategies is proposed. Experiment results show that the proposed method is able to provide good results and outperforms other conventional methods, both visually and quantitatively.


Block-based multi-focus image fusion Energy of Laplacian (EOL) Sum-modified-Laplacian (SML) Contrast visibility Spatial frequency (SF) Artificial bee colony (ABC) algorithm Best-so-far ABC 



This work is partially supported by the Faculty of Engineering at Si Racha, Kasetsart University Sriracha Campus (2557/2).

Compliance with ethical standards

Conflict of interest

The authors declare that they have no conflict of interest.

Human and animal rights

This chapter does not contain any studies with human participants or animals performed by any of the authors.

Informed consent

Informed consent was obtained from all individual participants included in the study.


  1. 1.
    Goshtasby AA, Nikolov S (2007) Guest editorial: image fusion: advances in the state of the art. Information Fusion 8:114–118CrossRefGoogle Scholar
  2. 2.
    Garg R, Gupta P, Kaur H (2014) Survey on multi-focus image fusion algorithms. In: Proceedings of recent advances in engineering and computational sciences, pp 1–5Google Scholar
  3. 3.
    Irshad H, Kamran M, Siddiqui AB, Hussain A (2009) Image fusion using computational intelligence: a survey. In: Second international conference on environmental and computer science, pp 128–132Google Scholar
  4. 4.
    Yang J, Ma Y, Yao W, Lu WT (2008) A spatial domain and frequency domain integrated approach to fusion multifocus images. Int Arch Photogram Remote Sens Spatial Inf Sci 37(part B7):1147–1150Google Scholar
  5. 5.
    Shah P, Merchant SN, Desai UB (2011) An efficient spatial domain fusion scheme for multifocus images using statistical properties of neighborhood. In: IEEE international conference on multimedia and expo (ICME), pp 1–6Google Scholar
  6. 6.
    Roosta I, Karimi N, Mirmahboub B, Samavi S (2014) Multi focus image fusion using categorization of energy levels. In: 22nd Iranian conference on electrical engineering (ICEE), pp 1739–1744Google Scholar
  7. 7.
    Niu Y, Shen L, Wu L, Bu Y (2010) Optimizing the number of decomposition levels for wavelet-based multifocus image fusion. In: Proceedings of the 8th world congress on intelligent control and automation, pp 6351–6356Google Scholar
  8. 8.
    Tian J, Chen L (2012) Adaptive multi-focus image fusion using a wavelet-based statistical sharpness measure. Signal Process 92:2137–2146CrossRefGoogle Scholar
  9. 9.
    Li H, Wei S, Chai Y (2012) Multifocus image fusion scheme based on feature contrast in the lifting stationary wavelet domain. EURASIP J Adv Signal Process 39:1–16Google Scholar
  10. 10.
    Chai Y, Li H, Li Z (2011) Multi-focus image fusion scheme using focused region detection and multi-resolution. Int J Opt Commun 284:4376–4389CrossRefGoogle Scholar
  11. 11.
    Wang Z, Ma Y, Gu J (2010) Multi-focus image fusion using PCNN. Pattern Recognit 43:2003–2016zbMATHCrossRefGoogle Scholar
  12. 12.
    Li S, Kang X, Hu J (2013) Image fusion with guided filtering. IEEE Trans Image Process 22:2864–2875CrossRefGoogle Scholar
  13. 13.
    Aslantas V, Toprak AN (2014) A pixel based multi-focus image fusion method. Opt Commun 332:350–358CrossRefGoogle Scholar
  14. 14.
    Pajares G, de la Cruz JM (2004) A wavelet-based image fusion tutorial. Pattern Recognit 37:1855–1872CrossRefGoogle Scholar
  15. 15.
    Li S, Kwok JT, Wang Y (2002) Multifocus image fusion using artificial neural networks. Pattern Recognit Lett 23:985–997zbMATHCrossRefGoogle Scholar
  16. 16.
    Huang W, Jing Z (2007) Evaluation of focus measures in multifocus image fusion. Pattern Recognit Lett 28:493–500CrossRefGoogle Scholar
  17. 17.
    Gandomi AH, Alavi AH (2012) Krill herd: a new bio-inspired optimization algorithm. Commun Nonlinear Sci Numer Simul 17:4831–4845zbMATHMathSciNetCrossRefGoogle Scholar
  18. 18.
    Wang G-G, Gandomi AH, Alavi AH, Hao G-S (2014) Hybrid krill herd algorithm with differential evolution for global numerical optimization. Neural Comput Appl 25:297–308CrossRefGoogle Scholar
  19. 19.
    Gandomi AH, Talatahari S, Tadbiri F, Alavi AH (2013) Krill herd algorithm for optimum design of truss structures. Int J Bio-Inspired Comput 5:281–288CrossRefGoogle Scholar
  20. 20.
    Wang G, Guo L, Wang H, Duan H, Liu L, Li J (2014) Incorporating mutation scheme into krill herd algorithm for global numerical optimization. Neural Comput Appl 24:853–871CrossRefGoogle Scholar
  21. 21.
    Wang G-G, Guo L, Gandomi AH, Hao G-S, Wang H (2014) Chaotic krill herd algorithm. Inf Sci 274:17–34MathSciNetCrossRefGoogle Scholar
  22. 22.
    Wang G-G, Gandomi AH, Alavi AH (2014) Stud krill herd algorithm. Neurocomputing 128:363–370CrossRefGoogle Scholar
  23. 23.
    Guo L, Wang G-G, Gandomi AH, Alavi AH, Duan H (2014) A new improved krill herd algorithm for global numerical optimization. Neurocomputing 138:392–402CrossRefGoogle Scholar
  24. 24.
    Wang G-G, Gandomi AH, Alavi AH (2014) An effective krill herd algorithm with migration operator in biogeography-based optimization. Appl Math Model 38:2454–2462MathSciNetCrossRefGoogle Scholar
  25. 25.
    Wang G-G, Gandomi AH, Alavi AH (2013) A chaotic particle-swarm krill herd algorithm for global numerical optimization. Kybernetes 42:962–978MathSciNetCrossRefGoogle Scholar
  26. 26.
    Wang G-G, Gandomi AH, Yang X-S, Alavi AH (2013) A new hybrid method based on krill herd and cuckoo search for global optimization tasks. Int J Bio-Inspired Comput (in press)Google Scholar
  27. 27.
    Wang G-G, Gandomi AH, Alavi AH, Deb S (2015) A hybrid method based on krill herd and quantum-behaved particle swarm optimization. Neural Comput Appl. doi: 10.1007/s00521-015-1914-z Google Scholar
  28. 28.
    Yang X-S (2010) Firefly algorithm, levy flights and global optimization. In: Research and development in intelligent systems XXVI, pp 209–218Google Scholar
  29. 29.
    Wang G-G, Lihong G, Hong D, Heqi W (2014) A new improved firefly algorithm for global numerical optimization. J Comput Theor Nanosci 11:477–485CrossRefGoogle Scholar
  30. 30.
    Fong S, Deb S, Yang X-S (2015) A heuristic optimization method inspired by wolf preying behavior. Neural Comput Appl. doi: 10.1007/s00521-015-1836-9 Google Scholar
  31. 31.
    Cui ZH, Fan SJ, Zeng JC, Shi ZZ (2013) Artificial plant optimisation algorithm with three-period photosynthesis. Int J Bio-Inspired Comput 5:133–139CrossRefGoogle Scholar
  32. 32.
    Wang G-G, Gandomi AH, Zhao X, Chu HCE (2014) Hybridizing harmony search algorithm with cuckoo search for global numerical optimization. Soft Comput. doi: 10.1007/s00500-014-1502-7 Google Scholar
  33. 33.
    Gaige W, Lihong G, Hong D, Heqi W, Luo L, Mingzhen S (2013) Hybridizing harmony search with biogeography based optimization for global numerical optimization. J Comput Theor Nanosci 10:2312–2322CrossRefGoogle Scholar
  34. 34.
    Wang G-G, Deb S, Gandomi AH, Zhang Z, Alavi AH (2015) Chaotic cuckoo search. Soft Comput. doi: 10.1007/s00500-015-1726-1 Google Scholar
  35. 35.
    Wang G-G, Gandomi AH, Yang X-S, Alavi AH (2014) A novel improved accelerated particle swarm optimization algorithm for global numerical optimization. Eng Comput 31:1198–1220CrossRefGoogle Scholar
  36. 36.
    Wang G-G, Lu M, Dong Y-Q, Zhao X-J (2015) Self-adaptive extreme learning machine. Neural Comput Appl. doi: 10.1007/s00521-015-1874-3 Google Scholar
  37. 37.
    Wang G-G, Deb S, Cui Z (2015) Monarch butterfly optimization. Neural Comput Appl. doi: 10.1007/s00521-015-1923-y Google Scholar
  38. 38.
    Zhang X, Han J, Liu P (2005) Restoration and fusion optimization scheme of multifocus image using genetic search strategies. Opt Appl 35:927–942Google Scholar
  39. 39.
    Siddiqui AB, Jaffar MA, Hussain A, Mirza AM (2011) Block-based pixel level multi-focus image fusion using particle swarm optimization. Int J Innov Comput Inf Control 7:3583–3596Google Scholar
  40. 40.
    Aslantas V, Kurban R (2010) Fusion of multi-focus images using differential evolution algorithm. Expert Syst Appl 37:8861–8870CrossRefGoogle Scholar
  41. 41.
    Agrawal S, Swain S, Dora L (2013) BFO-ICA based multi focus image fusion. In: 2013 IEEE symposium on swarm intelligence, pp 194–199Google Scholar
  42. 42.
    Krotkov E (1988) Focusing. Int J Comput Vis 1:223–237CrossRefGoogle Scholar
  43. 43.
    Huang JW, Shi YQ, Dai XH (1999) A segmentation-based image coding algorithm using the features of human vision system. J Image Graph 4:400–404Google Scholar
  44. 44.
    Hongmei W, Cong N, Yanjun L, Ke Z, Lihua C (2011) A novel fusion algorithm for multi-focus image. In: Proceedings of the international conference on applied informatics and communication, pp 641–647Google Scholar
  45. 45.
    Nayar SK, Nakagawa Y (1994) Shape from focus. IEEE Trans Pattern Anal Mach Intell 16:824–831CrossRefGoogle Scholar
  46. 46.
    Karaboga D (2005) An idea based on honey bee swarm for numerical optimization. Technical Report-TR06, Engineering Faculty, Computer Engineering Department, Erciyes University, TurkeyGoogle Scholar
  47. 47.
    Biesmeijer JC, Seeley TD (2005) The use of waggle dance information by honey bees throughout their foraging careers. Behav Ecol Sociobiol 59:133–142CrossRefGoogle Scholar
  48. 48.
    Karaboga D, Basturk B (2007) A powerful and efficient algorithm for numerical function optimization: artificial bee colony (ABC) algorithm. J Glob Optim 39:459–471zbMATHMathSciNetCrossRefGoogle Scholar
  49. 49.
    Banharnsakun A, Achalakul T, Sirinaovakul B (2011) The best-so-far selection in artificial bee colony algorithm. Appl Soft Comput 11:2888–2901CrossRefGoogle Scholar
  50. 50.
    Banharnsakun A, Sirinaovakul B, Achalakul T (2012) Job shop scheduling with the best-so-far ABC. Eng Appl Artif Intell 25:583–593CrossRefGoogle Scholar
  51. 51.
    Banharnsakun A, Sirinaovakul B, Achalakul T (2013) The best-so-far ABC with multiple patrilines for clustering problems. Neurocomputing 116:355–366CrossRefGoogle Scholar
  52. 52.
    Banharnsakun A, Sirinaovakul B, Achalakul T (2012) The performance and sensitivity of the parameters setting on the best-so-far ABC. In: Bui LT et al (eds) SEAL 2012. LNCS, vol 7673, pp 248–257Google Scholar
  53. 53.
    Banharnsakun A, Tanathong S (2014) Object detection based on template matching through use of best-so-far ABC. Comput Intell Neurosci 2014:1–8CrossRefGoogle Scholar
  54. 54.
    Eskicioglu AM, Fisher PS (1995) Image quality measures and their performance. IEEE Trans Commun 43:2959–2965CrossRefGoogle Scholar
  55. 55.
    Li S, Kwok JT, Wang Y (2001) Combination of images with diverse focuses using the spatial frequency. Inf Fusion 2:169–176CrossRefGoogle Scholar
  56. 56.
    Liu Z, Blasch E, Xue Z, Zhao J, Laganiere R, Wu W (2012) Objective assessment of multiresolution image fusion algorithms for context enhancement in night vision: a comparative study. IEEE Trans Pattern Anal Mach Intell 34:94–109CrossRefGoogle Scholar
  57. 57.
    Zheng Y, Essock EA, Hansen BC, Haun AM (2007) A new metric based on extended spatial frequency and its application to DWT based fusion algorithms. Inf Fusion 8:177–192CrossRefGoogle Scholar

Copyright information

© The Natural Computing Applications Forum 2015

Authors and Affiliations

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

Personalised recommendations