Abstract
Image segmentation is the method of dividing an image into many segments, comprising groups of pixels. It is a process used to determine objects within the image. Fuzzy c-means (FCM) technique has been popularly employed as grayscale image segmentation method. Meanwhile, the conventional FCM suffers from some drawbacks including easy fall into local optimal solution resulting from inappropriate selection of the initial cluster center values and optimal number of clusters (regions) for each image without a prior knowledge or input by the operator. To solve FCM issues, the paper proposes a new fully automatic segmentation method for grayscale images based on fuzzy c-means with firefly mate algorithm (AUTO-FCM-FMA). This approach utilizes the mate list (M) mechanism with firefly algorithm (FMA) to search for the near-optimal number clusters, the location of centroids by exploring the search space and void stuck in local optimum, and the best outcomes from FMA as input for FCM. To evaluate its effectiveness, the proposed algorithm was tested on different types of images. These images can be categorized into simulated MRI images (normal and MSL), synthetic images and natural images. All these images cover different domains and levels of difficulty (e.g. clusters overlapping). The results of validation experiments were encouraging, especially when the performance of proposed algorithm outcomes was compared to that of other state-of-the-art algorithms.






















Similar content being viewed by others
Explore related subjects
Discover the latest articles, news and stories from top researchers in related subjects.References
Alauthman M, Almomani A, Alweshah M, Omoush W, Alieyan K (2019) Machine learning for phishing detection and mitigation. In: Machine learning for computer and cyber security, CRC Press, pp 48–74
Albert JR, Stonier AA (2020) Design and development of symmetrical super-lift DC–AC converter using firefly algorithm for solar-photovoltaic applications. IET Circ Devices Syst 14(3):261–269
Aldeeb BA, Al-Betar MA, Abdelmajeed AO, Younes MJ, AlKenani M, Alomoush W, Alissa KA, Alqahtani MA (2019) A comprehensive review of uncapacitated university examination timetabling problem. Int J Appl Eng Res 14(24):4524–4547
Alia O, Mandava R, Aziz ME (2011) A hybrid harmony search algorithm for MRI brain segmentation. Evol Intel 4(1):31–49
Almomani A, Al-Nawasrah A, Alomoush W, Al-Abweh M, Alrosan A, Gupta BB (2021) Information management and IoT technology for safety and security of smart home and farm systems. J Glob Info Manag (JGIM) 29(6):1–23
Alomoush W (2019) Cuckoo search algorithm based dynamic parameter adjustment mechanism for solving global optimization problems. Int J Appl Eng Res 14(24):4434–4440
Alomoush W, Alrosan A (2018) Metaheuristic search-based fuzzy clustering algorithms. arXiv preprint arXiv:1802.08729
Alomoush W, Omar K (2015) Dynamic fuzzy C-mean based firefly photinus search algorithm for MRI brain tumor image segmentation. PhD, Computer science, Universiti Kebangsaan Malaysia, Malaysia
Alomoush W, Abdullah SNHS, Sahran S, Hussain RI (2014a) MRI brain segmentation via hybrid firefly search algorithm. J Theor Appl Info Technol 61(1):73–90
Alomoush WK, Abdullah S, Sahran S, Hussain RI (2014b) Segmentation of MRI brain images using FCM improved by firefly algorithms. J Appl Sci 14(1):66–71
Alomoush W, Alrosan A, Norwawi N, Alomari Y, Albashish D, Almomani A, Alqahtani M (2018) A survey: challenges of image segmentation based fuzzy C-means clustering algorithm. J Theor Appl Info Technol 96(16):18
Alomoush AA, Alsewari AA, Alamri HS, Zamli KZ, Alomoush W, Younis MI (2019) Modified opposition based learning to improve harmony search variants exploration. In: International conference of reliable information and communication technology. Springer, Cham, pp 279–287
Alomoush W, Omar K, Alrosan A, Alomari YM, Albashish D, Almomani A (2020) Firefly photinus search algorithm. J King Saud Univ-Comput Inf Sci 32(5):599–607
Alomoush AA, Alsewari ARA, Zamli KZ, Alrosan A, Alomoush W, Alissa K (2021a) Enhancing three variants of harmony search algorithm for continuous optimization problems. Int J Electr Comput Eng (IJECE) 11(3):2343–2349
Alomoush W, Alrosan A, Ammar Almomani KA, Khashan OA, Al-Nawasrah A (2021b) Spatial information of fuzzy clustering based mean best artificial bee colony algorithm for phantom brain image segmentation. Int J Electr Comput Eng (IJECE) 11(5):4050–4058
Alrosan A, Norwawi N (2017) Mean artificial bee colony optimization algorithm to improve fuzzy c-means clustering technique for gray image segmentation. PhD, Computer science, Universiti Kebangsaan Malaysia
Alrosan A, Norwawi N, Ismail W, Alomoush W (2014) Artificial bee colony based fuzzy clustering algorithms for MRI image segmentation. In: International conference on advances in computer science and electronics engineering—CSEE, pp 225–228
Alrosan A, Alomoush W, Alswaitti M, Alissa K, Sahran S, Makhadmeh SN, Alieyan K (2021a) Automatic data clustering based mean best artificial bee colony algorithm. CMC-Comput Mater Continua 68(2):1575–1593
Alrosan A, Alomoush W, Norwawi N, Alswaitti M, Makhadmeh SN (2021b) An improved artificial bee colony algorithm based on mean best-guided approach for continuous optimization problems and real brain MRI images segmentation. Neural Comput Appl 33(5):1671–1697
BainWeb (2016) Simulated brain database Mcconnell Brain Imaging Centre Montreal Neurological Institute Mcgill University. Retrieved from http://www.bic.mni.mcgill.ca/brainweb
Balafar M (2014) Fuzzy C-mean based brain MRI segmentation algorithms. Artif Intell Rev 41(3):441–449
Banumalar K, Manikandan BV, Mahalingam SS (2017) Economic dispatch problem using clustered firefly algorithm for wind thermal power system. In: International conference on computational intelligence, cyber security, and computational models. Springer, Singapore, pp 37–46
Bezdek JC, Coray C, Gunderson R, Watson J (1981) Detection and characterization of cluster substructure. I. Linear structure: Fuzzy c-lines. SIAM J Appl Math 40(2):339–357
Bose A, Mali K (2016) Fuzzy-based artificial bee colony optimization for gray image segmentation. Signal Image Video Process 10(6):1089–1096
Chinta SS, Jain A, Tripathy BK (2018) Image segmentation using hybridized firefly algorithm and intuitionistic fuzzy C-Means. In: Proceedings of first international conference on smart system, innovations and computing. Springer, Singapore, pp 651–659
Chou C-H, Su M-C, Lai E (2004) A new cluster validity measure and its application to image compression. Pattern Anal Appl 7(2):205–220
Dey N, Chaki J, Moraru L, Fong S, Yang XS (2020) Firefly algorithm and its variants in digital image processing: a comprehensive review. In: Dey N (ed) Applications of firefly algorithm and its variants. Springer Tracts in Nature-Inspired Computing, Springer, Singapore, pp 1–28
Dhanachandra N, Chanu YJ (2020) An image segmentation approach based on fuzzy c-means and dynamic particle swarm optimization algorithm. Multimedia Tools Appl 79:18839–18858
Dorigo M, Birattari M, Stutzle T (2006) Ant colony optimization. IEEE Comput Intell Mag 1(4):28–39
Fred AL, Kumar S, Padmanaban P, Gulyas B, Kumar HA (2020) Fuzzy-crow search optimization for medical image segmentation. In: Applications of hybrid metaheuristic algorithms for image processing, pp 413–439
Geem ZW, Kim JH, Loganathan GV (2001) A new heuristic optimization algorithm: harmony search. SIMULATION 76(2):60–68
Ghosh P, Mali K, Das SK (2018) Chaotic firefly algorithm-based fuzzy C-means algorithm for segmentation of brain tissues in magnetic resonance images. J vis Commun Image Represent 54:63–79
Hancer E, Ozturk C, Karaboga D (2013) Extraction of brain tumors from MRI images with artificial bee colony based segmentation methodology. In 2013 8th International conference on electrical and electronics engineering (ELECO). IEEE, pp 516–520
Houssein EH, Hussain K, Abualigah L, Abd Elaziz M, Alomoush W, Dhiman G, Djenouri Y, Cuevas E (2021) An improved opposition-based marine predators algorithm for global optimization and multilevel thresholding image segmentation. Knowl-Based Syst 229:
Jagatheesan K, Anand B, Sen S, Samanta S (2020) Application of chaos-based firefly algorithm optimized controller for automatic generation control of two area interconnected power system with energy storage unit and UPFC. In: Applications of firefly algorithm and its variants. Springer, Singapore, pp 173–191
Karaboga D, Basturk B (2007) A powerful and efficient algorithm for numerical function optimization: artificial bee colony (ABC) algorithm. J Global Optim 39(3):459–471
Kennedy J, Eberhart R (1995) Particle swarm optimization. In: Proceedings of ICNN'95-international conference on neural networks. vol 4. IEEE, pp 1942–1948
Kumar SN, Fred AL, Kumar HA, Varghese PS (2019) Firefly optimization based improved fuzzy clustering for CT/MR image segmentation. In: Nature inspired optimization techniques for image processing applications. Springer, Cham, pp 1–28
Langari RK, Sardar S, Mousavi SAA, Radfar R (2020) Combined fuzzy clustering and firefly algorithm for privacy preserving in social networks. Exp Syst Appl 141:112968
Martin D, Fowlkes C, Tal D, Malik J (2001) A database of human segmented natural images and its application to evaluating segmentation algorithms and measuring ecological statistics. In: Proceedings eighth IEEE international conference on computer vision. ICCV 2001. vol 2. IEEE, pp 416–423
Maulik U, Saha I (2009) Modified differential evolution based fuzzy clustering for pixel classification in remote sensing imagery. Pattern Recogn 42(9):2135–2149
Mekhmoukh A, Mokrani K (2015) Improved Fuzzy C-Means based Particle Swarm Optimization (PSO) initialization and outlier rejection with level set methods for MR brain image segmentation. Comput Methods Programs Biomed 122(2):266–281
Nayak J, Naik B, Behera H (2015) Fuzzy C-means (FCM) clustering algorithm: a decade review from 2000 to 2014. Comput Intell Data Min 2:133–149
Omran MG (2006) Particle swarm optimization methods for pattern recognition and image processing. Doctoral dissertation, University of Pretoria
Omran M, Salman A, Engelbrecht A (2005) Dynamic clustering using particle swarm optimization with application in unsupervised image classification. In: Fifth world enformatika conference (ICCI 2005). Prague, Czech Republic, pp 199–204
Omran MG, Salman A, Engelbrecht AP (2006) Dynamic clustering using particle swarm optimization with application in image segmentation. Pattern Anal Appl 8(4):332–344
Ouadfel S, Meshoul S (2012) Handling fuzzy image clustering with a modified ABC algorithm. Int J Intell Syst Appl 4(12):65
Ozturk C, Hancer E, Karaboga D (2015a) Dynamic clustering with improved binary artificial bee colony algorithm. Appl Soft Comput 28:69–80
Ozturk C, Hancer E, Karaboga D (2015b) Improved clustering criterion for image clustering with artificial bee colony algorithm. Pattern Anal Appl 18(3):587–599
Pakhira MK, Bandyopadhyay S, Maulik U (2004) Validity index for crisp and fuzzy clusters. Pattern Recogn 37(3):487–501
Pant A, Chinta SS, Tripathy BK (2019) Comparative analysis of hybridized C-means and fuzzy firefly algorithms with application to image segmentation. In: Proceedings of the 2nd International conference on data engineering and communication technology. Springer, Singapore, pp 315–323
Rhee FCH, Hwang C (2001) A type-2 fuzzy C-means clustering algorithm. In: Proceedings joint 9th IFSA world congress and 20th NAFIPS international conference (Cat. No. 01TH8569). vol 4. IEEE, pp 1926–1929
Saha S, Bandyopadhyay S (2007a) A fuzzy genetic clustering technique using a new symmetry based distance for automatic evolution of clusters. In: 2007 International conference on computing: theory and applications (ICCTA'07). IEEE, pp 309–314
Saha S, Bandyopadhyay S (2007b) MRI brain image segmentation by fuzzy symmetry based genetic clustering technique. In: 2007 IEEE congress on evolutionary computation. IEEE, pp 4417–4424
Saha S, Bandyopadhyay S (2009) A new point symmetry based fuzzy genetic clustering technique for automatic evolution of clusters. Inf Sci 179(19):3230–3246
Salima O, Taleb-Ahmed A, Mohamed B (2012) Spatial information based image clustering with a swarm approach. IAES Int J Artif Intell (IJ-AI) 1(3):149–160
Salman A, Omran M, Engelbrecht A (2005) SIGT: synthetic image generation tool for clustering algorithms. ICGST Int J Graph Vision Image Process (GVIP) 2:33–44
Sánchez D, Melin P, Castillo O (2017) Optimization of modular granular neural networks using a firefly algorithm for human recognition. Eng Appl Artif Intell 64:172–186
Wan C, Yuan X, Dai X, Zhang T, He Q (2018) A self-adaptive multi-objective harmony search based fuzzy clustering technique for image segmentation. J Ambient Intell Humanized Comput. https://doi.org/10.1007/s12652-018-0762-y
Yang X-S (2008) Nature-inspired metaheuristic algorithms. Luniver Press, Bristol
Yang XS (2009) Firefly algorithms for multimodal optimization. In: International symposium on stochastic algorithms. Springer, Berlin, Heidelberg, pp 169–178
Yang XS (2010a) Firefly algorithm, Levy flights and global optimization. In: Research and development in intelligent systems XXVI. Springer, London, pp 209–218
Yang XS (2010b) Firefly algorithm, stochastic test functions and design optimisation. Int J Bio-Inspired Comput 2(2):78–84. https://doi.org/10.1504/ijbic.2010.032124
Yang XS (2010c) A new metaheuristic bat-inspired algorithm. In: Nature inspired cooperative strategies for optimization (NICSO 2010). Springer, Berlin, Heidelberg, pp 65–74
Yang XS, Deb S (2010) Engineering optimisation by cuckoo search. Int J Math Model Numer Optim 1(4):330–343
Zhang M, Jiang W, Zhou X, Xue Y, Chen S (2019) A hybrid biogeography-based optimization and fuzzy C-means algorithm for image segmentation. Soft Comput 23(6):2033–2046
Acknowledgements
Many thanks to the Deanship of Scientific Research at Imam Abdulrahman Bin Faisal University. This research was funded by Imam Abdulrahman Bin Faisal University, with a grant titled “Medical Image Segmentation using Unsupervised Classification based Swarm Intelligence Algorithms for Cancer Detection and Extraction” No. 2020-064-PYSS, Date 25/4/2020.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
The authors declare that they have no conflict of interest.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Alomoush, W., Alrosan, A., Alomari, Y.M. et al. Fully automatic grayscale image segmentation based fuzzy C-means with firefly mate algorithm. J Ambient Intell Human Comput 13, 4519–4541 (2022). https://doi.org/10.1007/s12652-021-03430-3
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s12652-021-03430-3