==== Front PLoS One PLoS One plos PLOS ONE 1932-6203 Public Library of Science San Francisco, CA USA 10.1371/journal.pone.0287573 PONE-D-23-11260 Research Article Physical Sciences Mathematics Applied Mathematics Algorithms Research and Analysis Methods Simulation and Modeling Algorithms Physical Sciences Mathematics Optimization Research and Analysis Methods Imaging Techniques Computer and Information Sciences Artificial Intelligence Biology and Life Sciences Ecology Community Ecology Trophic Interactions Predation Ecology and Environmental Sciences Ecology Community Ecology Trophic Interactions Predation Biology and Life Sciences Physiology Biological Locomotion Animal Flight Insect Flight Physical Sciences Physics Thermodynamics Entropy Biology and Life Sciences Physiology Biological Locomotion Animal Flight Symmetric cross-entropy multi-threshold color image segmentation based on improved pelican optimization algorithm Symmetric cross-entropy multi-threshold image segmentation based on improved pelican optimization algorithm Zhang Chuang Conceptualization Data curation Formal analysis Validation Visualization Writing – original draft Writing – review & editing 1 Pei Yue-Han Software 2 Wang Xiao-Xue Resources 3 Hou Hong-Yu Formal analysis 1 https://orcid.org/0009-0007-8488-8623 Fu Li-Hua Methodology Project administration Supervision 1 * 1 School of Mechanical Engineering and Automation, University of Science and Technology Liaoning, Anshan, China 2 School of Materials and Metallurgy, University of Science and Technology Liaoning, Anshan, China 3 Chao Yang Iron & Steel Construction., Ltd. of An steel Group Corporation, Anshan, China Oliva Diego Editor Universidad de Guadalajara, MEXICO Competing Interests: The authors have declared that no competing interests exist. * E-mail: fulihua1@126.com 29 6 2023 2023 18 6 e028757313 4 2023 7 6 2023 © 2023 Zhang et al 2023 Zhang et al https://creativecommons.org/licenses/by/4.0/ This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited. To address the problems of low accuracy and slow convergence of traditional multilevel image segmentation methods, a symmetric cross-entropy multilevel thresholding image segmentation method (MSIPOA) with multi-strategy improved pelican optimization algorithm is proposed for global optimization and image segmentation tasks. First, Sine chaotic mapping is used to improve the quality and distribution uniformity of the initial population. A spiral search mechanism incorporating a sine cosine optimization algorithm improves the algorithm’s search diversity, local pioneering ability, and convergence accuracy. A levy flight strategy further improves the algorithm’s ability to jump out of local minima. In this paper, 12 benchmark test functions and 8 other newer swarm intelligence algorithms are compared in terms of convergence speed and convergence accuracy to evaluate the performance of the MSIPOA algorithm. By non-parametric statistical analysis, MSIPOA shows a greater superiority over other optimization algorithms. The MSIPOA algorithm is then experimented with symmetric cross-entropy multilevel threshold image segmentation, and eight images from BSDS300 are selected as the test set to evaluate MSIPOA. According to different performance metrics and Fridman test, MSIPOA algorithm outperforms similar algorithms in global optimization and image segmentation, and the symmetric cross entropy of MSIPOA algorithm for multilevel thresholding image segmentation method can be effectively applied to multilevel thresholding image segmentation tasks. The author(s) received no specific funding for this work. Data AvailabilityAll relevant data are within the manuscript and its Supporting Information files. Data Availability All relevant data are within the manuscript and its Supporting Information files. ==== Body pmc1. Introduction Image segmentation is a key step in image recognition, image analysis and a classical challenge in image processing [1, 2], and is widely used in target detection, face recognition, industry and aviation [3], among others. Its principle is the technique and process of merging pixel points with similar attributes in an image into several regions and proposing regions of interest. Currently, image segmentation methods can be roughly classified into four types: point, line, and boundary-based approaches [4], threshold-based approaches [5], region-based approaches [6], and morphology-based approaches and image segmentation algorithms formed based on specific theories [7] that have emerged in recent years. Among them, the thresholding method is becoming increasingly widely used for image segmentation because of its advantages of easy operation, high efficiency, fast processing speed, and stable performance. This method has become one of the most widely used methods in image segmentation. As the most common method used in image segmentation, thresholding employs a parallel region segmentation technique. The segmentation method that divides an image into two major classes, background, and target, is called single-threshold segmentation, which only requires the selection of a The method of segmenting the image into multiple target and background classes is called multi-threshold segmentation, which requires the selection of multiple thresholds for processing. The segmented region is labeled [8]. However, multi-threshold segmentation of images increases exponentially in computational complexity as the number of thresholds increases, leading to problems such as low accuracy and slow convergence of traditional multi-level threshold image segmentation methods. To solve this problem, more and more researchers are introducing swarm intelligence optimization algorithms [9] in solving image segmentation problems to improve segmentation accuracy and speed. Common threshold selection methods for multi-threshold segmentation incorporating swarm intelligence optimization algorithms include the Otsu method [10, 11], Kapur entropy method [12, 13], fuzzy entropy [14, 15], and minimum cross entropy [16, 17]. Ma [18] et al. proposed an improved multi-threshold image segmentation method based on the whale optimization algorithm (RAV-WOA) using the inter-class variance (Otsu method) as the objective function. A backward learning strategy is introduced in the initialization of the RAV-WOA population, and an adaptive weighting strategy is introduced to balance the algorithm’s global search ability and local exploitation ability. The experimental results show that the segmentation results of RAV-WOA in multi-threshold image segmentation have better quality and stability than other algorithms. Qi [19] et al. proposed a new multilevel image segmentation method (MIS-XMACO) based on the population intelligence algorithm (SIA) to enhance image segmentation of COVID-19 X-rays. An improved ant colony optimization algorithm combining directed crossover (DX) and directed mutation (DM) strategies shows more stable and superior segmentation results than other models at different threshold levels. Jiang [20] et al. proposed a multilevel thresholding image segmentation method based on the Improved Sticky Mushroom Algorithm (ISMA) and symmetric cross entropy for global optimization and image segmentation tasks and achieved better results in multilevel thresholding image segmentation by elite backward learning strategy adaptive probability thresholding and other strategies. Chen [21] et al. developed an algorithm called the Poplar Optimization Algorithm (POA) to solve the continuous optimization problem, which mimics the sexual and asexual reproduction mechanisms of poplar trees, where the algorithm details the basic idea of how to perform sexual and asexual reproduction for individuals, and the experimental results show that the algorithm can effectively find the optimal threshold for image segmentation. Hussien [22] et al. proposed the VCSWOA algorithm by fusing Gaussian wandering, CMA-ES, and evolution emerging from viral swarm search (VCS), significantly improving image segmentation results compared to other swarm intelligence algorithms. Hosny [23] et al. proposed an improved coronavirus optimization algorithm to solve the image segmentation problem and applied it to the segmentation of satellite images. Experiments showed the superiority of the proposed algorithm in the image segmentation problem. Houssein [24] et al. proposed an improved golden jackal optimization algorithm (IGJO) for skin cancer classification and early diagnosis. Experimental results showed that the algorithm outperformed other alternative algorithms regarding PSNR, SSIM, FSIM, and MSE segmentation metrics, effectively solving the segmentation problem. Yu et al. [25] updated the positions of the top three wolves in the wolf pack optimization algorithm according to the differences in alphas, thus proposing the EGWO algorithm. The experimental results showed that the EGWO algorithm is reliable and effective in practical image segmentation applications. The above improved algorithm and most of the present researchers are experimenting with image segmentation of grayscale images, while color images often have more useful information, but there is less research on this aspect of color image segmentation. In this paper, an improved pelican optimization algorithm (MSIPOA), is proposed and applied to multi-threshold color image segmentation. First, Sine chaotic mapping is used to make the initial population distribution more uniform, and spiral predation strategy, positive cosine optimization algorithm, and levy strategy are introduced to improve the ability of MSIPOA to jump out of local optimum. The convergence speed and accuracy of MSIPOA were verified by a total of 12 test functions with single and multiple peaks. Combining MSIPOA with symmetric cross-entropy multi-threshold segmentation effectively improves the accuracy and speed of multi-threshold image segmentation. Eight color images from the Berkeley University BSDS300 image segmentation test set were selected for the study. The experimental results show that the MSIPOA symmetric cross-entropy-based multilevel thresholding image segmentation method outperforms other swarm intelligence optimization algorithms in FSIM, SSIM, and PSNR. Therefore, the contribution of this paper is as follows: (1) The MSIPOA algorithm is proposed for the characteristics that the POA algorithm converges slowly and quickly falls into the local optimum. Twelve test functions fully demonstrate the convergence ability of the MSIPOA algorithm. (2) A multi-level thresholding image segmentation method based on MSIPOA symmetric cross-entropy is used for multi-threshold color image segmentation. The experimental results show that the method outperforms other swarm intelligence optimization algorithms in FSIM, SSIM, and PSNR test metrics. The rest of this paper is organized as follows. In Section 2, the basic pelican optimization algorithm principles are presented. Section 3 details the improvement strategy of MSIOIA and compares the effect with six new algorithms in 12 test functions to verify the superiority of the MSIPOA algorithm. Section 4 compares the effectiveness of MSIPOA-based symmetric cross-entropy multilevel thresholding image segmentation methods on FSIM, SSIM, and PSNR with other swarm intelligence optimization algorithms to verify the effectiveness of MSIPOA for multi-threshold image segmentation. The conclusions of this paper are presented in Section 5. 2. Pelican Optimization Algorithm The Pelican Optimization Algorithm (POA) [26] was proposed by Pavel Trojovský and Mohammad Dehghani in 2022, which simulates the natural behavior of pelicans during the hunting process, which is divided into two main phases: the approaching prey phase and the surface flight phase. The mathematical models developed by POA depending on the hunting stage are as follows: 2.1. Moving towards prey (exploration phase) In the first stage of Pelican’s optimization algorithm, it randomly determines the location of the prey and then moves towards this determined area. The mathematical expression for the behavior of the pelican during this phase is as follows: Pi=Xk,i=1,2,…,N,k=1,2,…,N (1) xi,jP1={xi,j+rand⋅(pj−I⋅xi,j),Fp0.5,Xij(t)+r1⋅cos(r2)⋅|r3Pbest(t)−Xij(t)|,r4<0.5, (7) where t is the number of current iterations and Xij(t) denotes the component of the position of individual i in dimension j at the t iteration; r1,r4 is a random number of [0,1]; r2 is a random number of [0,2π]; r3∈(0,+∞); Pbest(t) is the optimal solution position at the t iteration. Inspired by the spiral predation mechanism of the whale optimization algorithm [28], the method was introduced into the pelican optimization algorithm so that it gradually approaches the prey in a spiral manner during the approaching prey phase to expand the search range and increase the global search capability. And combining this method with the sine cosine optimization algorithm, the first stage mathematical expression of the pelican optimization algorithm after fusing these two strategies is as follows: xi,jP1={ez⋅l⋅cos(2πl)⋅xi,j+r1⋅sin(r2)⋅|r3⋅xi,j−pj|,Fp