Skip to main content
Log in

An adaptive gravitational search algorithm for multilevel image thresholding

  • Published:
The Journal of Supercomputing Aims and scope Submit manuscript

Abstract

Multilevel thresholding for image segmentation has always been a popular issue and has attracted much attention. Traditional exhaustive search methods take considerable time to solve multilevel thresholding problems. However, heuristic search algorithms have potential advantages in terms of solving such multilevel thresholding problems. Based on this idea, in this paper, a novel adaptive gravitational search algorithm (AGSA) is proposed to solve the optimal multilevel image thresholding problem; this algorithm is more efficient than the traditional exhaustive search method for grayscale image segmentation. In the AGSA, an adaptive parameter optimization strategy is used to tune the gravitational constant and the inertia weight. To verify the performance of the proposed algorithm, a series of classic test images are used to perform several experiments. In addition, the standard GSA and some optimization algorithms are compared with the proposed algorithm. The experimental results show that the proposed algorithm is obviously better than the other six algorithms. These promising results suggest that the AGSA is more suitable than existing methods for multilevel image thresholding.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3

Similar content being viewed by others

References

  1. Zhang D, Dongru H, Kang L et al (2019) The generative adversarial networks and its application in machine vision. Enterp Inf Syst 2:1–21

    Article  Google Scholar 

  2. Xiong L, Tang G, Chen Y et al (2020) Color disease spot image segmentation algorithm based on chaotic particle swarm optimization and FCM. J Supercomput 1–15

  3. Mohammed ZF, Abdulla AA (2020) Thresholding-based white blood cells segmentation from microscopic blood images. UHD J Sci Technol 4(1):9–17

    Article  Google Scholar 

  4. Ayala HVH, dos Santos FM, Mariani VC, dos Santos Coelho L (2015) Image thresholding segmentation based on a novel beta differential evolution approach. Expert Syst Appl 42(4):2136–2142

    Article  Google Scholar 

  5. Hammouche K, Diaf M, Siarry P et al (2008) A multilevel automatic thresholding method based on a genetic algorithm for a fast image segmentation. Comput Vis Image Underst 109(2):163–175

    Article  Google Scholar 

  6. Liu Y, Mu C, Kou W et al (2015) Modified particle swarm optimization-based multilevel thresholding for image segmentation. In: Soft computing, 2015, vol 1, no. 5, pp 1311–1327

  7. Sarkar S, Patra G R, Das S et al (2011) A differential evolution based approach for multilevel image segmentation using minimum cross entropy thresholding. In: Swarm evolutionary and memetic computing, 2011, pp 51–58

  8. Tang K, Xiao X, Wu J et al (2017) An improved multilevel thresholding approach based modified bacterial foraging optimization. Appl Intell 46(1):214–226

    Article  Google Scholar 

  9. Liang Y, Chen A H, Chyu C et al (2006) Application of a hybrid ant colony optimization for the multilevel thresholding in image processing. In: International conference on neural information processing, 2006, pp 1183–1192

  10. Akay B (2013) A study on particle swarm optimization and artificial bee colony algorithms for multilevel thresholding. Appl Soft Comput 13(6):3066–3091

    Article  Google Scholar 

  11. Rashedi E, Nezamabadipour H, Saryazdi S et al (2009) GSA: a gravitational search algorithm. Inf Sci 179(13):2232–2248

    Article  Google Scholar 

  12. Alihodzic A, Tuba M (2014) Improved bat algorithm applied to multilevel image thresholding. Sci World J 2014:176718–176718

    Article  Google Scholar 

  13. Agrawal S, Panda R, Bhuyan S et al (2013) Tsallis entropy based optimal multilevel thresholding using cuckoo search algorithm. In: Swarm and evolutionary computation, 2013, pp 16–30

  14. Li K, Tan Z (2019) An improved flower pollination optimizer algorithm for multilevel image thresholding. In: IEEE access, 2019, pp 165571–165582

  15. Abd El Aziz M, Ewees AA, Hassanien AE (2017) Whale optimization algorithm and moth-flame optimization for multilevel thresholding image segmentation. Expert Syst Appl 83:242–256

    Article  Google Scholar 

  16. Li L, Sun L, Guo J et al (2017) Modified discrete grey wolf optimizer algorithm for multilevel image thresholding. computational intelligence and neuroscience, pp 1–16

  17. Aziz MA, Ewees AA, Hassanien AE et al (2017) Whale optimization algorithm and moth-flame optimization for multilevel thresholding image segmentation. Expert Syst Appl 83:242–256

    Article  Google Scholar 

  18. Baby Resma KP, Nair Madhu S (2018) Multilevel thresholding for image segmentation using Krill Herd Optimization algorithm. J King Saud Univ Comput Inf Sci 32(1):1208–1209

    Google Scholar 

  19. Sarafrazi S, Nezamabadi-pour H, Seydnejad SR (2015) A novel hybrid algorithm of GSA with Kepler algorithm for numerical optimization. J King Saud Univ Comput Inf Sci 27(3):288–296

    Google Scholar 

  20. Xiong L, Chen R, Zhou X et al (2019) Multi-feature fusion and selection method for an improved particle swarm optimization. J Ambient Intell Hum Comput 3:1–10

    Google Scholar 

  21. Beigvand SD, Abdi H, La Scala M (2016) Combined heat and power economic dispatch problem using gravitational search algorithm. Electr Power Syst Res 133:160–172

    Article  Google Scholar 

  22. Jiang S, Ji Z, Shen Y et al (2014) A novel hybrid particle swarm optimization and gravitational search algorithm for solving economic emission load dispatch problems with various practical constraints. Int J Electr Power Energy Syst 55:628–644

    Article  Google Scholar 

  23. Li C, Zhou J (2011) Parameters identification of hydraulic turbine governing system using improved gravitational search algorithm. Energy Convers Manag 52(1):374–381

    Article  MathSciNet  Google Scholar 

  24. Nobahari H, Nikusokhan M, Siarry P (2012) A multi-objective gravitational search algorithm based on non-dominated sorting. Int J Swarm Intell Res 3(3):32–49

    Article  Google Scholar 

  25. Soleimanpour-Moghadam M, Nezamabadi-Pour H (2012) An improved quantum behaved gravitational search algorithm. In: Electrical engineering, 2012, pp 711–715

  26. Tan Z, Zhang D (2020) A fuzzy adaptive gravitational search algorithm for two-dimensional multilevel thresholding image segmentation. J Ambient Intell Hum Comput 11:4983–4994

    Article  Google Scholar 

  27. Rashedi E, Nezamabadi-pour H, Saryazdi S (2009) GSA: a gravitational search algorithm. Inf Sci 179(13):2232–2248

    Article  Google Scholar 

  28. Li C, Li H, Kou P et al (2014) Piecewise function based gravitational search algorithm and its application on parameter identification of AVR system. Neurocomputing 124:139–148

    Article  Google Scholar 

  29. Xiong L, Zhang D, Li K, et al. The extraction algorithm of color disease spot image based on Otsu and watershed. In: Soft computing, 2019, pp 1–11

  30. Bhandari AK, Singh VK, Kumar A et al (2014) Cuckoo search algorithm and wind driven optimization based study of satellite image segmentation for multilevel thresholding using Kapur’s entropy. Expert Syst Appl 41(7):3538–3560

    Article  Google Scholar 

  31. Banerjee S, Jana ND (2015) Bi level kapurs entropy based image segmentation using particle swarm optimization. In: International conference on computer communication control and information technology, 2015, pp 1–4

  32. Liu G, Guo W, Niu Y, Chen G, Huang X (2015) APSO-based-timing-driven octilinear steiner tree algorithm for VLSI routing considering bend reduction. Soft Comput 19(5):1153–1169

    Article  Google Scholar 

  33. Ye F (2018) Evolving the SVM model based on a hybrid method using swarm optimization techniques in combination with a genetic algorithm for medical diagnosis. Multimed Tools Appl 77(3):3889–3918

    Article  Google Scholar 

  34. Agrawal S, Panda R, Bhuyan S et al (2013) Tsallis entropy based optimal multilevel thresholding using cuckoo search algorithm. Swarm Evol Comput 11:16–30

    Article  Google Scholar 

Download references

Acknowledgements

This work was supported by the Natural Science Foundation of Guangdong Province of China, No. 2020A1515010784.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Zhiping Tan.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Wang, Y., Tan, Z. & Chen, YC. An adaptive gravitational search algorithm for multilevel image thresholding. J Supercomput 77, 10590–10607 (2021). https://doi.org/10.1007/s11227-021-03706-7

Download citation

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11227-021-03706-7

Keywords