Literature DB >> 35342218

A new fusion of whale optimizer algorithm with Kapur's entropy for multi-threshold image segmentation: analysis and validations.

Mohamed Abdel-Basset1, Reda Mohamed1, Mohamed Abouhawwash2,3.   

Abstract

The separation of an object from other objects or the background by selecting the optimal threshold values remains a challenge in the field of image segmentation. Threshold segmentation is one of the most popular image segmentation techniques. The traditional methods for finding the optimum threshold are computationally expensive, tedious, and may be inaccurate. Hence, this paper proposes an Improved Whale Optimization Algorithm (IWOA) based on Kapur's entropy for solving multi-threshold segmentation of the gray level image. Also, IWOA supports its performance using linearly convergence increasing and local minima avoidance technique (LCMA), and ranking-based updating method (RUM). LCMA technique accelerates the convergence speed of the solutions toward the optimal solution and tries to avoid the local minima problem that may fall within the optimization process. To do that, it updates randomly the positions of the worst solutions to be near to the best solution and at the same time randomly within the search space according to a certain probability to avoid stuck into local minima. Because of the randomization process used in LCMA for updating the solutions toward the best solutions, a huge number of the solutions around the best are skipped. Therefore, the RUM is used to replace the unbeneficial solution with a novel updating scheme to cover this problem. We compare IWOA with another seven algorithms using a set of well-known test images. We use several performance measures, such as fitness values, Peak Signal to Noise Ratio, Structured Similarity Index Metric, Standard Deviation, and CPU time. © This is a U.S. government work and not under copyright protection in the U.S.; foreign copyright protection may apply 2022.

Entities:  

Keywords:  Image segmentation; Kapur’s entropy; Linearly convergence; Local Minima; Whale optimization algorithm

Year:  2022        PMID: 35342218      PMCID: PMC8935268          DOI: 10.1007/s10462-022-10157-w

Source DB:  PubMed          Journal:  Artif Intell Rev        ISSN: 0269-2821            Impact factor:   8.139


Introduction

Image segmentation is the practice of splitting an image into several homogeneous and continuous regions that do not overlap so that any two of these regions are heterogeneous. It is a mandatory step in image processing (Kuruvilla et al. 2016) and computer vision (Hu et al. 2016) to facilitate the analysis and understanding of images. Recently, there are various types of images to be processed and analyzed, such as X-ray (Zhang et al. 2020), Nuclear Magnetic Resonance (NMR) (Griswold et al. 2019), computed tomography (Farook et al. 2020; Zhang et al. 2020), sonar (Song and Liu 2020), position emission tomography (Bal et al. 2020), thermal (Al-Musawi et al. 2020), light intensity (gray-scale), and color images. Several image segmentation approaches have been developed, including region detection (Aksac et al. 2017), edge detection (Prathusha and Jyothi 2018), Feature selection-based clustering (Narayanan et al. 2019), and threshold segmentation (Han et al. 2017). Threshold segmentation is one of the most commonly used approaches categorized into bi-level threshold and multi-level threshold. In the bi-level threshold, we can group image objects into two classes: foreground (object) and background. When the image contains different objects with different intensity, the bi-level threshold couldn’t segment it. Accordingly, we use a more complex threshold segmentation called a multi-level one. The multi-level threshold groups the image objects into more than two classes. Threshold segmentation is simple, accurate, fast, and needs small storage. Unfortunately, time complexity increases exponentially with the multi-level threshold. The used threshold techniques try to find the optimal threshold values based on two approaches: parametric and non-parametric approaches (Dirami et al. 2013). In the parametric approach, each class in the image has some parameters to be calculated using a probability density function. The non-parametric one obtains the threshold values by maximizing some of those functions (Kapur’s entropy (Kapur et al. 1985), fuzzy entropy (Oliva et al. 2019), and Otsu method (Otsu 1979; Bhandari and Kumar 2019)) without using statistical parameters. The traditional techniques used to find the optimal threshold values are time-consuming. Meta-heuristic algorithms have been used and integrated with threshold segmentation techniques to overcome the high time complexity for a multi-level threshold. Many authors pay attention to employ meta-heuristic algorithms for solving multi-threshold segmentation problems, including Genetic Algorithm (GA) (Elsayed et al. 2014), Particle Swarm Optimization (PSO) (Guo and Li 2007; Xiong et al. 2020; Di Martino and Sessa 2020), ant-colony optimization algorithm (Kaveh and Talatahari 2010), Whale Optimization Algorithm (WOA) (Abd El Aziz et al. 2017), symbiotic organisms search optimization (Chakraborty et al. 2019), and firefly optimization (Erdmann et al. 2015). Unfortunately, the algorithms in the literature for the ISP suffer at least from one of the following problems:Therefore, in this paper, a new optimization approach based on the improved whale optimization algorithm is proposed to overcome the previous drawbacks for the ISP. Falling into local minima, Low convergence speed, Not feasible for tackling images having higher threshold levels. Recently, a new optimization algorithm (Mirjalili and Lewis 2016), namely whale optimization algorithm (WOA), has been proposed for tackling continuous optimization problems. Although the significant performance of the WOA in reaching good outcomes for several real optimization problems (Abdel-Basset et al. 2020; Jafari-Asl et al. 2021; El-Fergany et al. 2019), it still suffers from the local minima and the low convergence speed. Therefore, in this paper, WOA is improved using two strategies to promote its exploration and exploitation capabilities. The first strategy is the linearly convergence increasing and local minima avoidance technique (LCMA) that moves the positions of the worst solutions to be near to the best solution and at the same time randomly within the search space of the problem to avoid falling into local minima. The second strategy is the ranking-based updating method (RUM) to replace the unbeneficial solutions with other better solutions, helping in improving its performance. After then, these strategies are effectively integrated with the standard WOA to maximize Kapur’s entropy for tackling the ISP. Empirically, the improved WOA (IWOA) is validated 13 test images taken from Berkeley Segmentation Dataset (BSD) with threshold levels between 2 and 100 to check the efficacy of IWOA in selecting the optimal thresholds. To see the superiority of the proposed algorithm, it is compared with a number of well-known optimization algorithms under various performance metrics: SSIM, PSNR, STD, fitness value, and CPU time. The empirical outcomes prove the efficacy of IWOA on these images in comparison to the compared optimization algorithms for SSIM, PSNR, STD, and the values of the objective. Unfortunately, the proposed algorithm couldn’t overcome some compared algorithms for the CPU time as our main limitations, but its superiority for the other metrics, such as SSIM, PSNR, and STD makes a better alternative for the existing method proposed for ISP. Finally, we summarize the main contributions of this paper as follows:We organize the remaining of the paper as follows. Section 2 presents the previous works done for tackling the multi-threshold image segmentation problem. In Sect. 3, we introduce the multi-threshold image segmentation problem using Kapur’s entropy. Moreover, Sect. 4 describes the whale optimization algorithm. Section 5 explains and illustrates the proposed algorithm. Section 6 shows the experiments outcome and their discussions. Finally, Sect. 7 draws the conclusions and the future works about the proposed algorithm. We propose an Improved Whale Optimization Algorithm (IWOA) based on Kapur’s entropy for solving the multi-threshold image segmentation. We improve the performance of IWOA using the LCMA, and RUM. Several experiments and the Wilcoxon rank-sum test are conducted to prove the efficacy of IWOA in comparison with other well-known algorithms based on some performance metrics, including Peak Signal to Noise Ratio (PSNR), Structured Similarity Index Metric (SSIM), and fitness value metrics using a set of benchmark test images.

Related work

Image segmentation groups the pixels of an image according to some specific criteria, including textures, shape, color, and intensity. Many applications exploit image segmentation in understanding and analyzing the acquired images, such as medical diagnosis (Mittal et al. 2020; Zhang et al. 2020; Sinha et al. 2020; Ren et al. 2019), object recognition (Wang et al. 2019), geographical imaging (Chen 2020), satellite image processing (Karydas 2020), remote sensing (Su and Zhang 2017), historical documents (Alberti et al. 2017), and historical newspapers (Naoum et al. 2019; Barman et al. 2020). Although threshold segmentation is easy to implement and has a low computational burden, it is still a challenge for the researchers to determine the optimal n- level threshold. The traditional methods to search for optimal thresholds values such as an exhaustive search can be tedious and computationally expensive. Many authors handled the problem of n- level threshold as an optimization problem solved using meta-heuristic algorithms, which could overcome several optimization problems (Abdel-Basset et al. 2020a, b, [44], Abdel-Basset et al. 2020; Lang and Jia 2019). We will review several attempts done for the optimal threshold selection. Singla and Patra (2017) selected the initial thresholds by obtaining the mid-points of any two consecutive peaks of the energy curve of an image. Then, the cluster validity measure tries to find the potential thresholds and the bounds that may contain the optimal ones. Finally, the GA algorithm seeks to discover the optimal thresholds from its defined bounds. Also, Manikandan et al. (2014) proposed GA with a simulated binary crossover to maximize the Kapur’s entropy for medical image segmentation. Another meta-heuristic algorithm PSO introduced for image segmentation. Maitra and Chatterjee (2008) integrated PSO with cooperative and comprehensive learning to face the dimensionality curse and to reduce the premature convergence of the swarm, respectively. Consequently, a modified PSO (Liu et al. 2015) employed the adaptive inertia and the adaptive population to improve its performance for maximizing the Otsu’s function to find the optimal thresholds, which will separate homogenous regions within an image. The MPSO has been validated on 12 test images and compared with the standard PSO and GA. Ghamisi et al. (2013) introduced fractional-order Darwinian PSO to solve the problem of the n-level threshold based on Otsu to maximize the variance between the classes. Another metaheuristic is the Bacterial Foraging Algorithm (BFA). Sanyal et al. (2011) applied an adaptive BFA for gray-scale image segmentation depending on fuzzy entropy, which adaptively switches the bacterium between exploitation and exploration stages. Also, the authors in Sathya and Kayalvizhi (2011) accelerated the convergence of a modified BFA by moving the best bacteria to the subsequent iterations. The results proved that the modified BFA based on Otsu’s function has a high convergence speed in comparison with Kapur’s one. After that, a cooperative BFA (Liu et al. 2015) combined a self-adaptive foraging strategy, which controls the swim amplitude and cell-to-cell communication. The cooperative BFA had higher quality segmentation and less CPU time. Furthermore, BFA (Tang et al. 2017) is incorporated with PSO to support the global search capability in addition to the weak bacterium, which selects a random strong one to reach a location near it. Pan et al. (2017) developed BFA depending on edge-detection for cell image segmentation as the traditional edge-detection techniques are costly expensive and may produce disconnected edges. Lately, BFA (Wang et al. 2019) is integrated with PSO to avoid randomly selecting the direction of the bacterial chemotactic step. Mostafa et al. (2017) proposed a liver image segmentation using WOA that multiplies the clustered image by the binary one. This clustered image divides the liver image into a predetermined number of clusters. Also, the algorithm used the statistical image to indicate the liver position and converted it into a binary one. The problem of multi-level threshold segmentation (Abd El Aziz et al. 2018) is handled as a multi-objective problem that maximized both the Kapur’s entropy and Otsu’s function. Abd El Aziz et al. (2017) examines the performance of the WOA and Moth-Flame Optimization (MFO) algorithm. WOA traps into local optima while MFO succeeds in balancing the switch between the exploration and the exploitation phases (Sikariwal and Chanak 2018). Ultimately, some of the most recent multilevel thresholds image segmentation method are briefly discussed in Table 1.
Table 1

Some recent methods proposed for ISP

AlgorithmsContributions and disadvantages
Hybrid slime mould optimizer with whale optimization algorithm (HSMA_WOA) (Abdel-Basset et al. 2020)Contributions
– This paper proposed a new image segmentation algorithm based on integrating the slime mould algorithm (SMA) with the whale optimization algorithm for segmenting the Covid-19 X-ray images
– This approach employed both SMA and WOA together to unify their advantages for overcoming the disadvantages of each one separately
– Afterward, HSMA_WOA has validated 12 chest X-ray images and its outcomes were compared with those of a number of well-known optimization algorithms to see their efficacy
– Finally, the experimental findings show the superiority of the HSMA_WOA over the others
Disadvantages
– Its performance for general test images has not been observed
An equilibrium optimizer (EO) (Abdel-Basset et al. 2021)Contributions
– In this paper, the equilibrium optimizer was adapted for the multilevel thresholding image segmentation problem by maximizing Kapur’s entropy to find the optimal threshold values for various threshold levels
– It has been validated using a number of images and compared to some well-known optimization algorithms to appear its efficacy
Disadvantages
– Still suffers from falling inside local minima which prevents it from reaching the optimal threshold values
Improved marine predators algorithm (IMPA) (Abdel-Basset et al. 2020)Contributions
– Recently, a novel multilevel thresholding image segmentation approach has been proposed for segmenting the Covid-19 X-ray images
– This approach was based on the marine predators algorithm improved by a ranking-based diversity reduction strategy to increase the exploitation capability of the standard marine predators algorithm
– The experimental outcomes proved the superiority of this improved one in terms of PSNR, SSIM, standard deviation, fitness values, and UQI
Disadvantages
– A little expensive in terms of the computational cost compared to the standard MPA and some of the rival algorithms
Antlion optimization (ALO) and multiverse optimization (MVO) algorithms (Chouksey et al. 2020)Contributions
– In this paper, both ALO and MVO have been proposed for overcoming the multilevel thresholding image segmentation problem by maximizing both Kapur’s entropy and the Otsu method
– Those two algorithms were compared with other evolutionary methods in terms of PSNR, SSIM, feature similarity index (FSIM), standard deviation, stability analysis, and fitness values. The experimental results showed that MVO is faster and better than the compared methods
Disadvantages
– Its performance for threshold levels higher than 5 is not known and hence not preferred for the images that have threshold levels higher than that
An improved Bloch quantum artificial bee colony algorithm (ABC) (Huo et al. 2020)Contributions
– The ABC has been improved by the quantum Bloch spherical coordinates of the qubit for reaching better outcomes within a small number of iterations when solving the multilevel thresholding image segmentation problem
– The experimental outcomes show the superiority of the proposed algorithm
Disadvantages
– Low convergence speed
– Falling into local minima
Coyote optimization algorithm (COA)(Moses 2020)Contributions
– In this paper, the COA was adapted to tackle the ISP
– The experimental outcomes showed the superiority of the COA in terms of convergence speed, objective values, and image quality
Disadvantages
– Moves slowly to the near-optimal solution and this will make it consume several function evaluations
Crow search algorithm (CSA) (Moses et al. 2019)Contributions
– Those authors proposed the CSA with the Otsu method as an objective function for selecting the optimal threshold values
– The CSA proved its superiority over the improved particle swarm optimization (PSO), firefly algorithm (FFA), and also the fuzzy version of FA in terms of the quality of the segmented image, and the objective values
Disadvantages
– Low convergence speed
– Not observed for threshold levels greater than 5
Modified water wave optimization (MWWO) algorithm (Yan et al. 2020)Contributions
– In this paper, the water wave optimization algorithm was modified by the opposition-based learning strategy and ranking-based mutation strategy to find the optimal values for the underwater image segmentation problem
– The opposition-based learning was used to increase the diversity of the individuals to avoid being stuck into local minima and reach better outcomes. While the ranking-based mutation operator was used to improve the selection probability
– The experimental results showed the superiority of MWWO in terms of the segmented images and the objective values over the other compared algorithms
Disadvantages
– Not compared with the recently-published algorithms where the latest compared algorithm was published in 2017
Modified Red Deer Algorithm (MRDA) (De et al. 2020)Contributions
– The red deer algorithm modified by a few adaptive approaches to improve its efficacy has been proposed in this research for tackling the image segmentation problem
– This algorithm was compared with the standard one and genetic algorithm over a set of real-life test images and could prove its efficacy in terms of fitness value, convergence speed, and standard deviation
Disadvantages
– Not investigated using several test images to check its stability, in addition to using a huge number of iteration up to 1000 which notifies its low convergence speed in the right direction of the near-optimal solution
Modified hybrid bat algorithm (Yue and Zhang 2020)Contributions
– Recently, the bat algorithm has been modified by a genetic crossover operator and a smart inertia weight (SGA-BA) to enhance its performance for maximizing the Otsu method to estimate the optimal thresholds of a set of images
Disadvantages
– Consuming computational cost higher than the other compared algorithm
Improved flower pollination optimizer (IFPA) (Li and Tan 2019)Contributions
– In this paper, the authors improved the flower pollination algorithm for optimizing the Tsallis entropy as an objective function to find the optimal thresholds that separate similar regions within an image
– The experimental results show the superiority of this improved one compared to those three algorithms
Grey Wolf Optimizer (GWO)(Khairuzzaman and Chaudhury 2017)Contributions
– The GWO has been proposed for finding the optimal thresholds to separate similar regions within an image. This algorithm used Kapur’s entropy and Otsu method as objective functions to find those optimal thresholds
– The experimental results show that GWO could be superior in terms of the quality of segmented images and stability and speed
Disadvantages
– Using the intensity of the image to perform the segmentation process
– Not adequate for the images having intensity inhomogeneity problem
Some recent methods proposed for ISP Many other meta-heuristic algorithms are developed for image segmentation, such as cuckoo search (Bhandari et al. 2014), bat algorithm (Yue and Zhang 2020), flower pollination algorithm (Wang et al. 2015), crow search algorithm (Oliva et al. 2017; Upadhyay and Chhabra 2019), Harris hawk optimization algorithm (Bao et al. 2019), grey wolf optimizer (Yao et al. 2019), krill herd algorithm (He and Huang 2020), bee colony algorithm [59], multi-verse optimizer (Kandhway and Bhandari 2019), and locust search algorithm (Cuevas et al. 2020). Unfortunately, the traditional methods for threshold image segmentation are costly in terms of computations and time-consuming. Therefore, many of the researchers find themselves forced to search for new ways to solve this problem in less time and not computationally expensive. One of these ways is to deal with threshold image segmentation as an optimization problem that can be solved using meta-heuristic algorithms. However, the success of meta-heuristic algorithms in obtaining an optimal solution in a reasonable time, the balance between the exploration and exploitation phases and falling into local optima are the biggest problem to face when dealing with theses algorithms. Also, the convergence speed of the algorithms toward the optimal solution may be slow. As a result, this paper comes to address the aforementioned drawbacks and solve the problem of threshold image segmentation. WOA is one of the meta-heuristic algorithms that are applied to many problems (Mafarja and Mirjalili 2018; Liu et al. 2020; Abdel-Basset et al. 2018). This motivates us to propose an improved whale optimization algorithm that employs the LCMA technique for tackling threshold image segmentation. LCMA works on solving two problems that the WOA suffers from. WOA at the start has high exploration capability and reduces gradually with the iteration; this is considered the first problem due to reducing the convergence speed within the starting of the optimization process. After finishing the exploration capability, which after the first half of the iteration, the WOA will pay attention to the best-so-far solution to find a better solution around it if it is not local minima and this is considered the second problem. Accelerating the convergence speed of the algorithm toward the best-so-far and avoiding falling into local minima motivate us to propose LCMA to move the locations of K worst individuals near to the location of the best one and randomly within the search space according to a certain probability, in addition to using the ranking-based updating method (RUM) to replace the unbeneficial solutions with other solutions generated based on a novel scheme helping the algorithm in exploiting more solutions around the best-so-far solutions. K, at the start, carries a small value, and this value increases gradually with the iteration until getting to the maximum (all the individuals in the population) at the ending of the optimization process. Kapur’s entropy illustrated in the following section is used to evaluate the quality of the solutions.

Mathematical model of Kapur’s entropy

Kapur’s entropy (Kapur et al. 1985) is a method that works on finding the optimal threshold values that will separate the similar regions within an image by maximizing the entropy of the histogram. Let’s start with a bi-level threshold. In bi-level threshold, this method tries to find the threshold value t that divides an image into background and foreground, namely, B and F that maximize the following function:where determines the number of pixels with a grey value i, and T is the total number of pixels in an image. and refer to the respective probabilities of each class. L is the highest value for a pixel in a grey-scale level and equal 255. The previous function was used for finding the threshold value for the bi-level threshold problem. Also, it can be adapted easily for tackling the multi-level threshold problem by redesigning as follows:where n is the number of threshold levels, and is the threshold values such that: At the end, our proposed algorithm will work on maximizing Eq. (4) to find the optimal threshold values.

Whale optimization algorithm

In WOA, Mirjalili and Lewis (2016) simulates the actions and conducts performed by the humpback whales. The whales surround the victim in a spiral shape swimming up to the surface in a shrinking circle using an astounding feeding method called the bubble-net approach when attacking their victim or prey. WOA simulates this hunting mechanism by making a probability of selecting between a spiral model and a shrinking encircling prey to generate the new position of the current whale. To exchange practically between the spiral model and the shrining encircling mechanism, first, a random number, namely p, is created between 0 and 1 and if this number is less than 0.5, then the encircling mechanism is applied; otherwise; the spiral model is employed. The mathematical formula for the encircling mechanism (exploitation phase) is as follows:where is the position of the current whale, it is the current iteration, is the position of the best whale in the population, rand is a random number in [0, 1], refers to the course of iterations, is computed using Eq. (12) which measures the distance between the best-so-far solution, multiplied by a random number C between 0 and 2, and the current whale and a is a distance control parameter linearly decreased from 2 to 0. The spiral model tries to mimic the helix-shaped movement of whales, so it is proposed between the position of the victim and the whale. The mathematical model of a spiral shape (exploitation phase) is as follows:where indicates the distance between the position vector of prey and whale, l is a random number between [−1, 1], b is a constant to describe the logarithmic spiral shape. To search for the prey in another direction in the search area, WOA uses a random whale from the population to update the position of the current whale in the exploration phase. If is greater than 1, then the current whale is updated according to a random whale from the population. The mathematical model of the search for the prey (exploration phase) is as follows:where is a random position vector selected from the current population. The pseudo-code of the standard whale optimization algorithm is described in Algorithm 1.

The proposed approach

In this section, the improved whale optimization algorithm (IWOA) is adapted for tackling multi-threshold image segmentation problems. IWOA is improved using two strategies to promote its exploration and exploitation capabilities:The next subsections will illustrate the proposed algorithm in more detail. The first strategy is the linearly convergence increasing and local minima avoidance technique (LCMA) that moves the positions of the worst solutions to the direction of the best-so-far solution or within the search space of the problem to prevent stuck into local minima. The second strategy is the ranking-based updating method (RUM) to replace the unbeneficial solutions with other better solutions, helping in improving its performance.

Initialization

In this phase, a population of N whales is randomly generated. The dimension of each whale is initialized randomly within the boundaries of gray levels of the image as illustrated in the following equation:where and is the minimum and maximum of the gray level values in the image histogram, and rand(0, 1) is a random number in the range of [0, 1]. The grey-scale level is represented in 8-bit, where the lowest value in decimal is 0 and the highest is . For representing the positions of the whales within and , Eq. (18) will be used to distribute the position of each whale within this boundary. For example, let’s imagine an image with homogenous regions (n) equal to 10. For finding those threshold values that will separate those regions from each other using the WOA, then WOA will spread its solutions within the search space randomly as shown in Fig. 1 that depicts a solution from among all the solutions to illustrate a representation of the solutions to the image segmentation problem for the grey-scale image.
Fig. 1

Depiction of a solution to multilevel thresholding

Depiction of a solution to multilevel thresholding After distributing the solutions within the boundaries of the problem, these values should be transformed into integers because each pixel in the grey image is represented with only 8-bit for an integer value and subsequently each pixel will only load an integer value not decimal. As a result, the values before the dot within Fig. 1 will be used to represent the solution for the image segmentation problem and the numbers after the dot will be truncated as shown in Fig. 2.
Fig. 2

Unordered integer threshold values

Unordered integer threshold values Afterward, the integers in Fig. 2 will be arranged as depicted in Fig. 3 and Eq. (4) is called to calculate the quality of those threshold values under Kapur’s entropy.
Fig. 3

Ordered integer threshold values

Ordered integer threshold values The previous steps will distribute the dimensions (number of threshold values required) of the problem within the search space, convert them into integer values, arrange them, and evaluate them using Eq. (4) will be applied for each solution within the initialization step. After that, the initialization step will terminate and the solution created using WOA within the optimization process will be only converted into an integer, arranged, and evaluated using Eq. (4).

Linearly convergence increasing and local minima avoidance strategy

We propose a linearly convergence increasing and local minima avoidance strategy (LCMA) to accelerate the convergence speed of the worst solutions toward the best solution and at the same time to avoid the local minima problem that the optimization algorithms may fall into. LCMA updates a number of K worst individuals, or whales for consistency with the proposed algorithm, in the population towards the best solution found so far and randomly within the search space of the problem based on a certain probability known as exploration rate (ER) to avoid falling into local minima. We can calculate K using the following equation:where N determines the size of the population, it is the current iteration, maxIter is the maximum number of iterations, and x is a fixed number of the solutions that will be updated within each iteration. round is used to round a number to the nearest integer. After calculating the number of worst individuals K, we update each one of the worst individuals using Eq. (20) to update their positions toward the best solution gradually.where refers to the worst solution, and is a random numerical vector in the range of [0, 1]. and are two vectors used to contain the upper bound and the lower bound of the search space of the optimization problem, respectively. is a binary vector used to determine if the exploration capability will be applied or not, and will be generated according to the following formula:In Eq. (21), if the current position in vector corresponding to a value in vector is greater than ER then this position will take a value of 1 (which this position will take an exploration capability), otherwise it will take a value 0. Algorithm 2 illustrates the steps of the LCMA technique. Typically, at the start, the optimization algorithms give the highest capability for exploration even exploring most of the regions within the search space. This capability may waste most of the iterations within the optimization process without any benefits, although the best current solution may not be a local minima. Subsequently, paying attention to the best-so-far solution will help in reaching the optimal solution in less time. Based on that, we propose this methodology to give the optimization algorithm a high ability on finding a better solution in a reasonable time. On the other side, in some of the meta-heuristic algorithms, its exploration capability is erased at the end of the iterations and subsequently, the possibility of finding a better solution if the current best one is local is impossible. As a result, we support a part within our methodology to dispose of this problem by giving the optimization algorithm ability on searching within the search space of the problem for a better solution. The advantage of LCMA is helping in accelerating the convergence speed toward the best-so-far solution with decreasing falling into the local minima problem. Our methodology is distinct from the evolutionary population dynamics (EPD) (Saremi et al. 2015) where, in EPD, the worst n/2 solutions are removed from the population and added alternatively n/2 solutions generated randomly around the best-so-far solution. On the other hand, LCMA will select a number of the worst-so-far solution to move them toward the best-so-far randomly with exploration rate within the search space of the problem based on a certain probability (ER) to avoid stuck into local minima. In addition, this number of the worst selected solution will start with a small number and increases with the iteration until reaching the maximum (all the individuals within the population) at the end of the iteration.

Ranking -based updating method (RUM)

Recently, a new strategy (Abdel-Basset et al. 2020) known as a ranking strategy has been proposed to replace the unbeneficial solutions with others helping the algorithm in reaching better outcomes. The main obstacle in front of this strategy is the updating method used to generate a new solution in the form that will improve the performance of the proposed algorithm. Therefore, within our work, a new updating method to promote the exploitation capability gradually with the iteration even reaching the maximum at the end of the iteration is proposed. Mathematically, this updating method is formulated as follows:Where and are the indices of two whales selected randomly from the population. is a numerical vector generated randomly between 0 and 1.

The pseudo-code of IWOA

To evaluate the solutions, we use Eq. (4) as illustrated before in Sect. 3. This function work on finding the homogenous regions based on maximizing the entropy of the histogram. In our proposed algorithm, this function is used as a fitness function to find the optimal threshold values that maximize the variance of an image. The pseudo-code of the proposed algorithm IWOA to solve the multi-thresholding segmentation problem is shown in Algorithm 3 and the same steps are pictured in Fig. 4. In Algorithm 3 shows the pseudo-code of the proposed algorithm IWOA to solve the multi-thresholding segmentation problem. In Algorithm 3, the standard algorithm is integrated with the LCMA strategy to promote its exploitation in addition to avoiding entrapment into local minima as possible. Furthermore, to utilize the whales in the population within the optimization process as much as possible, the RUM is used as an attempt to increase the exploitation capability of the proposed to find a better solution. Broadly speaking, RUM is employed to replace those solutions which spent a consecutive number, namely Rk, of the failed attempts exceeding the predefined threshold thr recommended 3.
Fig. 4

Flowchart of the proposed algorithm IWOA for Multi-threshold image segmentation problem

Since the LCMA moves randomly a number of the worst solution toward the best-so-far solution, a large number of the solutions around the best-so-far may be skipped without exploring although of the possibility of finding better solutions within them. Therefore, the RUM is used with the proposed algorithm to explore gradually the solutions around the best-so-far solutions as an attempt to reach better outcomes. Figure 4 shows the flowchart of the IWOA. At the start, within this figure, the test images and their histogram are inputted to the proposed algorithm; after that, the initialization step is executed to distribute a number of the solutions within the upper and lower bound values of 255 and 0, respectively. Those initialized solutions will be updated by the standard WOA, LCMA, and RUM as depicted in this figure for reaching better fitness values. Finally, the best-so-far solution is returned to generate the segmented image using algorithm 4. Flowchart of the proposed algorithm IWOA for Multi-threshold image segmentation problem

Our motivations to WOA and segmented image generation algorithm.

At the start, WOA starts with a high exploration capability and this capability gradually reduces with the iteration even fading away after the first half of the iterations. Afterward, the exploitation capability will dominate the whole optimization process to explore most of the regions around the best-so-far solution for finding better if it is not local minima. And this is considered the main advantage of WOA, in addition to the easiness to be understood and implemented, which motivates us to use it. But unfortunately, the WOA suffers from several disadvantages, which are described as follows:To overcome all those drawbacks, we used LCMA and RUM to help in improving the convergence of the WOA and avoiding stuck into local minima problems within the optimization process. The main advantages of our proposed are listed as:The main drawbacks of our proposed are listed as:How the segmented image will be generated under the threshold values obtained? Let’s suppose that an original image is called A with a number of rows and columns of N and M, respectively. And after finding the optimal threshold values under any threshold level, the segmented image will be generated as shown in algorithm 4. The high exploration capability at the outset may waste a lot of iterations without any beneficial or utilizing optimally for those the wasted iterations. After the first half of the iterations, the exploration capability will be terminated, and subsequently, the possibility of finding a better solution if the current one is local minima is impossible. In the second half of the iteration, the exploitation capability will dominate the whole optimization process to explore most of the regions around the best-so-far solution, and subsequently, a lot of the iterations may be wasted if the current best solution is local minima. Our proposed has a high ability on the exploitation at the outset to increase the convergence toward the best-so-far solution, and high ability on the exploration within the optimization process to help in disposing of local minima problem. Utilizing each whale in the population as much as possible for reaching better outcomes. Also, it helps in exploiting optimally the individuals of the population within the optimization process. Increase the convergence toward the best solution in a reasonable time. A small number of parameters for adjustment. Picking the value for the ER parameter accurately to adjust the performance of the proposed for reaching a better solution. A little expensive for computational cost compared to some other algorithms.

Time complexity for the pseudo-code of IWOA

To show the speedup of the proposed algorithm, in this section, the time complexity in big-O will be designed to see that. At the outset, the main factors that especially affect the speedup of the proposed algorithm are:In regards to the time complexity formula of the proposed, it is formulated as follows:Where, the standard WOA is mainly relied only on the former first three factors and that is aggregated in big-O according to algorithm 3 as follows:Regarding the running time of the LCMA, it also depends on the previous four factors with exception of N, which is replaced by the number of worst whales K extracted using the Quicksort algorithm. Since the Quicksort is utilized, its time complexity is of in the worst case for iteration (Xiang 2011). In general, the time complexity of the LCMA is formulated as follows:The time complexity of the quick sort for all iterations is of in the worst case, meanwhile, the time complexity of replaing the worst whale is of . By compensating in Eq. (25), the time complexity of the LCMA strategy is as follows:From Eq. (26), the expression that has the highest growth rate is of . Therefore, the time complexity of the LCMA strategy in the worst case is of . Likewise, for Eq. (22), that is extended as follows:From Eq. (27), in final. The time complexity of the IWOA in the worst case is of . The population size: N. The threshold level: n The maximum iteration: . The time complexity of algorithm 2.

Experiments and discussion

Our experimental studies are performed on a desktop computer using Windows 7 ultimate platform with a 32-bit operating system, Intel Core i3-2330M CPU @ 2.20 GHz, and 1 GB of RAM. The proposed algorithm is tested using low memory capacity to validate working under the most constraint conditions. We use the Java programming language for implementing all algorithms used in our comparisons. In this section, we concern with illustrating the results of our experiments. This section organized as follows: Section 6.1 describes the test images used in our experiments. Section 6.2 shows the experimental Settings. Section 6.3 demonstrates valuation Metrics. Section 6.4 compares the performance Evaluation of IWOA and WOA. Section 6.5 investigates the performance Evaluation of our proposed algorithm with the others. Section 6.6 displays the segmented Images produced by IWOA. Section 6.7 conducts the Wilcoxon rank-sum test.

Test images description

The performance of our proposed algorithm is evaluated on nine test images taken from the Berkeley Segmentation Dataset (BSDS500), and the identifiers (ID) of those images are 61060, 105053, 181079, 232038, 277095, 299091, 157055, 108070, and 108082, in addition to four common test images: Mandrill, Lena, Barbara, and airplane. We used 13 test images in our paper in the same range where the researches in the literature used, for example, whale optimization algorithm (Abd El Aziz et al. 2017) was validated on eight test images, equilibrium optimizer for multi-level thresholding image segmentation used seven test images (Abdel-Basset et al. 2021), and Multi-Level Image Thresholding Based on Modified Spherical Search Optimizer and Fuzzy Entropy Segmentation (Naji Alwerfali et al. 2020) used ten test images. Figures 5, 6 depicts each original image out of the 13 test images and its histogram.
Fig. 5

Description of the original images and their histograms

Fig. 6

Description of the original images and their histograms

Description of the original images and their histograms Description of the original images and their histograms

Parameter settings

Our proposed algorithm is compared with Sine cosine Algorithm (SCA) (Mirjalili 2016), Firefly Algorithm (FFA) (Erdmann et al. 2015), Flower Pollination Algorithm (FPA) (Yang 2012), and standard whale optimization algorithm (Abd El Aziz et al. 2017), L-SHADE (Brest et al. 2016), improved marine predators algorithm (IMPA)(Abdel-Basset et al. 2020), equilibrium optimizer (EO) (Abdel-Basset et al. 2021), crow search algorithm (CSA) (Moses et al. 2019), hybrid WOA (WOA-DE) (Lang and Jia 2019), and salp swarm algorithm (SSA) (Wang et al. 2020). The algorithm parameters are selected based on the standard for these parameters. Also, for a fair comparison, an equal number of function evaluations used with a maximum number of iterations equal 150 and population members set to 30. Additionally, each algorithm runs 30 independently times. Table 2 summarizes the values of the IWOA parameters.
Table 2

Parameter setting for the proposed IWOA

ParameterValue
Number of runs30
Population size30
The maximum number of iterations150
X (the number of the redirected particles)4
ER0.99
thr3
Parameter setting for the proposed IWOA There are two parameters: ER and X in our proposed algorithm needed to be pick accurately for exploiting optimally the performance of our proposed algorithm. Therefore, extensive experiments are performed to extract the best value for those parameters, all those experiments are demonstrated in Figs. 7 and  8 for ER and X parameters, respectively. First, let’s move toward Fig. 7 that depicts the results of our experiments for extracting the best value of the ER parameter. This figure shows the results obtained on two images: 61060 and 105053 with threshold level 40. And inspecting this figure tells us that the best value for ER is 0.99 where it could outperform all the others in the lowest, Quartile-1 (), Quartile-2 (), Quartile-3 (), and the highest values over two images.
Fig. 7

Depiction of the Boxplot for the outcomes obtained under different value for ER parameter

Fig. 8

Depiction of the Boxplot for the outcomes obtained under different values for X parameter

Concerning X parameter, an experiment with different values for this parameter involving: 0, 1, 2, 3, 4, and 5 is conducted to extract the best one for this parameter and its results are pictured in Fig. 8 that shows that the best value obtained on two images: 61060 and 105053 with threshold level 40 was by a value of 4, but also for 61060 a value of 2 was competitive with 4. Generally, within our experiments, we used a value of 4 for X parameter. Regarding thr, it is set to as recommended in (Abdel-Basset et al. 2021) Depiction of the Boxplot for the outcomes obtained under different value for ER parameter Depiction of the Boxplot for the outcomes obtained under different values for X parameter

Evaluation Metrics

We use six criteria to evaluate the performance of the algorithms, including CPU time, fitness values, Standard Deviation (STD), Peak Signal to Noise Ratio (PSNR), Universal Quality Index (UQI), and Structured Similarity Index Metric (SSIM). We will explain these criteria as follows:The higher value of PNSR and SSIM indicate better performance. PSNR metric work on finding the ratio of the error between the original and the segmented images and don’t focus on the structure of the image after the segmentation on the correlation, luminance distortion, and contrast distortion that specifies the quality of the segmented images. As a result, SSIM is used to pay attention to measure the difference between the structures of the original image and segmented based on the following three factors: loss of correlation, luminance distortion, and contrast distortion between the original and segmented images. The CPU time is used to calculate the time in seconds taken by each algorithm. The fitness function is computed using the Kapur’s entropy mentioned above. The STD measures the variation and the dispersion of the data of a given algorithm. The PSNR (Hore and Ziou 2010) metric measures the quality of the segmented images defined by the following formula: where 255 determines the maximum pixel value of an image when we represent a pixel in 8 bits, such that: . MSE is the mean squared error and is calculated as follows: where O(i, j), S(i, j) represent the original and segmented images, respectively. PSNR is inversely proportional to MSE. The SSIM (Hore and Ziou 2010) metric calculates the difference between the structure of the segmented and original image. The mathematical formula of SSIM is defined as follows: where and defined the average intensity for both original and segmented images, respectively. and refers to the standard deviation of the original and segmented image, also, stands for the covariance between them. The constant values a and b set to 0.001 and 0.003, respectively. UQI (Egiazarian et al. 2006) is another metric utilized to determine the quality of the segmented image compared to the original one based on three factors: loss of correlation, brightness, and contrast distortion. Mathematically, this model is formulated as follows:

The performance evaluation of IWOA, WOA, and WOA-DE

Here, we seek to prove the efficacy of the proposed algorithm in comparison with the standard WOA and WOA-DE. We are interested in studying the effect of using the LCMA technique on the performance of the proposed algorithm. Figure 9 compares the three algorithms using different threshold values, including 2, 3, 4, 5, 10, 40, 60, 80, and 100. The figure shows the average PSNR values obtained by running each algorithm 30 times for all the test images for each threshold level. By observing the figure, we can see that WOA-DE reaches better PSNR for threshold levels of 2, 3, 4, 5, and 10, higher than that, the proposed algorithm could fulfill PSNR values significantly-better than the others. Consequently, IWOA obtains a higher quality segmented image than the other two WOA variants when increasing the threshold levels. Another comparison is presented in Fig. 10 based on the average fitness values of Kapur’s entropy. We use different threshold values, including 2, 3, 4, 5, 10, 20, 40, 60, 80, and 100, to show the consistency of the proposed algorithm within various threshold levels. At first, we obtain the fitness values of running each algorithm 30 times on a given threshold level. Then, we compute the average fitness value for each threshold level as the summation of the fitness values through 30 runs divided by 30. The figure shows that IWOA succeeds in obtaining better fitness values compared to WOA and WOA-DE for all different threshold levels higher than 10 and equal with the rest. In Fig. 11, unfortunately, IWOA couldn’t outperform the WOA and WOA-DE in CPU time for threshold levels higher than 40. However, the proposed algorithm is better as it outperforms WOA based on PSNR and fitness values.
Fig. 9

Comparison between IWOA, WOA, and WOA-DE based on PSNR

Fig. 10

Comparison between IWOA, WOA, and WOA-DE based on fitness values

Fig. 11

Average CPU time values on each threshold level

Regarding evaluating the convergence obtained by IWOA and WOA within the optimization process, Figure 12 is introduced to show that on all test images with a threshold level (t) of 40. We selected this threshold level to measure how far each algorithm could perform better with a high threshold level. After inspecting this figure, we found that IWOA could outperform WOA in the convergence within the starting of the optimization process for images: 61060, 105053, 181079, 277095, and 299091 and its superiority move on until the ending. However, for the other images, the convergence curve for WOA appears to be the best at the starting of the optimization process, afterward, this appearance deteriorates due to the local minima problem and our proposed dramatically outperforms.
Fig. 12

Comparison between IWOA and WOA under convergence curve obtained by each one on each test image under t=40

Comparison between IWOA, WOA, and WOA-DE based on PSNR Comparison between IWOA, WOA, and WOA-DE based on fitness values Average CPU time values on each threshold level Comparison between IWOA and WOA under convergence curve obtained by each one on each test image under t=40

The performance evaluation of the proposed algorithm and other algorithms

Tables 3, 4, 5 presents a comparison among the algorithms based on the average PSNR values using different Threshold levels (n), including 2-n, 3-n, 4-n,5-n,10-n,20-n,30-n, 40-n, 60-n,80-n, and 100-n. For each threshold level, we compute the average PSNR as follows: is the summation of the PSNR computed for each run of an algorithm for a given threshold level divided by the number of running the algorithm. R is the number of independent runs for the algorithms, which is 30. Based on the results introduced in the table, the proposed algorithm can outperform the other algorithms in the PSNR metric. For the small threshold levels, we can see that IWOA could be competitive and superior to the others in most of the test images. For the higher threshold values, the performance of the other algorithms is degraded, while IWOA gets the maximum average PSNR for all the test images. Figure 13 shows the total average PSNR values for each algorithm for each threshold level. The total average PSNR can be defined as:where IN is the number of the used test images, which is 9. is the obtained average PSNR value for an image for a given threshold level. IWOA achieves the best results compared to the other algorithms, especially with the threshold level higher than 10. Also, Fig. 14 shows the summation of the total average PSNR values for all threshold levels. The figure demonstrates the superiority of the proposed algorithm compared with the other algorithm in PSNR results. The higher PSNR values, the lower MSE values.
Table 3

The PSNR values obtained by each algorithm on different threshold levels

IDAlgorithmThreshold level (n)
2-n3-n4-n5-n10-n20-n40-n60-n80-n100-n
61060IWOA16.286716.769218.786920.212625.555231.555637.684941.408743.927745.7956
IMPA (Abdel-Basset et al. 2020)16.286716.649718.786920.689325.511730.902235.658438.220440.306242.026
FFA (Erdmann et al. 2015)16.286716.528918.764120.195425.138329.849532.963735.200437.046638.3628
SCA (Mirjalili 2016)16.262416.512518.52820.630725.106929.897735.046237.650339.763441.5877
FPA(Yang 2012)16.285516.456718.562720.532224.791529.075234.316836.988239.157441.2035
L-SHADE(Brest et al. 2016)15.797416.131518.115619.402223.751428.564633.587535.880738.639340.8016
SSA (Wang et al. 2020)16.286716.61718.762420.378624.549329.447232.43135.640937.466538.9306
EO(Abdel-Basset et al. 2021)16.286716.709518.786920.208325.050429.766633.106035.354837.119938.9897
CSA(Moses et al. 2019)16.279516.491418.700520.659025.077729.755934.277137.070339.552841.3172
105053IWOA8.176317.489517.729320.780826.681332.719939.130142.315644.677946.881
IMPA(Abdel-Basset et al. 2020)8.176317.489517.443521.070226.222733.19139.263241.623443.862545.9313
FFA (Erdmann et al. 2015)8.176317.475317.635521.386827.093432.838437.709540.947742.587744.4127
SCA (Mirjalili 2016)8.163317.335217.34121.496225.552730.063535.052638.338540.599542.028
FPA(Yang 2012)8.17417.341317.310521.345525.621730.186835.451138.307540.072142.6076
L-SHADE(Brest et al. 2016)9.642516.162817.589819.221323.727728.80234.347637.538139.667842.1126
SSA (Wang et al. 2020)8.176317.467917.40720.9427.064232.837137.719340.746643.15844.9611
EO(Abdel-Basset et al. 2021)9.400417.489518.158021.781326.696833.304939.528542.886145.278246.3812
CSA(Moses et al. 2019)8.169517.339217.292121.500125.855430.938935.912939.247741.146343.2806
181079IWOA10.940813.595218.650919.791826.109331.74237.859241.533943.733745.9791
IMPA(Abdel-Basset et al. 2020)10.940813.595218.629519.800626.156731.728437.494639.940341.645242.9932
FFA (Erdmann et al. 2015)10.940813.595618.770219.833626.086730.746234.717436.463939.371540.7335
SCA (Mirjalili 2016)10.964713.606718.586719.645225.135329.534834.45337.538239.893841.1671
FPA(Yang 2012)10.940813.531418.675519.732924.794929.429534.343437.145239.910341.5033
L-SHADE(Brest et al. 2016)11.397115.07517.060219.085423.520428.665334.092236.577739.013441.2603
SSA (Wang et al. 2020)10.940813.59618.722219.839626.120330.916434.831737.580838.803140.7615
EO(Abdel-Basset et al. 2021)10.940813.821118.756319.809626.066831.550436.196738.730140.555741.9747
CSA(Moses et al. 2019)10.948913.633518.655319.712125.367529.905035.033238.205539.819741.8183
232038IWOA13.004815.126618.112419.858524.275931.98738.015441.302743.69145.7513
IMPA(Abdel-Basset et al. 2020)13.004815.126618.836519.717924.422331.780837.503440.675542.477844.4932
FFA (Erdmann et al. 2015)13.004815.130218.959420.001625.044931.025935.959838.97941.283843.1382
SCA (Mirjalili 2016)12.998615.148519.029419.718423.788329.383934.909137.201639.853941.5944
FPA(Yang 2012)13.00415.119719.38519.54724.397829.733134.311137.797239.627341.4956
L-SHADE(Brest et al. 2016)13.00415.636117.478718.665623.229627.464633.355436.654439.118940.7351
SSA (Wang et al. 2020)13.004815.128718.94519.715924.957431.364836.469939.526241.786742.8996
EO(Abdel-Basset et al. 2021)13.004815.126619.274919.719225.084731.677137.485741.147443.181044.6525
CSA(Moses et al. 2019)13.003015.134619.384719.684024.184829.511734.931937.708040.227942.1482
277095IWOA17.233119.595520.094422.281527.908734.118940.447244.041546.572648.872
IMPA(Abdel-Basset et al. 2020)17.233119.394720.094422.340828.027934.313440.322543.482644.959846.6855
FFA (Erdmann et al. 2015)17.233119.446920.381722.339728.092634.37239.698841.850943.227244.6291
SCA (Mirjalili 2016)17.259219.400520.138322.014526.908531.968736.058239.43542.024243.736
FPA(Yang 2012)17.246219.374620.33922.108626.46930.731935.138238.716241.297842.7415
L-SHADE(Brest et al. 2016)16.645218.308219.695620.692924.019529.113433.937437.470939.408841.6076
SSA (Wang et al. 2020)17.233119.507620.394522.371628.153834.243639.436141.428543.657745.6107
EO(Abdel-Basset et al. 2021)17.233119.531820.094422.258227.879634.066239.548942.604044.914746.7984
CSA(Moses et al. 2019)17.249519.569520.345622.028327.078231.223036.432639.417242.017943.4224

Bold values indicate the best value

Table 4

The PSNR values obtained by each algorithm on different threshold levels

IDAlgorithmThreshold level (n)
2-n3-n4-n5-n10-n20-n40-n60-n80-n100-n
299091IWOA12.750614.773217.441319.440526.64933.291639.449642.939745.494947.2838
IMPA(Abdel-Basset et al. 2020)12.750614.773217.441318.554926.703533.370539.906242.898844.992846.5953
FFA (Erdmann et al. 2015)12.750614.773217.505320.859527.269433.025437.547540.40642.548943.7756
SCA (Mirjalili 2016)12.600114.627417.504919.611525.800830.292435.394738.269640.635642.4988
FPA(Yang 2012)12.734314.698217.519.100326.015530.548635.072738.124140.453642.9055
L-SHADE(Brest et al. 2016)12.701814.375116.910319.229624.407929.244934.189437.402639.541741.8211
SSA (Wang et al. 2020)12.750614.773217.482119.324727.328732.743937.864640.289142.677244.775
EO(Abdel-Basset et al. 2021)12.750614.773217.441319.469727.310933.567038.336741.431943.778745.0486
CSA(Moses et al. 2019)12.734314.764017.417119.649826.174731.179936.174839.093841.533143.4786
157055IWOA14.868516.8218.798119.427526.27431.91638.073441.532143.986745.9721
IMPA(Abdel-Basset et al. 2020)14.868516.820218.812919.427526.199231.955437.433240.719342.623444.3435
FFA (Erdmann et al. 2015)14.868516.825218.82719.448526.203931.072135.658838.203640.330641.8274
SCA (Mirjalili 2016)14.861616.831618.787319.267625.002529.774534.601437.39139.7741.5039
FPA(Yang 2012)14.864116.818818.420519.325524.849929.259134.218937.283639.652641.4933
L-SHADE(Brest et al. 2016)14.63716.462917.753918.734623.399928.05633.292936.493339.055440.9173
SSA (Wang et al. 2020)14.868516.822318.818519.427126.132631.04135.887338.057939.906741.7728
EO(Abdel-Basset et al. 2021)14.868516.819018.808619.436326.240731.291236.048138.469640.588942.1586
CSA(Moses et al. 2019)14.865216.822018.692519.345925.308929.945534.864837.897340.033241.9029
108070IWOA12.896714.236315.747517.762325.993432.524338.452841.161743.699945.4801
IMPA(Abdel-Basset et al. 2020)12.896714.236315.730417.012125.128332.510738.045240.414642.270844.3453
FFA (Erdmann et al. 2015)12.896714.236315.83317.872424.797332.123236.779439.430641.691542.5833
SCA (Mirjalili 2016)12.886914.302715.570217.958324.928230.121434.260737.450639.792641.2647
FPA(Yang 2012)12.896514.273715.690317.729424.932229.945535.097237.607639.90542.0306
L-SHADE(Brest et al. 2016)12.786814.107116.278917.759323.757629.039333.997236.964239.135141.158
SSA (Wang et al. 2020)12.896714.236315.798617.75824.829432.334337.091139.028241.558242.2324
EO(Abdel-Basset et al. 2021)12.896514.273715.690317.729424.932229.945535.097237.607639.905042.0306
CSA(Moses et al. 2019)12.786814.107116.278917.759323.757629.039333.997236.964239.135141.1580
108082IWOA14.545316.007517.167818.015123.134831.478336.783640.150142.947544.8308
IMPA(Abdel-Basset et al. 2020)14.542316.036917.131117.832521.703430.969836.266839.368241.37343.4287
FFA (Erdmann et al. 2015)14.542316.036817.19718.135922.750430.797134.723538.050139.70642.2618
SCA (Mirjalili 2016)14.53415.981817.231517.992622.762329.14533.960537.021739.885241.1458
FPA(Yang 2012)14.542315.980617.128517.92422.79229.49533.683437.513539.288641.6687
L-SHADE(Brest et al. 2016)14.541716.023116.989418.109422.60627.957633.250336.420338.367440.6714
SSA (Wang et al. 2020)14.542316.025917.19618.152522.164931.006535.35938.304240.002841.9553
EO(Abdel-Basset et al. 2021)14.545316.036917.193118.094723.519431.001935.974539.516241.518242.6250
CSA(Moses et al. 2019)14.548915.992117.230118.007622.206629.504134.642737.730840.205742.3192

Bold values indicate the best value

Table 5

The PSNR values obtained by each algorithm on different threshold levels

IDAlgorithmThreshold level (n)
2-n3-n4-n5-n10-n20-n40-n60-n80-n100-n
BarbaraIWOA14.924017.324019.000920.660125.129431.282037.379040.950543.481345.0693
IMPA14.924017.324019.000920.652925.094630.826637.324740.508142.359544.1365
FFA14.924017.324318.998920.637424.991630.926736.308239.163340.898842.4291
SCA14.934317.325118.998720.653424.642328.930433.653537.402139.318141.1608
FPA14.925317.322318.956920.596024.368028.921034.024636.918539.267241.2625
L-SHADE14.896117.200918.772720.229323.905228.456633.350236.707038.882440.6336
SSA14.924017.324518.996720.636524.981430.907535.868638.698441.187842.6449
EO14.924017.324019.000920.649425.159930.791635.782538.777341.040242.7376
CSA14.924917.323919.002220.614924.536729.192934.422237.680439.950341.6369
AirplaneIWOA16.075118.812520.448821.337027.373032.347638.414041.992045.083546.6236
IMPA16.075118.812520.448821.456727.247831.816038.047742.079144.261445.9047
FFA16.075118.812920.445221.455926.270929.527234.998138.865841.228142.7745
SCA16.082718.892420.446321.530727.193031.109835.847039.060141.114942.5819
FPA16.076818.846120.437421.416726.379230.153135.193138.012539.990342.4332
L-SHADE16.017918.663619.880721.547625.442229.364534.515737.399339.648041.5033
SSA16.075118.812520.444021.424626.609229.568834.512238.882640.492043.6145
EO16.075118.812520.448821.356626.713730.635435.035037.058539.652541.4923
CSA16.074818.862920.363521.487326.736930.665335.275338.644140.577242.1391
MandrillIWOA16.022418.684520.444822.185326.372232.382538.652642.515044.777346.9402
IMPA16.022418.664420.444822.185326.353032.672139.260242.394144.589346.1535
FFA16.022418.659320.432722.185326.357232.196238.019640.902542.096743.7755
SCA16.021718.698720.392822.078825.664730.541335.508138.680440.266942.4611
FPA16.022318.741820.327922.017625.866429.943034.519137.331539.808341.9171
L-SHADE15.970718.561019.811421.019224.696428.957734.219537.052140.159841.6228
SSA16.022418.654320.431022.188726.580531.994538.077540.552142.319643.7486
EO16.022418.679520.443922.181726.022931.982437.836541.140242.931544.8846
CSA16.022218.701220.394721.991326.036630.538035.580538.631640.957142.9933
LenaIWOA14.590517.295618.987819.995126.279132.771238.696242.277344.614746.7193
IMPA14.590517.295619.059019.995126.588832.884638.809642.257344.145046.0416
FFA14.590517.295618.966320.002427.006232.503937.731740.283841.933644.4400
SCA14.580617.304618.922219.851424.895930.230635.276438.046840.470741.7868
FPA14.589417.279218.958219.776924.422829.657935.030437.885039.940642.0798
L-SHADE14.562617.138418.596619.206323.842129.064133.794037.509639.628941.4567
SSA14.590517.295619.021719.998526.954732.822937.861540.159042.628943.8999
EO14.590517.295619.016319.995126.876132.536337.897240.802942.818544.4948
CSA14.590517.279618.937219.930025.069130.796335.756138.921641.220942.8667

Bold values indicate the best value

Fig. 13

Average PSNR values on each threshold level

Fig. 14

PSNR values Comparison of the total average for all the test images

The PSNR values obtained by each algorithm on different threshold levels Bold values indicate the best value The PSNR values obtained by each algorithm on different threshold levels Bold values indicate the best value The PSNR values obtained by each algorithm on different threshold levels Bold values indicate the best value Average PSNR values on each threshold level PSNR values Comparison of the total average for all the test images Tables 6, 7, and 8 provides the average SSIM values obtained by the algorithms on ten different threshold levels for all the test images. The SSIM metric is employed for assessing the structural similarity between the original image and the segmented image. According to the results, the proposed algorithm can also outperform the other algorithms for most of the test images on the different threshold values. Additionally, Fig. 15 inspects a comparison in terms of the total average SSIM for all the test images on each threshold level. The figure proves the efficacy of the proposed algorithm compared to the other algorithms with threshold levels higher than 10. With threshold levels smaller than 10, all algorithms seem to be converged.
Table 6

The SSIM values obtained by each algorithm

IDAlgorithmThreshold level (n)
2-n3-n4-n5-n10-n20-n40-n60-n80-n100-n
61060IWOA0.84760.86270.94130.94990.98390.99390.99680.99730.99760.9976
IMPA(Abdel-Basset et al. 2020)0.84760.85740.94130.9530.98390.9930.99560.99640.99680.9972
FFA (Erdmann et al. 2015)0.84760.85210.94090.94970.98150.99050.99220.99420.99550.9958
SCA (Mirjalili 2016)0.84760.85110.93860.9520.98050.99080.99530.99630.99690.9972
FPA(Yang 2012)0.84760.84970.93940.95080.97910.98880.99470.99610.99670.9971
L-SHADE(Brest et al. 2016)0.83570.84530.92050.940.97060.98760.99410.99520.99650.997
SSA (Wang et al. 2020)0.84760.8560.94090.95080.97760.98940.99160.99480.99570.9962
EO(Abdel-Basset et al. 2021)0.84760.86000.94130.94990.98240.99130.99330.99480.99550.9963
CSA(Moses et al. 2019)0.84750.85100.93860.95320.98030.99050.99480.99580.99670.9971
105053IWOA0.07710.71170.72680.82630.950.98470.99430.99560.99650.9969
IMPA(Abdel-Basset et al. 2020)0.07710.71170.71790.83520.94610.9860.99430.99560.99640.9967
FFA (Erdmann et al. 2015)0.07710.71190.7240.84490.9540.98420.9920.99460.99530.9961
SCA (Mirjalili 2016)0.07390.70930.7110.84420.93120.96650.98560.99190.99380.9947
FPA(Yang 2012)0.07640.70990.71130.84180.92720.96730.98680.9920.99320.9952
L-SHADE(Brest et al. 2016)0.17710.6430.69820.76320.87960.95480.98380.99030.9930.9949
SSA (Wang et al. 2020)0.07710.71240.7170.83220.95350.98340.99160.99420.99560.9962
EO(Abdel-Basset et al. 2021)0.15860.71170.74030.85770.95120.98580.99420.99550.99640.9966
CSA(Moses et al. 2019)0.07500.70970.71140.84890.93400.97190.98760.99280.99400.9956
181079IWOA0.59380.76730.9090.9290.9820.99280.99570.99630.99640.9966
IMPA(Abdel-Basset et al. 2020)0.59380.76730.90880.9290.9820.99250.99550.9960.99610.9963
FFA (Erdmann et al. 2015)0.59380.76730.90080.92960.98130.99070.99380.99450.99560.9958
SCA (Mirjalili 2016)0.59660.76830.90870.92780.9770.9890.99390.99530.9960.9961
FPA(Yang 2012)0.59380.76550.90890.92940.97460.98840.99360.99510.9960.9961
L-SHADE(Brest et al. 2016)0.62630.81130.87020.91240.96280.98680.99360.99490.99570.9961
SSA (Wang et al. 2020)0.59380.76720.90050.930.98120.99070.9940.9950.99540.9959
EO(Abdel-Basset et al. 2021)0.59380.77410.91050.92910.98160.99190.99470.99550.99580.9961
CSA(Moses et al. 2019)0.59470.77040.90930.92840.97770.98950.99420.99550.99580.9961
232038IWOA0.65170.79720.88630.93380.97350.99410.99690.99730.99760.9977
IMPA(Abdel-Basset et al. 2020)0.65170.79720.90650.9320.97480.99340.99650.99720.99740.9976
FFA (Erdmann et al. 2015)0.65170.79720.91140.93570.97790.99230.99590.99690.99730.9975
SCA (Mirjalili 2016)0.65120.80040.91340.93090.97020.98950.99550.99640.9970.9973
FPA(Yang 2012)0.65160.79820.92380.92780.97330.99020.99510.99660.9970.9973
L-SHADE(Brest et al. 2016)0.65140.81550.87040.90470.96350.98430.99410.99620.99680.9972
SSA (Wang et al. 2020)0.65170.79720.9110.93440.9770.99290.99610.9970.99730.9975
EO(Abdel-Basset et al. 2021)0.65170.79720.91870.93200.97820.99340.99660.99730.99750.9976
CSA(Moses et al. 2019)0.65160.79880.92350.93060.97200.99000.99550.99660.99710.9974
277095IWOA0.79490.88250.89530.92860.97090.98330.98620.98680.98690.987
IMPA(Abdel-Basset et al. 2020)0.79490.87660.89530.93040.97160.98330.9860.98660.98680.9869
FFA (Erdmann et al. 2015)0.79410.88450.90060.92980.97170.98320.98580.98620.98650.9867
SCA (Mirjalili 2016)0.79490.87780.89580.92580.96470.9790.98320.98540.98630.9866
FPA(Yang 2012)0.79520.87710.8990.92610.96040.97610.98260.98520.98610.9864
L-SHADE(Brest et al. 2016)0.7660.83280.87410.89230.93720.970.98110.98460.98540.9861
SSA (Wang et al. 2020)0.79410.88060.90080.9310.97210.98310.98570.98610.98660.9868
EO(Abdel-Basset et al. 2021)0.79490.88350.89530.92770.97080.98290.98580.98650.98680.9869
CSA(Moses et al. 2019)0.79520.88200.89950.92610.96510.97690.98390.98540.98630.9865

Bold values indicate the best value

Table 7

The SSIM values obtained by each algorithm

IDAlgorithmThreshold level (n)
2-n3-n4-n5-n10-n20-n40-n60-n80-n100-n
299091IWOA0.6710.76130.83460.88080.97370.99320.99660.99720.99750.9976
IMPA(Abdel-Basset et al. 2020)0.6710.76130.83460.86190.97350.9930.99670.99720.99740.9975
FFA (Erdmann et al. 2015)0.6710.76130.83660.9110.97360.9920.99520.99640.99690.9971
SCA (Mirjalili 2016)0.66210.75540.83740.88540.96930.98550.99350.99560.99640.997
FPA(Yang 2012)0.670.75820.83670.87240.97030.98660.99360.99570.99640.9971
L-SHADE(Brest et al. 2016)0.6640.73160.81430.87290.95270.98240.99250.99510.99620.9968
SSA (Wang et al. 2020)0.6710.76120.83580.87790.97350.99160.99530.99620.9970.9973
EO(Abdel-Basset et al. 2021)0.67100.76130.83460.88120.97830.99340.99600.99680.99720.9973
CSA(Moses et al. 2019)0.67000.76100.83370.88470.97040.98810.99450.99600.99680.9972
157055IWOA0.87330.9190.94080.94790.98250.98880.99090.99120.99140.9914
IMPA(Abdel-Basset et al. 2020)0.87330.91910.94090.94790.98210.98880.99080.99110.99130.9913
FFA (Erdmann et al. 2015)0.87330.91950.94110.94860.98210.98770.98990.99060.99090.9911
SCA (Mirjalili 2016)0.87330.91840.94050.94570.97770.98610.98960.99050.99090.9911
FPA(Yang 2012)0.87320.91880.93590.94660.97670.98570.98950.99050.99090.9911
L-SHADE(Brest et al. 2016)0.86860.9110.92680.93670.96860.98320.98890.99030.99080.9911
SSA (Wang et al. 2020)0.87330.91930.94110.94840.98170.98790.99010.99060.99090.9911
EO(Abdel-Basset et al. 2021)0.87330.91900.94090.94810.98220.98840.99020.99070.99100.9912
CSA(Moses et al. 2019)0.87330.91910.93940.94700.97870.98650.98980.99060.99090.9912
108070IWOA0.39550.57080.69330.79690.95920.98460.98970.99040.99090.9911
IMPA(Abdel-Basset et al. 2020)0.39550.57080.6920.77120.95220.98470.98940.99010.99060.9909
FFA (Erdmann et al. 2015)0.39550.57080.69980.80010.9650.98380.98810.98970.99040.9905
SCA (Mirjalili 2016)0.39540.580.6850.80210.94880.97820.98590.98870.98970.9903
FPA(Yang 2012)0.39550.57640.69130.79530.94630.97740.98690.98880.98970.9905
L-SHADE(Brest et al. 2016)0.38550.55230.71780.77860.92970.97240.98520.98840.98950.9902
SSA (Wang et al. 2020)0.39550.57070.69750.81790.95460.98390.98870.98940.99030.9905
EO(Abdel-Basset et al. 2021)0.39550.57080.69200.81470.96920.98550.98950.99020.99080.9910
CSA(Moses et al. 2019)0.39550.57560.70230.78370.94870.97800.98700.98940.99000.9907
108082IWOA0.53180.66760.76140.80680.9350.99010.99540.99670.99710.9974
IMPA(Abdel-Basset et al. 2020)0.53180.67030.76130.79470.91980.98860.9950.99640.99680.9972
FFA (Erdmann et al. 2015)0.53180.67030.76150.81440.9330.98830.99360.99570.99630.997
SCA (Mirjalili 2016)0.53180.67030.76120.80310.92960.98310.99290.99540.99650.9967
FPA(Yang 2012)0.53180.67010.75540.79990.92630.98440.99270.99560.99620.9969
L-SHADE(Brest et al. 2016)0.53130.67010.73860.80390.92480.97680.99170.9950.99580.9966
SSA (Wang et al. 2020)0.53180.66930.76160.81520.92890.98870.99420.99590.99640.9969
EO(Abdel-Basset et al. 2021)0.53180.67030.76160.81220.94290.98890.99480.99630.99680.9971
CSA(Moses et al. 2019)0.53190.67140.76110.80490.92180.98460.99360.99560.99650.9970

Bold values indicate the best value

Table 8

The SSIM values obtained by each algorithm

IDAlgorithmThreshold level (n)
2-n3-n4-n5-n10-n20-n40-n60-n80-n100-n
BarbaraIWOA0.88340.93560.95740.97100.98790.99540.99740.99770.99790.9979
IMPA0.88340.93560.95740.97100.98790.99510.99730.99770.99780.9979
FFA0.88340.93560.95740.97100.98760.99520.99710.99750.99770.9978
SCA0.88360.93560.95740.97070.98650.99300.99620.99730.99750.9977
FPA0.88340.93560.95600.97000.98540.99310.99640.99720.99750.9977
L-SHADE0.88130.93200.95330.96680.98380.99260.99610.99710.99750.9976
SSA0.88340.93560.95730.97100.98760.99510.99700.99750.99770.9978
EO0.88340.93560.95740.97100.98800.99510.99700.99750.99770.9978
CSA0.88340.93560.95730.97030.98620.99330.99660.99730.99760.9977
AirplaneIWOA0.90190.94860.96130.96640.98830.99480.99700.99750.99770.9978
IMPA0.90190.94860.96130.96680.98810.99430.99690.99750.99770.9978
FFA0.90190.94860.96130.96680.98540.99000.99510.99670.99720.9974
SCA0.90130.94880.96100.96730.98710.99270.99580.99680.99730.9974
FPA0.90180.94860.96050.96650.98430.99070.99530.99660.99690.9974
L-SHADE0.89950.94550.95410.96300.97940.98910.99520.99630.99690.9972
SSA0.90190.94860.96120.96660.98660.98990.99470.99670.99710.9976
EO0.90190.94860.96130.96650.98700.99300.99560.99620.99690.9973
CSA0.90180.94870.96040.96710.98610.99180.99530.99670.99710.9973
MandrillIWOA0.86370.91840.94050.96130.98350.99410.99710.99750.99770.9978
IMPA0.86370.91830.94050.96130.98350.99440.99710.99750.99770.9977
FFA0.86370.91820.94050.96140.98290.99360.99660.99720.99730.9975
SCA0.86360.91870.94000.95980.97920.99080.99540.99670.99690.9974
FPA0.86370.91910.93890.95860.97940.98940.99450.99600.99680.9973
L-SHADE0.86020.91310.92950.94390.97170.98590.99420.99590.99700.9972
SSA0.86370.91820.94050.96140.98380.99320.99670.99710.99740.9975
EO0.86370.91840.94050.96130.98190.99360.99660.99720.99750.9977
CSA0.86370.91850.93980.95880.98060.99070.99530.99660.99710.9975
LenaIWOA0.82950.90170.92960.94000.98230.99490.99690.99750.99760.9978
IMPA0.82950.90170.93070.94000.98420.99490.99690.99750.99760.9978
FFA0.82950.90170.92920.94000.98580.99430.99660.99710.99730.9977
SCA0.82980.90250.92840.93840.97450.99060.99540.99650.99720.9973
FPA0.82950.90160.92890.93710.97060.98960.99540.99650.99710.9973
L-SHADE0.82940.89780.92140.92790.96750.98850.99450.99630.99700.9972
SSA0.82950.90170.93010.94000.98540.99470.99660.99710.99730.9976
EO0.82950.90170.93000.94000.98570.99450.99670.99730.99740.9977
CSA0.82950.90150.92830.93870.97500.99190.99580.99680.99720.9974

Bold values indicate the best value

Fig. 15

Comparison among algorithms of the SSIM values

The SSIM values obtained by each algorithm Bold values indicate the best value The SSIM values obtained by each algorithm Bold values indicate the best value The SSIM values obtained by each algorithm Bold values indicate the best value Comparison among algorithms of the SSIM values Tables 9, 10, and 11 provides the average UQI values obtained by the algorithms on ten different threshold levels for all the test images. The UQI metric is also employed for assessing the structural similarity between the original image and the segmented image. According to the results, the proposed algorithm can also outperform the other algorithms for most of the test images on the different threshold values. Additionally, Fig. 16 inspects a comparison in terms of the total average SSIM for all the test images on each threshold level. The figure proves the efficacy of the proposed algorithm compared to the other algorithms with threshold levels higher than 10. With threshold levels smaller than 10, all algorithms seem to be converged.
Table 9

The UQI values obtained by each algorithm

ID AlgorithmThreshold level (n)
2-n3-n4-n5-n10-n20-n40-n60-n80-n100-n
61060IWOA0.84940.87220.94310.95210.98610.99600.99890.99940.99960.9997
IMPA0.84940.86960.94310.95490.98650.99510.99810.99840.99910.9993
FFA0.84940.85370.94250.95400.98200.99180.99500.99670.99760.9983
SCA0.84940.85230.94110.95350.98360.99240.99710.99850.99910.9993
FPA0.84940.85230.94060.95260.97900.99190.99670.99840.99890.9993
L-SHADE0.84560.84650.92920.94020.97110.98930.99630.99800.99870.9992
SSA0.84940.85350.94280.95200.97960.98940.99400.99620.99760.9981
EO0.84940.87220.94310.95090.98320.99340.99520.99690.99760.9987
CSA0.84940.85260.94110.95440.98080.99220.99690.99820.99890.9991
61060IWOA0.08230.71530.72040.82830.94850.98670.99650.99790.99870.9991
IMPA0.08230.71530.72040.85490.94560.98800.99650.99810.99870.9987
FFA0.08230.71540.72020.84380.95130.98710.99550.99670.99770.9982
SCA0.08010.71150.71240.84400.93290.96730.98990.99400.99580.9975
FPA0.08210.71300.71450.84580.92480.96520.98770.99290.99640.9974
L-SHADE0.08030.68890.73140.79010.91520.96000.98640.99440.99610.9976
SSA0.08230.71550.72010.85430.95470.98710.99530.99640.99760.9982
EO0.20410.71530.74290.85930.95430.98840.99600.99790.99830.9988
CSA0.08130.71480.71440.84860.94670.97550.99120.99510.99720.9979
181079IWOA0.60070.77290.91360.93380.98550.99620.99890.99950.99970.9998
IMPA0.60070.77290.91320.93380.98550.99610.99860.99920.99940.9996
FFA0.60070.77290.91400.93380.98490.99410.99670.99810.99880.9992
SCA0.60200.77220.91280.93320.98060.99260.99710.99850.99920.9993
FPA0.60070.77200.91130.93180.97770.99190.99710.99840.99910.9994
L-SHADE0.61410.78460.90810.92260.97220.98940.99690.99830.99900.9994
SSA0.60070.77290.91470.93380.98480.99330.99680.99820.99860.9991
EO0.60070.77290.91370.93370.98510.99550.99790.99870.99890.9994
CSA0.60130.77380.91330.93240.98050.99300.99730.99870.99900.9994
232038IWOA0.65240.80120.90970.92330.97690.99600.99880.99950.99970.9998
IMPA0.65240.80120.90550.93350.97590.99530.99850.99930.99950.9997
FFA0.65240.80150.91040.93630.97980.99480.99810.99910.99950.9996
SCA0.65190.80250.91390.92790.97410.99310.99680.99880.99910.9994
FPA0.65240.80200.92420.92980.97210.99110.99720.99860.99910.9994
L-SHADE0.65500.79780.87870.93130.97040.98890.99650.99800.99900.9994
SSA0.65240.80190.91900.93750.97840.99500.99800.99910.99940.9996
EO0.65240.80120.90550.93390.98020.99560.99870.99930.99960.9997
CSA0.65230.80180.92610.93250.97380.99230.99760.99880.99930.9995
277095IWOA0.80660.88830.90770.94220.98330.99600.99880.99940.99970.9998
IMPA0.80660.89440.90770.94410.98410.99600.99870.99930.99950.9996
FFA0.80660.89310.91180.94370.98440.99550.99840.99880.99920.9994
SCA0.80700.88880.90720.93870.97890.99110.99680.99820.99890.9993
FPA0.80720.88950.91040.93720.97430.98800.99550.99760.99860.9990
L-SHADE0.80420.87540.90040.91860.95600.98260.99410.99690.99830.9988
SSA0.80660.89580.91330.94230.98430.99560.99820.99880.99910.9995
EO0.80660.89480.91160.94110.98370.99550.99850.99920.99940.9996
CSA0.80810.88970.91200.94040.97700.99000.99610.99820.99880.9992

Bold values indicate the best value

Table 10

The UQI values obtained by each algorithm

IDAlgorithmThreshold level (n)
2-n3-n4-n5-n10-n20-n40-n60-n80-n100-n
299091IWOA0.67200.76340.83570.88630.97610.99490.99870.99930.99960.9997
IMPA0.67200.76340.83570.87060.97500.99470.99870.99930.99950.9996
FFA0.67200.76340.83760.89310.97940.99420.99760.99860.99910.9994
SCA0.66690.76220.84410.87970.96520.98610.99530.99780.99870.9992
FPA0.67160.76220.83760.87540.96560.98800.99580.99790.99870.9992
L-SHADE0.67220.72930.82150.87790.95610.98290.99470.99750.99850.9989
SSA0.67200.76340.83630.90890.97930.99430.99740.99840.99910.9992
EO0.67200.76340.83570.90210.98020.99550.99830.99890.99930.9995
CSA0.67040.76110.83830.88800.97330.98990.99650.99840.99890.9992
157055IWOA0.88130.92720.94850.95640.99080.99720.99920.99960.99980.9998
IMPA0.88130.92750.94870.95630.99070.99720.99920.99960.99970.9998
FFA0.88130.92750.94870.95670.99030.99640.99830.99900.99930.9995
SCA0.88080.92710.94880.95490.98650.99450.99770.99900.99940.9996
FPA0.88130.92620.94480.95390.98430.99420.99800.99880.99930.9995
L-SHADE0.87970.92350.94030.95020.98040.99260.99760.99880.99920.9995
SSA0.88130.92750.94800.95670.98970.99640.99830.99900.99940.9995
EO0.88130.92740.94860.95640.99030.99660.99860.99910.99940.9996
CSA0.88120.92680.94750.95480.98680.99480.99810.99890.99940.9996
108070IWOA0.41390.58080.70640.81510.96660.99230.99790.99890.99930.9995
IMPA0.41390.58080.70640.77390.96270.99330.99750.99850.99910.9993
FFA0.41390.58080.70930.82410.97240.99300.99700.99820.99870.9991
SCA0.41300.58970.70780.81570.95920.98480.99390.99720.99820.9989
FPA0.41390.58360.69430.82190.96210.98550.99470.99710.99850.9989
L-SHADE0.40560.58660.68490.80050.95690.97810.99380.99730.99820.9987
SSA0.41390.58080.70650.82490.97260.99270.99680.99800.99870.9991
EO0.41390.58080.70640.82110.97580.99420.99790.99880.99920.9994
CSA0.41390.58720.69960.79160.96000.98760.99560.99760.99850.9990
108082IWOA0.53660.68030.76430.81290.93450.99290.99800.99890.99940.9996
IMPA0.53660.68390.76280.80430.92950.99150.99670.99840.99910.9994
FFA0.53690.68360.76650.81810.94580.99010.99600.99820.99890.9992
SCA0.54190.67990.76650.80910.92860.98580.99570.99740.99870.9990
FPA0.53680.67930.76970.81910.92840.98360.99560.99810.99860.9991
L-SHADE0.54510.67110.77140.81050.92520.98370.99530.99730.99870.9989
SSA0.53760.68520.76650.81650.94700.98930.99720.99830.99880.9992
EO0.53660.68390.76550.81490.95540.98960.99720.99840.99910.9994
CSA0.53820.67720.76580.81240.93150.98850.99630.99800.99850.9991

Bold values indicate the best value

Table 11

The UQI values obtained by each algorithm

IDAlgorithmThreshold level (n)
2-n3-n4-n5-n10-n20-n40-n60-n80-n100-n
BarbaraIWOA 0.8840 0.9366 0.9585 0.9728 0.9899 0.9974 0.9993 0.9997 0.9998 0.9999
IMPA 0.8840 0.9366 0.9585 0.9727 0.9898 0.9971 0.9993 0.9997 0.9997 0.9998
FFA 0.8840 0.9366 0.9584 0.9726 0.9895 0.9970 0.9991 0.9995 0.9996 0.9998
SCA 0.8841 0.9367 0.9585 0.9724 0.9884 0.9952 0.9985 0.9992 0.9995 0.9997
FPA 0.8841 0.9366 0.9579 0.9720 0.9874 0.9951 0.9984 0.9991 0.9995 0.9997
L-SHADE 0.8838 0.9348 0.9558 0.9687 0.9862 0.9947 0.9981 0.9990 0.9994 0.9996
SSA 0.8840 0.9366 0.9584 0.9726 0.9895 0.9970 0.9989 0.9994 0.9997 0.9997
EO 0.8840 0.9366 0.9585 0.9727 0.9900 0.9971 0.9990 0.9994 0.9996 0.9997
CSA 0.8841 0.9366 0.9580 0.9721 0.9883 0.9958 0.9985 0.9993 0.9996 0.9997
AirplaneIWOA 0.9039 0.9510 0.9634 0.9689 0.9905 0.9968 0.9991 0.9995 0.9997 0.9998
IMPA 0.9039 0.9510 0.9634 0.9694 0.9902 0.9963 0.9989 0.9995 0.9997 0.9997
FFA 0.9039 0.9510 0.9633 0.9689 0.9872 0.9925 0.9969 0.9986 0.9994 0.9994
SCA 0.9035 0.9509 0.9635 0.9697 0.9892 0.9951 0.9977 0.9988 0.9992 0.9993
FPA 0.9039 0.9509 0.9627 0.9687 0.9864 0.9928 0.9973 0.9986 0.9990 0.9994
L-SHADE 0.9033 0.9467 0.9553 0.9632 0.9805 0.9926 0.9968 0.9983 0.9985 0.9993
SSA 0.9039 0.9510 0.9633 0.9692 0.9887 0.9919 0.9968 0.9987 0.9991 0.9996
EO 0.9039 0.9510 0.9634 0.9689 0.9892 0.9951 0.9973 0.9984 0.9990 0.9994
CSA 0.9038 0.9510 0.9634 0.9688 0.9881 0.9946 0.9977 0.9989 0.9992 0.9995
MandrillIWOA 0.8643 0.9202 0.9426 0.9630 0.9855 0.9960 0.9989 0.9995 0.9997 0.9998
IMPA 0.8643 0.9199 0.9426 0.9630 0.9854 0.9964 0.9991 0.9994 0.9996 0.9997
FFA 0.8643 0.9202 0.9424 0.9632 0.9850 0.9959 0.9986 0.9991 0.9994 0.9996
SCA 0.8643 0.9204 0.9417 0.9622 0.9816 0.9924 0.9970 0.9984 0.9990 0.9993
FPA 0.8643 0.9210 0.9407 0.9604 0.9813 0.9914 0.9965 0.9980 0.9988 0.9992
L-SHADE 0.8617 0.9118 0.9287 0.9414 0.9736 0.9869 0.9960 0.9981 0.9988 0.9992
SSA 0.8643 0.9198 0.9425 0.9631 0.9857 0.9952 0.9986 0.9991 0.9994 0.9995
EO 0.8643 0.9202 0.9425 0.9630 0.9835 0.9956 0.9987 0.9991 0.9995 0.9996
CSA 0.8643 0.9208 0.9415 0.9611 0.9810 0.9927 0.9974 0.9986 0.9992 0.9994
LenaIWOA 0.8330 0.9045 0.9319 0.9424 0.9845 0.9970 0.9991 0.9996 0.9997 0.9998
IMPA 0.8330 0.9045 0.9328 0.9424 0.9864 0.9970 0.9991 0.9995 0.9997 0.9998
FFA 0.8330 0.9046 0.9322 0.9425 0.9879 0.9967 0.9986 0.9993 0.9995 0.9996
SCA 0.8329 0.9045 0.9326 0.9412 0.9749 0.9933 0.9978 0.9987 0.9990 0.9994
FPA 0.8330 0.9043 0.9317 0.9396 0.9730 0.9918 0.9975 0.9986 0.9991 0.9994
L-SHADE 0.8307 0.9000 0.9241 0.9351 0.9707 0.9906 0.9969 0.9983 0.9991 0.9994
SSA 0.8330 0.9045 0.9324 0.9425 0.9877 0.9967 0.9987 0.9992 0.9995 0.9996
EO 0.8330 0.9045 0.9313 0.9424 0.9879 0.9966 0.9988 0.9993 0.9995 0.9997
CSA 0.8330 0.9040 0.9318 0.9413 0.9785 0.9936 0.9979 0.9989 0.9993 0.9995

Bold values indicate the best value

Fig. 16

Comparison among algorithms of the UQI values

The UQI values obtained by each algorithm Bold values indicate the best value The UQI values obtained by each algorithm Bold values indicate the best value The UQI values obtained by each algorithm Bold values indicate the best value Comparison among algorithms of the UQI values Here, we are interested in comparing the algorithms in terms of maximizing Kapur’s entropy function (Eq. 4). Regarding the results, we can observe that the proposed algorithm could be superior in most cases, especially cases with the high threshold levels, shown in Tables 12, 13, 14 and competitive in the other cases. Additionally, Fig. 17 illustrates the superiority of the proposed algorithm compared with the other algorithm in the Fitness values. The figure inspects the average fitness values for all the test images for each algorithm. IWOA achieves the highest fitness value of 53.7909, while IMPA comes in the second rank with 53.099. L-SHADE shows the lowest fitness value of 49.13.
Table 12

The Fitness values obtained by each algorithm

IDAlgorithmThreshold level (n)
2-n3-n4-n5-n10-n20-n40-n60-n80-n100-n
61060IWOA12.77615.951119.071521.78933.801552.395778.395296.322109.6184120.0533
IMPA(Abdel-Basset et al. 2020)12.77615.956119.071521.819733.803152.254777.786695.1371107.3739116.0695
FFA (Erdmann et al. 2015)12.77615.961119.071221.78833.747151.817775.808991.5198103.0224111.9054
SCA (Mirjalili 2016)12.775615.95719.035721.738833.4550.666273.176488.8787100.2654109.332
FPA(Yang 2012)12.77615.952919.033621.703733.301750.207672.829888.225100.0461109.6068
L-SHADE(Brest et al. 2016)12.740215.84818.763121.386732.643349.055170.887686.325898.1304107.4438
SSA (Wang et al. 2020)12.77615.957419.071221.799533.662951.720776.178291.5312103.1833112.8129
EO(Abdel-Basset et al. 2021)12.776015.953619.071521.789133.751151.772876.205292.0687103.9213113.4531
CSA(Moses et al. 2019)12.775915.957419.051621.762533.471650.872573.768689.3058101.4225110.6946
105053IWOA11.882315.12218.021620.671232.352350.374374.768391.2218102.9993112.056
IMPA(Abdel-Basset et al. 2020)11.882315.12218.038320.679132.343750.237774.207689.9192100.9974108.9814
FFA (Erdmann et al. 2015)11.882315.12218.024720.679132.193649.422471.418285.784295.8659104.189
SCA (Mirjalili 2016)11.88115.11317.990420.626331.954348.458169.253783.093893.5198101.607
FPA(Yang 2012)11.882215.111217.983420.606631.796147.796168.409682.147392.5227100.9397
L-SHADE(Brest et al. 2016)11.739214.863317.58920.172230.829345.9866.077879.854390.512898.9473
SSA (Wang et al. 2020)11.882315.121918.035820.666432.222949.419271.540685.318495.8636104.4071
EO(Abdel-Basset et al. 2021)11.848215.122017.996620.699832.310949.722172.189586.135397.3854104.7356
CSA(Moses et al. 2019)11.882115.116117.999120.633832.001148.574569.805284.219994.7203103.0389
181079IWOA12.519415.655918.560521.283133.022951.711377.613895.1912108.2282118.3517
IMPA(Abdel-Basset et al. 2020)12.519415.655918.560721.283333.022751.555477.039693.8592105.3401114.4753
FFA (Erdmann et al. 2015)12.519415.655918.559621.281632.936351.053974.485289.7446101.5361110.4897
SCA (Mirjalili 2016)12.519315.652818.548121.257432.765650.057372.219287.516698.8036107.7341
FPA(Yang 2012)12.519415.652518.546321.232232.579149.416171.663986.813698.6199107.5495
L-SHADE(Brest et al. 2016)12.502115.560518.378720.921631.868548.251869.886484.67596.4386105.7433
SSA (Wang et al. 2020)12.519415.655918.5621.281332.958551.150674.894690.6978101.2136110.3164
EO(Abdel-Basset et al. 2021)12.519415.653018.559821.282932.941251.034274.897990.8307102.4668111.2834
CSA(Moses et al. 2019)12.519415.654518.553021.256132.724549.921072.665388.245099.7304109.0304
232038IWOA11.989415.261518.056420.822632.581950.904976.252893.5106106.3026116.2968
IMPA(Abdel-Basset et al. 2020)11.989415.261518.065720.851232.589650.651175.646792.4374104.1028112.7034
FFA (Erdmann et al. 2015)11.989415.260618.055120.790232.414750.118273.795889.8715100.9383109.7447
SCA (Mirjalili 2016)11.989115.24918.02220.723132.131949.149671.22585.675996.8546105.4877
FPA(Yang 2012)11.989315.250218.02520.700231.914548.663870.365685.512996.7159105.5622
L-SHADE(Brest et al. 2016)11.961315.052817.770220.354131.178447.23268.69983.347994.5921103.6789
SSA (Wang et al. 2020)11.989415.26118.061920.816232.410250.112674.040790.1449101.0976110.3437
EO(Abdel-Basset et al. 2021)11.989415.261518.068720.851232.540650.115974.140990.2424101.5987110.4611
CSA(Moses et al. 2019)11.989415.254718.041220.729632.206149.010671.436586.697598.2346106.9818
277095IWOA11.970614.979617.80220.403631.601648.287270.296784.837295.0545102.9802
IMPA(Abdel-Basset et al. 2020)11.970614.979517.80220.409131.579348.226569.950383.258491.97898.399
FFA (Erdmann et al. 2015)11.970614.979317.793220.399331.538747.979568.619680.903189.056295.4017
SCA (Mirjalili 2016)11.970314.977717.779420.358231.248246.484765.090377.291786.084492.7041
FPA(Yang 2012)11.970614.976317.767620.334930.917845.358462.877374.636883.561690.2943
L-SHADE(Brest et al. 2016)11.903614.816317.531419.822229.167842.40159.469271.503279.992986.9559
SSA (Wang et al. 2020)11.970614.979117.792720.400531.536847.857867.929680.683489.274996.6264
EO(Abdel-Basset et al. 2021)11.970614.979717.802020.401031.549547.762468.413881.731690.975298.3387
CSA(Moses et al. 2019)11.970414.977717.778120.359031.124646.024764.510876.745885.409592.4490

Bold values indicate the best value

Table 13

The Fitness values obtained by each algorithm

IDAlgorithmThreshold level (n)
2-n3-n4-n5-n10-n20-n40-n60-n80-n100-n
299091IWOA12.193615.218218.0620.662532.03748.984972.201387.6398.821107.3364
IMPA(Abdel-Basset et al. 2020)12.193615.218218.0620.661732.030848.868671.667886.109396.4726103.7719
FFA (Erdmann et al. 2015)12.193615.218218.059420.661231.886247.993968.206781.246790.854398.5
SCA (Mirjalili 2016)12.193515.212718.046120.621831.655346.931266.303879.190488.733296.069
FPA(Yang 2012)12.193615.213418.039220.609831.352346.215365.232678.128787.555795.305
L-SHADE(Brest et al. 2016)12.175815.116517.763520.231129.914243.466261.972475.14884.923892.8362
SSA (Wang et al. 2020)12.193615.21818.059520.660831.808247.917868.128381.122891.347398.9493
EO(Abdel-Basset et al. 2021)12.193615.218218.060020.661531.910448.187768.509081.779591.572999.0036
CSA(Moses et al. 2019)12.193615.215018.042320.621631.615647.007966.673379.862589.802397.4248
157055IWOA12.732915.848118.784621.588333.5851.512976.328293.3345105.7084115.3345
IMPA(Abdel-Basset et al. 2020)12.732915.848118.784621.588333.543851.418575.898691.9737103.1469111.9807
FFA (Erdmann et al. 2015)12.732915.848118.784121.584633.516950.595573.291387.907299.147107.5119
SCA (Mirjalili 2016)12.732415.846518.776721.545233.092749.84671.147785.608696.1502105.1024
FPA(Yang 2012)12.732715.846418.769321.536332.977849.133370.23984.742495.9082104.5418
L-SHADE(Brest et al. 2016)12.713115.791918.623221.272832.183847.838768.339882.663293.9342102.6285
SSA (Wang et al. 2020)12.732915.848118.784321.585133.500350.541473.445487.736298.669107.3931
EO(Abdel-Basset et al. 2021)12.732915.848118.784521.588033.539950.814173.789988.660699.8075108.0157
CSA(Moses et al. 2019)12.732615.847018.775121.552633.143349.802271.588286.045597.1117105.9712
108070IWOA12.528915.703218.577721.244932.939950.733974.914991.1513103.1007112.4513
IMPA(Abdel-Basset et al. 2020)12.528915.703218.578621.250832.919450.610774.271789.7181100.1829108.4918
FFA (Erdmann et al. 2015)12.528915.703218.573321.2432.868450.01772.346486.293196.7648104.4112
SCA (Mirjalili 2016)12.528415.698218.555621.2232.607848.977269.740483.483293.6996101.6287
FPA(Yang 2012)12.528915.697318.541821.198632.419548.332669.353683.289593.5883101.5344
L-SHADE(Brest et al. 2016)12.49515.611318.405920.984431.718847.188167.158181.570191.8702100.0146
SSA (Wang et al. 2020)12.528915.703118.57521.233832.849450.062171.94586.111296.6926104.2336
EO(Abdel-Basset et al. 2021)12.528915.703218.578621.238032.891350.153172.782287.115697.9495106.3171
CSA(Moses et al. 2019)12.528915.698018.554921.220232.613648.943670.313484.523295.2522103.4803
108082IWOA12.569315.806318.816321.594433.566452.381378.712696.9154110.5434121.0727
IMPA(Abdel-Basset et al. 2020)12.569315.806318.816721.595833.570852.120277.969795.755107.9924117.6285
FFA (Erdmann et al. 2015)12.569315.806318.815921.593233.489551.684775.95492.9873104.651114.27
SCA (Mirjalili 2016)12.569315.804618.808321.574133.280250.661973.609489.4522101.3693110.538
FPA(Yang 2012)12.569315.804318.803121.557733.103550.258773.267989.2795101.1707110.884
L-SHADE(Brest et al. 2016)12.556915.749118.653721.341732.518549.063471.656687.536199.5521109.1102
SSA (Wang et al. 2020)12.569315.806218.815821.59333.46651.730776.311693.0452104.5969113.8966
EO(Abdel-Basset et al. 2021)12.569315.806318.816021.593633.481151.704976.564493.0660105.0594114.6498
CSA(Moses et al. 2019)12.569315.804918.808721.574633.284150.795874.018589.8674102.3192111.9132

Bold values indicate the best value

Table 14

The Fitness values obtained by each algorithm

IDAlgorithmThreshold level (n)
2-n3-n4-n5-n10-n20-n40-n60-n80-n100-n
BarbaraIWOA12.894416.077619.052421.866333.912352.460179.075797.5044111.1390121.6892
IMPA12.894416.077619.052421.866333.887952.265178.464996.2442108.8346119.0990
FFA12.894416.077519.052321.865833.805451.810876.877493.3866105.6021114.8431
SCA12.894416.075819.048221.849233.610750.794273.807889.7958101.6265111.2091
FPA12.894416.075619.041321.834133.375850.397873.733789.6948102.0421111.8403
L-SHADE12.892216.057918.991021.742133.027949.948472.842088.7265100.7691110.3752
SSA12.894416.077519.052321.865933.798451.778176.652793.2786105.3635114.6159
EO12.894416.077619.052421.866333.844651.908676.677893.4764106.5393115.7284
CSA12.894416.076419.047621.847133.595350.885374.259990.3407103.0055112.4235
AirplaneIWOA12.227415.508118.328020.930332.192149.445773.326589.5468101.3674110.3298
IMPA12.227415.508118.328020.944332.193849.365572.952988.345299.0658107.5168
FFA12.227415.508118.327720.942632.114448.734071.037985.450695.3996103.3912
SCA12.227115.506018.313120.900831.891047.642868.102581.493891.369499.3757
FPA12.227415.505018.304120.882831.584646.896866.778380.343890.429998.7316
L-SHADE12.219315.462418.172920.691231.016745.457265.335078.733989.065197.3590
SSA12.227415.508118.327620.939832.121448.800170.875385.191295.0733103.6766
EO12.227415.508118.328020.932332.105348.733671.130785.308296.0334104.1792
CSA12.227315.506918.315520.903931.841047.609568.419782.473193.1874101.3812
MandrillIWOA12.277215.375718.273620.995932.915551.155276.045392.9924105.3956114.9888
IMPA12.277215.375718.273620.995932.914351.109975.612791.7131103.1385112.2372
FFA12.277215.375718.273620.995032.784050.556973.999989.7650100.2964108.6361
SCA12.277215.375018.269420.975432.585649.385070.803185.109795.4408103.8036
FPA12.277215.374218.257420.945532.369648.605669.787583.885294.5511103.5075
L-SHADE12.271615.349618.148120.755831.841847.522968.132882.416593.4220102.1532
SSA12.277215.375718.273520.994632.792550.388973.908789.0713100.4362108.8014
EO12.277215.375718.273620.995632.820950.632174.149389.5809100.6387109.2418
CSA12.277215.374818.266120.963632.573249.422371.008385.434496.6188105.3668
LenaIWOA12.404815.416718.157620.808532.052449.638574.186890.5829102.7917112.0831
IMPA12.404815.416718.161020.808532.064849.570473.540189.6584100.5093109.4049
FFA12.404815.416718.157520.806231.909148.925271.311485.790395.9802104.9155
SCA12.404415.415018.145220.772431.691047.818268.600782.640192.7791100.4986
FPA12.404815.415018.141220.747231.487447.201367.699581.637092.0589100.1660
L-SHADE12.398415.385418.067920.562931.022846.328366.156780.206090.632999.0467
SSA12.404815.416718.158120.808131.927348.794671.338785.943496.7511104.2898
EO12.404815.416718.159320.808531.949849.079271.629186.320297.0603105.3507
CSA12.404815.415418.147620.767631.688447.989069.290483.687694.4701102.7164

Bold values indicate the best value

Fig. 17

Comparison of the Fitness values results from each algorithm

The Fitness values obtained by each algorithm Bold values indicate the best value The Fitness values obtained by each algorithm Bold values indicate the best value The Fitness values obtained by each algorithm Bold values indicate the best value Comparison of the Fitness values results from each algorithm Figure 18 demonstrates the average of the STD for the fitness values by running each algorithm 30 times on all test images for all threshold levels. Based on those results, the proposed algorithm could also outperform all the algorithms with an average value for STD of 0.2493. Figure 19 shows a comparison among the algorithms in terms of the CPU time. The figure provides the total CPU time for running each algorithm 30 using different threshold values for all the test images. Although IWOA doesn’t obtain the minimum CPU time, it can achieve the best results for PSNR, SSIM, fitness, and STD. IWOA takes CPU time of 0.5385 seconds, while IMPA takes the most CPU time with a value of 0.9808. FFA succeeds to attain less time in 0.3318 seconds. We can conclude that IWOA attains the best results with less STD at a reasonable time when compared with other algorithms.
Fig. 18

Average STD for fitness values of all test images on all threshold levels

Fig. 19

Average CPU Time values for all test images on all threshold levels

Average STD for fitness values of all test images on all threshold levels Average CPU Time values for all test images on all threshold levels

The segmented Images

Figure 20 presents the segmented images generated by the proposed algorithm using ten different threshold levels. We can see that using more threshold levels makes the segmented image to be better and close to the original one. For using a 100-threshold level, we can see that the segmented image is the best compared to other threshold levels as it succeeds to separate more objects.
Fig. 20

The segmented images were obtained by the proposed algorithm using threshold levels 2, 3,4,5,10, 20, 40, and 100, respectively

The segmented images were obtained by the proposed algorithm using threshold levels 2, 3,4,5,10, 20, 40, and 100, respectively

Wilcoxon rank-sum test

In this section, the results obtained by our proposed algorithm are compared with the results obtained by the other algorithms using the statistical test called the Wilcoxon rank-sum test (Haynes 2013). This test is based on the null hypothesis and the alternative hypothesis. In the null hypothesis, this test supposes that there is no difference between the ranks of the results obtained by a pair of algorithms. On the other hand, the alternative hypothesis considers that there is a difference between the ranks obtained by a pair of algorithms. The significant level used in our test is . Tables 15, 16, and 17 show the P and S values obtained by comparing the fitness values obtained by the proposed algorithm with those of each compared algorithm on nine test images: 61060, 105053, 181079, 232038, 277095, 299091, 157055, 108070, and 108082. If or (), then the null hypothesis is true, whereas if or (), then the alternative hypothesis is true. Inspecting those tables appears that our proposed algorithm could be significantly different from the others for most test images under threshold levels greater than 5 however, for threshold levels smaller than that, it could almost reach the same outcomes of some compared algorithms. Based on that, our proposed algorithm can outperform all other algorithms for most of the threshold levels with all the test images.
Table 15

Results of the Wilcoxon rank-sum test between IWOA and each algorithm on images from 61060:105053 under fitness values

Test imagehSCAWOASSAFPAFFAL-SHADEIMPAEOCSA
PSPSPSPSPSPSPSPSPS
610602<0.051>0.050>0.050>0.050>0.050<0.051>0.050>0.050<0.051
3>0.050>0.050>0.050>0.050>0.050<0.051>0.050<0.051<0.051
4<0.051<0.051<0.051<0.051<0.051<0.051>0.050>0.050<0.051
5<0.051<0.051<0.051<0.051<0.051<0.051>0.050>0.050<0.051
10<0.051<0.051<0.051<0.051<0.051<0.051>0.050<0.051<0.051
20<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
40<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
60<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
80<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
100<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
1050532<0.051>0.050>0.050<0.051>0.050<0.051>0.050<0.051<0.051
3<0.051>0.050<0.051<0.051>0.050<0.051>0.050>0.050<0.051
4<0.051<0.051>0.050<0.051>0.050<0.051>0.050<0.051<0.051
5<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
10<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
20<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
40<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
60<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
80<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
100<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
Table 16

Results of the Wilcoxon rank-sum test between IWOA and each algorithm on images from 181079:157055 under fitness values

Test image hSCAWOASSAFPAFFAL-SHADEIMPAEOCSA
PSPSPSPSPSPSPSPSPS
1810792<0.051<0.051<0.051>0.050>0.050<0.051>0.050>0.050>0.050
3<0.051<0.051<0.051<0.051>0.050<0.051>0.050<0.051<0.051
4<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
5<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
10<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
20<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
40<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
60<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
80<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
100<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
2320382<0.051<0.051>0.050<0.051>0.050<0.051>0.050>0.050>0.050
3<0.051<0.051<0.051<0.051>0.050<0.051>0.050>0.050<0.051
4<0.051<0.051<0.051<0.051<0.051<0.051>0.050<0.051<0.051
5<0.051<0.051<0.051<0.051<0.051<0.051>0.050<0.051<0.051
10<0.051<0.051<0.051<0.051<0.051<0.051>0.050<0.051<0.051
20<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
40<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
60<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
80<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
100<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
2770952<0.051<0.051>0.050<0.051>0.050<0.051>0.050>0.050<0.051
3<0.051<0.051<0.051<0.051>0.050<0.051<0.051>0.050<0.051
4<0.051<0.051<0.051<0.051<0.051<0.051>0.050>0.050<0.051
5<0.051<0.051<0.051<0.051<0.051<0.051>0.050<0.051<0.051
10<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
20<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
40<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
60<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
80<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
100<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
2990912<0.051<0.051>0.050<0.051>0.050<0.051>0.050>0.050>0.050
3<0.051<0.051<0.051<0.051>0.050<0.051>0.050>0.050<0.051
4<0.051<0.051<0.051<0.051<0.051<0.051>0.050>0.050<0.051
5<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
10<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
20<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
40<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
60<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
80<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
100<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
1570552<0.051<,0.051>0.050<0.051>0.050<0.051>0.050>0.050<0.051
3<0.051<0.051>0.050<0.051>0.050<0.051>0.050>0.050>0.050
4<0.051<0.051<0.051<0.051<0.051<0.051>0.050>0.050<0.051
5<0.051<0.051<0.051<0.051<0.051<0.051<0.051>0.050<0.051
10<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
20<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
40<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
60<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
80<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
100<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
Table 17

Results of the Wilcoxon rank-sum test between IWOA and each algorithm on images from 108070:med3 under fitness values

Test imagehSCAWOASSAFPAFFAL-SHADEIMPAEOCSA
PSPSPSPSPSPSPSPSPS
1080702<0.051>0.050<0.051>0.050>0.050<0.051>0.050>0.050>0.050
3<0.051<0.051<0.051<0.051<0.051<0.051>0.050>0.050>0.050
4<0.051<0.051<0.051<0.051<0.051<0.051>0.050<0.051<0.051
5<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
10<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
20<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
40<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
60<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
80<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
100<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
1080822>0.050>0.050>0.050>0.050>0.050<0.051>0.050>0.050>0.050
3<0.051<0.051<0.051<0.051>0.050<0.051>0.050>0.050<0.051
4<0.051<0.051<0.051<0.051<0.051<0.051>0.050>0.050<0.051
5<0.051<0.051<0.051<0.051<0.051<0.051>0.050<0.051<0.051
10<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
20<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
40<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
60<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
80<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
100<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051<0.051
Results of the Wilcoxon rank-sum test between IWOA and each algorithm on images from 61060:105053 under fitness values Results of the Wilcoxon rank-sum test between IWOA and each algorithm on images from 181079:157055 under fitness values Results of the Wilcoxon rank-sum test between IWOA and each algorithm on images from 108070:med3 under fitness values

Conclusion and future directions

Image segmentation is considered a significant problem that attracts many researchers those days. Due to using image segmentation in solving many problems in the real world, researchers have been tried to find a better technique that enables them to extract the required information from the image. Many techniques were proposed, such as threshold-based, region-based, feature-based clustering, and, edge-based to resolve this research challenge. The threshold-based segmentation is used for analyzing the image segmentation due to its ease in use. To tackle the image segmentation problem using the threshold technique, we proposed an improvement on the standard whale optimization algorithm by proposing two strategies, namely linearly convergence increasing and local minima avoidance strategy (LCMA), and ranking-based updating method (RUM) that help the whale optimization algorithm (WOA) in accelerating the convergence toward the best-so-far solution and avoiding local minima that fall into at the end of the optimization process. LCMA moves the worst K particle towards the best so-far solution for accelerating the convergence and avoiding falling into local minima by updating them within the search space based on a certain probability. K starts with a small value at the start of the optimization and increases gradually with the increasing number of the iteration even reaching the maximum at the end of the iteration. Meanwhile, RUM utilizes each individual in the population as possible in an effective way that will gradually explore the solutions around the best-so-far solution as an attempt to reach better outcomes. The experiments are performed to observe the performance of IWOA with thresholds level between 2 and 100: the first one is based on a set of the normal images taken from Berkeley Segmentation Dataset (BSD). To see the superiority of IWOA, through these two experiments, it was compared with other existing algorithms like the standard whale optimization algorithm (WOA), sine-cosine algorithm (SCA), slap swarm algorithm (SSA), flower pollination algorithm (FPA), and L-SHADE algorithm, Firefly algorithm (FFA), Equilibrium optimizer (EO), and Crow search algorithm (CSA). The quality of segmented images, fitness values, and STD metrics obtained from each algorithm through these two experiments demonstrate that the proposed algorithm outperforms all algorithms integrated with the comparison. Despite these promising results, our algorithm could not outperform some algorithms in CPU time, as our main limitation. Therefore, our future extensin will be applying the LCMA technique with other evolutionary algorithms for reducing the running time and improving the quality of results. In addition, a version of the IWOA for solving the multi-objective and single-objective optimization problems is included in our future work. Moreover, a binary version of IWOA for overcoming the feature selection problem will be given as a work in the future.
  7 in total

1.  A hybrid flower pollination algorithm based modified randomized location for multi-threshold medical image segmentation.

Authors:  Rui Wang; Yongquan Zhou; Chengyan Zhao; Haizhou Wu
Journal:  Biomed Mater Eng       Date:  2015       Impact factor: 1.300

2.  DENSE-INception U-net for medical image segmentation.

Authors:  Ziang Zhang; Chengdong Wu; Sonya Coleman; Dermot Kerr
Journal:  Comput Methods Programs Biomed       Date:  2020-02-15       Impact factor: 5.428

3.  Modified salp swarm algorithm based multilevel thresholding for color image segmentation.

Authors:  Shi Kai Wang; He Ming Jia; Xiao Xu Peng
Journal:  Math Biosci Eng       Date:  2019-10-24       Impact factor: 2.080

4.  Unsupervised X-ray image segmentation with task driven generative adversarial networks.

Authors:  Yue Zhang; Shun Miao; Tommaso Mansi; Rui Liao
Journal:  Med Image Anal       Date:  2020-02-07       Impact factor: 8.545

5.  Multi-Level Image Thresholding Based on Modified Spherical Search Optimizer and Fuzzy Entropy.

Authors:  Husein S Naji Alwerfali; Mohammed A A Al-Qaness; Mohamed Abd Elaziz; Ahmed A Ewees; Diego Oliva; Songfeng Lu
Journal:  Entropy (Basel)       Date:  2020-03-12       Impact factor: 2.524

6.  Kapur's Entropy for Color Image Segmentation Based on a Hybrid Whale Optimization Algorithm.

Authors:  Chunbo Lang; Heming Jia
Journal:  Entropy (Basel)       Date:  2019-03-23       Impact factor: 2.524

  7 in total
  1 in total

1.  Movie Recommender Systems: Concepts, Methods, Challenges, and Future Directions.

Authors:  Sambandam Jayalakshmi; Narayanan Ganesh; Robert Čep; Janakiraman Senthil Murugan
Journal:  Sensors (Basel)       Date:  2022-06-29       Impact factor: 3.847

  1 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.