Next Article in Journal
Permutation Entropy as a Universal Disorder Criterion: How Disorders at Different Scale Levels Are Manifestations of the Same Underlying Principle
Previous Article in Journal
Whether the Support Region of Three-Bit Uniform Quantizer Has a Strong Impact on Post-Training Quantization for MNIST Dataset?
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Enhanced Slime Mould Algorithm for Multilevel Thresholding Image Segmentation Using Entropy Measures

1
College of Marine Engineering, Dalian Maritime University, Dalian 116026, China
2
School of Information Engineering, Sanming University, Sanming 365004, China
3
Faculty of Computer Sciences and Informatics, Amman Arab University, Amman 11953, Jordan
4
School of Computer Science, Universiti Sains Malaysia, Pulau Pinang 11800, Malaysia
5
Department of Management Information System, College of Business Administration, Taif University, P.O. Box 11099, Taif 21944, Saudi Arabia
*
Authors to whom correspondence should be addressed.
Submission received: 18 November 2021 / Revised: 17 December 2021 / Accepted: 17 December 2021 / Published: 20 December 2021

Abstract

:
Image segmentation is a fundamental but essential step in image processing because it dramatically influences posterior image analysis. Multilevel thresholding image segmentation is one of the most popular image segmentation techniques, and many researchers have used meta-heuristic optimization algorithms (MAs) to determine the threshold values. However, MAs have some defects; for example, they are prone to stagnate in local optimal and slow convergence speed. This paper proposes an enhanced slime mould algorithm for global optimization and multilevel thresholding image segmentation, namely ESMA. First, the Levy flight method is used to improve the exploration ability of SMA. Second, quasi opposition-based learning is introduced to enhance the exploitation ability and balance the exploration and exploitation. Then, the superiority of the proposed work ESMA is confirmed concerning the 23 benchmark functions. Afterward, the ESMA is applied in multilevel thresholding image segmentation using minimum cross-entropy as the fitness function. We select eight greyscale images as the benchmark images for testing and compare them with the other classical and state-of-the-art algorithms. Meanwhile, the experimental metrics include the average fitness (mean), standard deviation (Std), peak signal to noise ratio (PSNR), structure similarity index (SSIM), feature similarity index (FSIM), and Wilcoxon rank-sum test, which is utilized to evaluate the quality of segmentation. Experimental results demonstrated that ESMA is superior to other algorithms and can provide higher segmentation accuracy.

1. Introduction

Image segmentation is fundamental and challenging work in computer vision, pattern recognition, and image processing. It is widely used in various fields, such as ship target segmentation and medical image processing [1]. The main goal of segmentation is to divide the image into homogeneous classes. The elements of each class share common attributes such as grayscale, feature, color, intensity, or texture [2,3,4,5]. In the literature, there are four standard image segmentation methods, which can be divided into (1) clustering-based methods, (2) region-based methods, (3) graph-based methods, (4) thresholding-based methods. Among the existing methods, one of the most widespread techniques is multilevel thresholding, which is widely used owing to its ease of implementation, high performance, and robustness compared with other methods [6]. Image thresholding techniques can be classified into two categories: Bilevel and multilevel. In the prior category, the image is separated into two homogeneous foreground and background areas using a single threshold value. The latter segment-techniques segment divides an image into more than two regions based on pixel intensities known as histogram [7]. Bilevel thresholding can solve simple image segmentation problems involving only two grey levels. However, the bilevel cannot be suitable for complicated and high-grade images. Therefore, the multilevel thresholding technique is the primary method for real-world applications [8]. Generally speaking, selecting threshold values is crucial when segmenting an image because of the enormous image thresholds. Consequently, it is formulated into an optimization problem, which includes parametric or nonparametric methods [9].
The parametric approach considers that each image class can be defined using probability density distributions, but this technique is computationally expensive. By contrast, the nonparametric approach uses criteria to separate the pixels into homogeneous regions, and then the thresholds are determined using statistical measures (entropy or variance) [10]. Over the years, many works in the literature have proposed some of these criteria. Among them, Otsu’s technique maximizes the between-class variance of each segmented class to achieve the optimal thresholds [11]. Kapur’s approach used the entropy of the histogram as a formula to obtain the optimal thresholds [12]. Li et al. [13] presented the minimum cross-entropy to minimize the cross-entropy between the original and segmented image to get the optimal thresholds values.
Notwithstanding, these approaches have limitations; for example, they are computationally expensive, significantly when the number of thresholds is increased. Therefore, multilevel thresholding is considered a particular challenge that needs to be optimized. For these reasons, meta-heuristic methods are commonly utilized in the related literature to solve these problems [14].
MAs are inspired by nature, including areas such as physics, biology, and social behavior. Owing to their easy implementation, flexibility, and high performance, many scholars have used them to determine the optimal values for real-world problems [15,16,17,18,19,20]. Over the past years, many meta-heuristic algorithms have been proposed. For instance, Particle Swarm Optimization (PSO) [21], Differential Evolution (DE) [22], Genetic Algorithm [23], Teaching-Learning-based Optimization (TLBO) [24], Simulated Annealing (SA) [25], Gravity Search Algorithm (GSA) [26], and Ant Colony Optimization Algorithm (ACO) [27]. Other than these classic algorithms, many novel MAs have been proposed in the literature and widely used in different domains, such as Gray Wolf Optimization (GWO) [28], Whale Optimization Algorithm (WOA) [29], Salp Swarm Algorithm (SSA) [30], Sine Cosine Algorithm (SCA) [31], Arithmetic Optimization Algorithm (AOA) [32], Aquila Optimizer (AO) [33], Multi-Verse Optimization (MVO) [34], Slime Mould Algorithm (SMA) [35], and Remora Optimization Algorithm (ROA) [36].
In the literature, many works show the efficiency of MAs in obtaining optimal thresholds; the following are a few outstanding research works. Jia et al. [37] proposed an improved moth-flame optimization for color image segmentation using Otsu’s between-class variance and Kapur’s entropy as objective functions. The proposed method was compared with FPA, ACO, PSO, etc. Wu et al. [38] presented an ameliorated teaching-learning-based optimization based on a random learning method for multilevel thresholding using Kapur’s entropy and Otsu’s between-class variance. Pare et al. [39] proposed a color image multilevel segmentation strategy based on the Bat algorithm and Renyi’s entropy as the criterion to tackle the problems of multi-thresholding. Zhao et al. [40] presented a variant of SMA based on diffusion mechanism and association strategy for CT image segmentation. In this work, Renyi’s entropy was the objective fitness function. All of these works are examples of meta-heuristic algorithms applied in multilevel thresholding image segmentation. Generally, they provide good results on some benchmark images. However, considering the No Free Lunch (NFL) theorem proposed by Wolpert in 1997 [41], no unique optimization algorithm is available for solving all optimization problems. Furthermore, all meta-heuristic algorithms have limitations that affect the optimization capability, such as showing low convergence speed and unbalancing the exploration and exploitation ability.
Slime mould algorithm (SMA) is a novel meta-heuristic algorithm proposed by Li et al. in 2020 [35], which is inspired by the oscillation mode and behavior of slime mould in foraging. Since SMA has few parameters and shows better performance in specific fields, many scholars utilize it to solve questions of reality, such as parameter optimization of the fuzzy system and feature selection [36,37]. However, similar to other MAs, SMA may fall into local optimal and slow convergence speed in some optimization problems. Thus, many contributed works are proposed to enhance the performance of SMA. Dhawale et al. [42] suggested an improved SMA based on a chaotic strategy for solving global optimization and constrained engineering problems. Mostafa et al. [43] presented a modified SMA by adaptive weight to estimate the PV panel parameters. Hassan et al. [44] proposed an improved SMA via sine and cosine operators for solving economic and emission dispatch problems. Ewees et al. [45] integrated the SMA and firefly algorithm to improve the performance for feature selection.
While these proposed improved versions of the SMA algorithm are better than the original SMA algorithm on specific problems, when solving multilevel thresholding image segmentation, the imbalance between exploration and exploitation is still an unavoidable problem. This paper proposes a novel variant of SMA (ESMA) with the Levy flight and quasi opposition-based learning to tackle these shortcomings and obtain high-quality threshold values in image segmentation. The improvement involves two primary approaches. Firstly, the Levy flight strategy is applied to improve the exploration capability of SMA. Moreover, a novel variant of opposition-based learning (OBL), called quasi opposition-based learning (QOBL), is utilized to improve the ability to jump out the local optimal and balance the exploration and exploitation. In the experimental phase, the proposed ESMA is then tested on the 23 benchmark functions and applied to solve the multilevel thresholding image segmentation problem.
Meanwhile, the ESMA is also used to compare with other MAs. Furthermore, for the field of image segmentation, we evaluated the image segmentation results using Peak Signal to Noise Ratio (PSNR), Structural Similarity Index (SSIM), and Feature Similarity Index (FSIM). The experimental results illustrate that the proposed algorithm can produce high-quality results for benchmark functions and the image segmentation field.
Specifically, the main contributions of this paper can be summarized as follows:
  • ESMA based on Levy flight and quasi opposition-based learning for solving global optimization problems and multilevel thresholding image segmentation.
  • The optimization performance of ESMA is evaluated on 23 benchmark functions including unimodal and multimodal.
  • DSMA is applied for thresholding segmentation using minimum cross-entropy measure.
  • The segmentation quality is verified according to the PSNR, SSIM, FSIM, and statistical test.
  • The performance of DSMA is compared with several classical and state-of-the-art optimization algorithm.
The remainder of this paper can be organized as follows: Section 2 describes a brief overview of SMA, Levy flight, quasi opposition-based learning, and maximum cross-entropy measure. Section 3 provides the details of the proposed algorithm. The experimental results are discussed and analyzed in detail in Section 4 and Section 5. Finally, the conclusion and future work are discussed in Section 6.

2. Preliminaries

This section presents the main inspiration and mathematical model of the slime mould algorithm (SMA). Next, the improvement strategy including Levy flight, and quasi opposition-based learning will be described. Finally, we will describe the minimum cross-entropy measure.

2.1. Slime Mould Algorithm

The slime mould algorithm (SMA) is a meta-heuristic optimization algorithm proposed recently by Li et al. [35], which is inspired by the oscillation behavior of slime mould in foraging. Slime mould achieves positive and negative feedback according to the quality of the food source. If the quality of the food source is high, the slime mould will use the region-limited search strategy. Meanwhile, if the food source is of low quality, the slime mould will leave this area and move to another food source in search space. Furthermore, SMA also has a slight chance of z to reinitialize the population in the search space.
Based on the above description, the updating process of slime mould can be expressed as in the following equation:
X t + 1 = r 2 × U B L B + L B ,   r 1 < z X b t + v b × W X A t X B t ,   r 3 < p v c × X t ,   r 3 p
where z denotes the probability of slime mould reinitializing, which is 0.03; r1, r2, and r3 denote the random value in [0,1]; LB and UB represent the lower and upper bound of search space, respectively; t is the current iteration. X b t represents global best solution; both X A t and X B t denote the random individual; v b ∈ [−a,a], and v c decreases linearly from one to zero. W represents the weight of slime mould.
The p can be calculated as follows:
p = t a n h S i D F
where i ∈ 1,2, …, N, S(i) is the sequence representing the fitness of search agents. DF indicates the best fitness obtained by the slime mould.
v b can be calculated as follows:
v b = [ a , a ]
a = a r c t a n h ( t T + 1 )
where T represents the maximum iteration.
Note that the coefficient W is an essential parameter, which simulates the oscillation frequency of slime mould under different food sources. The W can be calculated as follows:
W S m e l l I n d e x i = 1 + r 4 × l o g b F S i b F w F + 1 , c o n d i t i o n 1 r 4 × l o g b F S i b F w F + 1 , o t h e r s
S m e l l I n d e x = s o r t ( S )
where r4 is a random value in [0,1]; bF and wF represent the best fitness and worst fitness obtained currently, respectively; condition indicates the rank first half of the search agent of S(i). The pseudo-code of SMA is shown in Algorithm 1.
Algorithm 1 Pseudo-code of SMA
Initialize the positions of search agent;
While current iteration < maximum iteration do
  Check if any search agent goes beyond the search space and amend it;
  Calculate the fitness of all slime mould;
  For each search agent do
   Update positions by Equation (1);
  End For
  t = t + 1;
End While
Return the best solution;

2.2. Levy Flight

Numerous studies reveal that the flight trajectories of many flying animals are consistent with characteristics typical of Levy flight. Levy flight is a class of non-Gaussian random walk that follows Levy distribution [46,47]. It performs occasional long-distance walking with frequent short-distance steps, as shown in Figure 1. The mathematical formula for Levy flight is as follows:
L e v y = 0.01 × r 5 × σ r 6 1 β
σ = Γ 1 + β × sin π β 2 Γ 1 + β 2 × β × 2 β 1 2 1 β
where r4 and r5 are random values in [0,1], and β is a constant equal to 1.5.

2.3. Quasi Opposition-Based Learning

2.3.1. Opposition-Based Learning

Opposition-based learning (OBL) is an efficient search approach to avoid premature convergence, which was proposed by Tizhoosh in 2005 [48]. The main idea of OBL is to generate the opposite solution in the search space, then evaluate the original solution and its opposite solution by the objective function, respectively. Next, the best solution will be retained and go into the next iteration. Typically, the OBL strategy has high opportunities to provide closer optimal solutions than random ones.
We assume x to be an actual number in one dimension. Its opposite number xobl can be calculated by:
x o b l = L B + U B x

2.3.2. Quasi Opposition-Based Learning

Based on the above description, a variant of OBL called quasi opposition-based learning (QOBL) was proposed by Rahnamayan et al. [49]. Unlike OBL, the QOBL strategy applied a quasi-opposite solution rather than the opposite solution. Therefore, the QOBL approach is more effective in finding globally optimal solutions than the previous strategy. On the basic theory of opposite solution, the quasi-opposite solution can be calculated by:
x q o b l = r a n d ( L B + U B 2 , x o b l )
To understand the above theory more clearly, Figure 2 illustrates the original solution x, its opposite solution xobl, and its quasi-opposite solution xqobl.

2.4. Minimum Cross-Entropy

In 1968, cross-entropy was proposed by Kullback [50]. Cross-entropy measures the difference information between two probability distributions P = p 1 ,   p 2 ,     ,   p N and Q = q 1 ,   q 2 ,     ,   q N , defined by:
D P ,   Q = i = 1 N p i log p i q i
In this work, we utilized minimum cross-entropy as a fitness function to find the optimal threshold value. The lower value of cross-entropy means less uncertainty and greater homogeneity. Let I be the origin grey image and h(i) be its histogram. Then, the thresholded image Ith can be calculated as follows:
I t h = μ ( 1 ,   t h ) , i f   I ( x , y ) < t h μ ( t h ,   L + 1 ) , i f   I ( x , y ) t h
where th denotes the threshold and divides the image into two different regions (foreground and background), and μ ( a , b ) can be calculated by:
μ ( a , b ) = i = a b 1 i h ( i ) i = a b 1 h ( i )
The cross-entropy can be computed by:
f c r o s s ( t h ) = i = 1 t h 1 i h ( i ) log i μ ( 1 ,   t h ) + i = t h L i h ( i ) log i μ ( t h ,   L + 1 )
The above objective functions are utilized to calculate the threshold value for bilevel thresholding. Thus it can be extended to a multilevel strategy. Yin [51] proposed a faster technique to obtain the threshold values for the digital image. The formula is as follows:
f c r o s s ( t h ) = i = 1 L i h ( i ) log i i = 1 t h 1 i h ( i ) log ( μ ( 1 ,   t h ) ) i = t h L i h ( i ) log ( μ ( t h ,   L + 1 ) )
where the above formula is based on thresholds t h = [ t h 1 , t h 2 , , t h n t ] , which contain nt different threshold values, by:
f c r o s s ( t h ) = i = 1 L i h ( i ) log ( i ) i = 1 n t H i
where nt represents the total number of thresholds and Hi can be defined as follows:
H 1 = i = 1 t h 1 1 i h ( i ) log ( μ ( 1 ,   t h 1 ) )
H k = i = t h k 1 t h k 1 i h ( i ) log ( μ ( t h k 1 ,   t h k ) ) ,   1 < k < n t
H n t = i = t h n t L i h ( i ) log ( μ ( t h n t ,   L + 1 ) )

3. The Proposed Algorithm

3.1. Details of ESMA

The standard slime mould algorithm is a simple and efficient approach to solving specific optimization problems. However, based on the NFL theorem, no unique optimization algorithm is available for solving all optimization problems. Furthermore, SMA may be trapped into local optimal and show unperfected convergence speed for specific problems such as multilevel thresholding image segmentation. In order to improve the search ability and balance exploration and exploitation, in this paper, we propose an enhanced slime mould algorithm (ESMA) to improve the optimization performance. The improvement involves two major methods. Firstly, the Levy flight was used to enhance the exploration ability of SMA, which can be calculated by:
X t + 1 = r 2 × U B L B + L B ,   r 1 < z X b + v b × W × X A X B × L e v y ,   r 3 < p v c × X i ,   r 3 p
Secondly, quasi opposition-based learning was used to enhance the exploitation ability of SMA and balance the exploration and exploitation capability. The pseudo-code of ESMA is shown in Algorithm 2, and Figure 3 illustrates the flowchart of the proposed algorithm.
Algorithm 2 Pseudo-code of ESMA
Initialize the positions of search agent;
While current iteration < maximum iteration do
  Check if any search agent goes beyond the search space and amend it;
  Calculate the fitness of all slime mould;
  For each search agent, do
   Update positions by Equation (20);
  End For
  Apply QOBL strategy by Equation (10);
  Select the best position into next iteration by greedy strategy;
  t = t + 1;
End While
Return the best solution;

3.2. Computational Complexity Analysis

As can be seen, the ESMA mainly contains three components: Initialization phase, fitness evaluation, and position update procedure. In the initialization phase, the complexity can be expressed as O(N×D), where N represents the population size, and D denotes the dimension size of problems. Besides, the proposed algorithm evaluates the fitness of all slime mould with the complexity of O(N). The position update phase in the ESMA requires O(N×D). During the position updating phase, we utilize the QOBL to improve the exploitation ability and balance the exploration and exploitation; thus the QOBL strategy requires O(N×D). In summary, the total computation complexity of ESMA can be expressed as O(N×D×T) for T iterations. So, it can be concluded that both the SMA and ESMA have the same computational complexity wise.

4. Experimental Results and Discussion

4.1. Definition of 23 Benchmark Functions

To evaluate the exploration ability, exploitation ability, and escaping from the local optima ability of ESMA, twenty-three benchmark functions, including unimodal (F1–F7), multimodal (F8–F13), and fixed-dimension multimodal (F14–F23), are introduced [52]. The description of these functions is shown in Table 1, Table 2 and Table 3. As can be seen, the unimodal benchmark functions have only one global optimal value, which is suitable for evaluating the algorithms’ exploitation capability. Unlike unimodal functions, the multimodal and fixed-dimension benchmark functions have multiple local optimal values and only one optimal global value; it is suitable for evaluating the exploration ability and escaping from local minima.
To verify the performance of the proposed ESMA, we compared it with seven other algorithms including slime mould algorithm (SMA) [35], remora optimization algorithm (ROA) [36], arithmetic optimization algorithm (AOA) [32], aquila optimizer (AO) [33], salp swarm algorithm (SSA) [30], whale optimization algorithm (WOA) [29], and sine cosine algorithm (SCA) [31]. These classical and state-of-the-art algorithms are proved to equip with excellent performance on some optimization problems. The details of these algorithms are listed as follows:
  • SMA [35] was proposed by Li et al. in 2020 and simulates the behavior and morphological process of slime mould during foraging.
  • ROA [36] was proposed by Jia et al. in 2021 and simulates the parasitic behavior of remora.
  • AOA [32] was proposed by Abualigah et al. in 2021 and is inspired by the arithmetic operator in mathematics.
  • AO [33] was proposed by Abualigah et al. in 2021 and is inspired by the Aquila’s behaviors in nature during the process of catching the prey.
  • SSA [30] was proposed by Mirjalili et al. in 2017 and is inspired by the swarming behavior of salps when navigating and foraging in oceans.
  • WOA [29] was proposed by Mirjalili et al. in 2016 and mimics the social behavior of humpback whales.
  • SCA [31] was proposed by Mirjalili et al. in 2016 and is inspired by the sine function and cosine function in nature.
Table 4 illustrates the parameter setting of each algorithm. For all the algorithms included in the comparison, we set the population size N = 30, dimension size D = 30, and maximum iteration T = 500; all the tests had 30 independent runs. Furthermore, we extract the average results, standard deviations, and statistical tests to evaluate the performance; the best results will be listed in bold font.

4.2. Statistical Results on 23 Benchmark Functions

The statistical results on 23 benchmark functions can be seen in Table 5. From this table, it can be clearly seen that the ESMA is superior to other algorithms in most benchmark functions. For unimodal benchmark functions (F1–F7), ESMA can obtain theoretical optimal for F1 and F3, while others algorithms cannot find the optimal solution. While ESMA cannot find the theoretical optimal for F4, F5, and F7, the convergence accuracy and robustness are better than other algorithms. In general, the exploitation ability of SMA is enhanced by applying the QOBL strategy. For the multimodal benchmark functions and fixed-dimension multimodal benchmark functions, ESMA also provides more competitive results than others. ESMA can obtain the theoretical optimal for F8, F9, F11, F14, F16, F17, F19, and F21–F23. For F10, F12, F13, and F15, ESMA gets the optimal global solution compared to others. Consequently, it can be concluded that ESMA always maintains high convergence accuracy and high robustness compared to other algorithms on such benchmark functions.

4.3. Wilcoxon Rank-Sum Test

In order to verify the non-incidentalness of the experimental results, this paper carried out the Wilcoxon rank-sum test (WRS). WRS is a nonparametric statistical test used to test the statistical performance between the proposed algorithm and comparison group on different benchmark functions [53]. WRS is based here on a 5% significant level, if the p-values obtained are less than 0.05, it indicates that there is a significant difference between them; otherwise, the difference is not obvious. The p-values obtained by algorithms are listed in Table 6. From this table, we can see that ESMA provides the statistically significant results compared with other algorithms.

4.4. Convergence Behavior Analysis

The convergence behavior of some benchmark functions is shown in Figure 4. On the unimodal benchmark functions, ESMA can achieve the highest accuracy and faster convergence speed. Especially for F1 and F3, while SMA can find the optimal solution, the convergence speed is slower than ESMA. For F2 and F4, ESMA finally converges to the optimal solution, while other algorithms either converge slowly or cannot converge to the optimal solution. For F5 and F7, while ESMA does not find the theoretical optimal solution, it still converges to the global optimal solution. On the multimodal benchmark functions, ESMA still shows the fastest convergence speed on most functions. While the global optimal solution is not found in some functions, it still has good performance compared with other algorithms. On the fixed dimensional multimodal functions, ESMA shows a faster convergence speed in the initial stage than others, and it also has a good convergence speed.
Generally, ESMA can obtain competitive results compared to other algorithms, such as the fastest convergence speed and highest convergence accuracy.

4.5. Qualitative Metrics Analysis

To evaluate the optimization performance of ESMA, Figure 5 illustrates the qualitative metrics, which include the 2D shape of benchmark functions (first column), search history of individuals (second column), trajectory (third column), average fitness (fourth column), and convergence curve (fifth column). For the first column, the 2D view of benchmark functions is described and shows the complexity of different functions. The second column illustrates the search history of the search agent from the first to the last iteration; it can be seen that the proposed ESMA is able to find the areas where the fitness values are the lowest. The trajectory of the first agent in the first dimension is described in the third column. We can see that the search agent oscillates continuously in the search space, which shows that the search agent widely studies the most promising fields and better solutions. The fourth column denotes the average fitness history. It can be seen that the fitness curve is decreasing, which indicates that the quality of the population is improving at each iteration. The last column is the convergence curve, which reveals that populations find the best solution after each iteration.

5. Experimental Results on Multilevel Thresholding

This section introduces the experimental details of the proposed algorithm ESMA applied to the multilevel thresholding image segmentation. First, the benchmark images and the experimental setup are presented in Section 5.1. Furthermore, the results of the algorithms in fitness, PSNR, SSIM, and FSIM are also analyzed. This section also shows the statistical analysis used to compare the proposed algorithm with other competitive algorithms.

5.1. Experiment Setup

In this paper, the benchmark greyscale images, including Lena, Baboon, Butterfly, etc., are used to evaluate the performance of the proposed algorithm ESMA’s image segmentation [54]. All the benchmark images and their histogram images are represented in Figure 6. To guarantee the fairness of the experiment, all the algorithms are evaluated 30 times per image, and the maximum iteration T is 500; the number of population size N is 30. The number of thresholds values [nTh = 4, 6, 8, 10].

5.2. Evaluation Measurements

In this paper, three common evaluation methods are used to illustrate the performance of the algorithm and the quality of image segmentation, namely PSNR, FSIM, and SSIM, which are defined as follows:

5.2.1. PSNR

Peak Signal to Noise Ratio (PSNR) is an image quality evaluation metric used to evaluate the similarity between the original image and the segmented image [55]. The PSNR is calculated as:
P S N R = 20 l o g 10 255 R M S E
R M S E = i = 1 M j = 1 N ( ( I ( i , j ) S e g ( i , j ) ) 2 ) M × N
where I and Seg denote the original image and segmented image with M × N, respectively; RMSE is the root mean square error.

5.2.2. SSIM

Structural Similarity (SSIM) is a common metric used to measure the structural similarity between the original image and the segmented image [3], and is defined as:
S S I M ( I , S e g ) = ( 2 μ I μ S e g + c 1 ) ( 2 σ I , S e g + c 2 ) ( μ I 2 + μ S e g 2 + c 1 ) ( σ I 2 + σ S e g 2 + c 2 )
where μI and μSeg indicate the mean intensity of the original image and its segmented image; σI and σSeg denote the standard deviation of the original image and its segmented image; σI,Seg is the covariance of the original image and the segmented image. c1 and c2 are constant.

5.2.3. FSIM

Feature Similarity (FSIM) is used to estimate the structural similarity between the original image and the segmented image [56], and is defined as:
F S I M = ω Ω S L ( ω ) P C m ( ω ) ω Ω P C m ( ω )
S L ( ω ) = S P C ( ω ) S G ( ω )
S P C ( ω ) = 2 P C 1 ( ω ) P C 2 ( ω ) + T 1 P C 1 2 ( ω ) + P C 2 2 ( ω ) + T 1
S G ( ω ) = 2 G 1 ( ω ) G 2 ( ω ) + T 2 G 1 2 ( ω ) + G 2 2 ( ω ) + T 2
where Ω indicates the entire image domain; PC1 and PC2 represent the phase consistency of the original image and its segmented image, respectively; G1 and G2 represent the gradient magnitude of the original image and segmented image, respectively. T1 and T2 both are constant.

5.3. Experimental Result Analysis

This section mainly compares ESMA with seven optimization algorithms: SMA, ROA, AOA, AO, SSA, WOA, and SCA. All the algorithms run independently 30 times, and the average value (mean) and standard deviation (Std) are selected as the evaluation indexes, in which the best values are marked in bold.
Table A1 illustrates the optimal threshold values obtained by different algorithms on the benchmark images. It can be seen that when the number of thresholds is equal to 4 and 6, the thresholds obtained by most algorithms are roughly the same. However, the results are quite different when the thresholds are extended to 8 and 10, especially for SCA and AOA.
Table A2 represents the average fitness values and their Std obtained by all algorithms on the benchmark images. In general, the lower value of the average fitness denotes the better quality of segmentation. It can be seen that the fitness value of ESMA is better than most algorithms. For example, when the tank image is segmented with ten threshold levels, the fitness value obtained by ESMA ranks first, which is greatly improved compared with the SMA. Experimental results show that ESMA has better performance and strong applicability in segmenting multilevel threshold images.
Table A3 shows the PSNR results obtained by all algorithms. As mentioned above, it is suitable to evaluate the similarity between the segmented image and the original image, where a higher average value indicates a better segmentation quality. From the attained results, however, there are only small differences between the ESMA and other compared algorithms in threshold values 4 and 6. However, the PSNR values significantly increase when the threshold values are increasing. It can be observed that, for most benchmark images, the proposed ESMA significantly produces more favorable and reliable results than the original SMA and other compared algorithms, which provides better PSNR results for most benchmark images, for example, when images Lena, Baboon, Tank, Cameraman, and Pirate are tackled with 10 threshold levels. Obviously, the PSNR values are highest, and AO and WOA are ranked second and third, respectively. When segmenting Lena and Baboon images, ESMA showed the best PSNR value among all thresholds. Generally, ESMA presents the best performance with the images Lena, Baboon, Peppers, Tank, and House.
Table A4 illustrates the SSIM value obtained from different algorithms. As is possible to obverse, when the threshold is equal to 4, the SSIM results of each algorithm are roughly the same. Then, as the number of threshold values increases, the value of SSIM continues to increase, ESMA can obtain more original image information than other algorithms. For example, when the threshold value is equal to 4, the SSIM value obtained by ESMA for Baboon is 0.8041. When the number of thresholds increases to 10, the SSIM is 0.9395. Furthermore, when the threshold is equal to 6, 8, and 10, the segmentation quality of ESMA is better than most comparison algorithms, especially for segmenting Baboon, Butterfly, and House. In the case of Cameraman, the best SSIM results were obtained by ROA in the threshold values 4, 6, and 8. Overall, ESMA ranked first in segmentation quality.
Table A5 shows the FSIM values obtained by different algorithms, where a higher value represents the best quality of the segmentation. We can see that the SMA and ROA show significant performance in Baboon, Butterfly, and Cameraman. Both AOA and SCA are not shown a significant performance for any of the images. The proposed ESMA can achieve good results in segmenting most images. For example, when the House image is processed using eight each threshold level, the value of FSIM is significant. Therefore, in most cases, the algorithm proposed in this paper can extract the interesting target from the image more accurately.
Table A6 represents the p-value obtained by Wilcoxon rank-sum test with 5% significance level. It can be seen from the results that ESMA is significantly different from ROA, AOA, SSA, and SCA, which means that the proposed algorithm ESMA has been improved considerably. However, there is no significant difference at Lena for level 4. When comparing ESMA and WOA, there are significant differences in other images except for Butterfly, House, and Pepper.
Table 7 shows the image segmentation results of the proposed algorithm ESMA for different thresholds, in which the obtained optimal threshold is marked with a red vertical line. This table shows how the thresholds divide an image into several different classes and how the objects are segmented from the background.
Figure 7 summarizes the segmentation experimental results of fitness, PSNR, SSIM, and FSIM based on the objective function. From this figure, we can see that the segmentation performance of ESMA is significantly improved compared with original SMA, and ROA and WOA are ranked second and third, respectively.
According to the above evaluation metrics and statistical test, the proposed ESMA has a better segmentation quality than other compared algorithms. Thus, the proposed ESMA can be effectively applied to the field of image segmentation.

6. Conclusions and Future Work

In this paper, an enhanced slime mould algorithm (ESMA) is proposed for global optimization and multilevel thresholding image segmentation. In order to improve the performance of SMA, we use two strategies. First, the Levy flight strategy is used to enhance the exploration ability. Second, quasi opposition-based learning is used to enhance the exploitation ability and balance the exploration and exploitation. To evaluate the performance of ESMA, ESMA and some state-of-the-art algorithms were tested on the 23 benchmark functions, and the results indicate that the ESMA is superior to others. This shows that the above two strategies can effectively help SMA avoid falling into optimal local state and improve the global search ability of the population. In addition, we applied ESMA to multilevel thresholding image segmentation, and minimum cross-entropy is selected as the fitness function. The experimental evaluation metrics determined the mean fitness, standard deviation, PSNR, SSIM, FSIM and Wilcoxon rank-sum test. Experimental results show that the ESMA method is superior to other image segmentation methods in PSNR, FSIM, SSIM, and statistical tests.
While the proposed work is valuable in the image segmentation field, it is necessary to extend the benchmark images and increase the number of thresholds to obtain more reliable results. In addition, we will also seek to hybridize the ESMA with other MAs to improve the segmentation results when solving real-world applications, such as ship target segmentation and medical image segmentation. Meanwhile, other objective functions can be selected to realize multilevel thresholding image segmentation.

Author Contributions

S.L., methodology, software, validation, formal analysis, investigation, resources, writing—original draft preparation, funding acquisition; H.J., conceptualization, writing—review and editing, visualization, supervision; L.A., review and editing, supervision; M.A., review and editing. All authors have read and agreed to the published version of the manuscript.

Funding

This research is funded by the High-tech Ship Research Program (No. [2017]614 and No. [2018]473) from Ministry of Industry and Information Technology of China, Fujian Natural Science Foundation Project (2021J011128), Sanming University National Natural Science Foundation Breeding Project (PYT2105), Sanming University Introduces High-level Talents to Start Scientific Research Funding Support Project (20YG14). This study was financially supported via a funding grant by Deanship of Scientific Research, Taif University Researchers Supporting Project number (TURSP-2020/300), Taif University, Taif, Saudi Arabia.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are available on request from the corresponding author.

Conflicts of Interest

The author declares no conflict of interest.

Appendix A

Table A1. The best thresholds obtained by algorithms.
Table A1. The best thresholds obtained by algorithms.
ImagenThESMASMAROAAOAAOSSAWOASCA
Lena471 109 141 17771 109 141 17771 109 141 17778 112 147 20071 109 141 17771 109 141 17771 109 141 17778 105 142 181
660 86 113
137 160 187
60 85 112
137 160 187
60 86 113
137 160 187
17 47 53
91 134 176
60 86 113
137 160 187
60 86 113
137 160 187
60 86 113
137 160 187
58 87 105
136 153 186
852 69 90 111
130 147 166 191
50 65 84 102
121 142 163 189
2 52 70 93
116 139 161 188
62 87 109 122
142 164 182 189
52 69 90 111
130 147 166 191
52 69 90 111
130 147 166 191
52 69 90 111
130 147 166 191
1 53 76 101
121 137 165 189
1048 60 75 91 107
122 137 152 169 193
50 65 83 100 117
134 149 165 184 203
47 59 73 90 106
121 137 152 169 193
17 45 55 68 78
110 141 155 170 201
3 50 64 82 99
116 134 151 169 193
49 62 78 95 110
126 141 155 172 194
2 50 65 83 100
117 135 151 169 193
1 47 50 71 77
92 110 138 164 187
Baboon465 100 132 16464 99 131 16465 100 132 16447 92 141 19065 100 132 16465 100 132 16465 100 132 16461 98 134 169
649 75 100
123 146 172
47 73 98
121 145 172
49 75 100
123 146 172
46 69 102
142 179 179
49 75 100
123 146 172
49 75 100
123 146 172
49 75 100
123 146 172
38 56 83
114 135 158
840 63 83 103
122 140 160 180
34 55 74 94
114 133 154 177
39 61 81 101
119 137 158 179
70 94 118 154
157 184 190 194
38 61 81 101
119 137 158 179
39 62 82 102
121 139 159 180
39 61 81 101
119 137 158 179
1 1 26 59
88 113 137 175
1032 52 69 86 102
117 132 149 167 185
25 46 62 79 96
113 129 146 164 182
9 40 59 77 95
112 128 145 164 183
28 41 64 89 114
125 156 180 200 229
35 56 74 92 110
127 144 163 182 253
35 56 74 92 110
127 144 163 182 244
8 40 59 77 95
112 128 145 164 183
1 2 2 43 72
91 116 130 146 170
Butterfly470 97 125 16170 97 125 16170 97 125 16169 108 147 22670 97 125 16170 97 125 16170 97 125 16164 90 119 163
661 83 103
127 153 180
61 83 103
127 153 181
61 83 103
127 153 180
42 66 75
96 135 154
61 82 103
127 153 180
61 82 103
127 153 180
61 82 103
127 153 181
1 62 85
111 136 169
854 69 82 98
115 136 158 181
54 69 82 98
115 136 157 181
54 69 82 98
115 136 158 181
27 52 80 115
130 151 161 233
54 69 82 98
115 135 158 181
54 69 84 100
115 135 157 180
50 69 83 99
115 135 158 181
1 47 74 96
114 138 164 183
1026 54 69 83 96
111 127 143 160 182
31 50 68 83 96
111 127 142 160 182
26 54 69 83 96
111 127 143 160 182
35 44 56 57 66
91 104 136 158 202
2 44 57 70 84
100 115 135 158 180
12 54 69 83 96
111 127 142 160 182
33 54 66 82 97
112 127 142 161 182
1 55 61 68 88
105 112 128 149 174
Peppers437 76 118 16437 77 119 16537 77 119 16553 61 109 14237 77 119 16537 77 119 16537 77 119 16535 72 118 168
625 49 78
108 140 174
32 62 88
115 146 177
25 49 78
108 140 174
13 41 59
102 152 176
24 48 78
108 140 174
25 49 78
108 140 174
25 49 78
108 140 174
1 36 78
114 141 169
822 43 68 89
109 133 158 183
22 42 67 88
108 133 158 183
22 42 67 88
108 133 158 183
30 45 61 73
85 130 172 217
13 45 78 91
124 151 166 202
23 44 71 93
118 148 178 235
22 43 68 89
109 134 158 183
6 37 58 84
101 129 157 180
1020 36 55 74 91
109 131 153 174 196
16 26 41 59 77
94 113 137 160 184
11 26 45 62 87
97 122 141 174 199
2 17 30 71 83
98 125 147 152 205
17 43 72 80 102
126 148 157 167 204
22 42 67 87 106
128 151 173 195 236
2 22 42 67 87
106 128 151 173 195
1 1 20 31 55
83 110 136 168 250
Tank467 96 124 14567 96 123 14567 96 123 14557 112 132 14767 96 124 14668 98 126 14767 96 124 14671 103 126 146
656 77 99
119 136 151
1 64 91
115 135 151
56 77 98
119 136 151
78 92 128
146 175 213
56 77 98
118 135 150
56 77 99
119 136 149
55 77 99
118 136 151
14 63 91
115 131 147
855 74 93 109
123 138 147 156
52 71 90 106
122 135 147 156
2 55 76 95
114 128 141 152
50 89 119 126
150 196 200 241
1 3 56 77
99 118 136 149
55 76 95 114
129 142 152 251
54 75 93 111
127 139 149 159
1 1 51 72
94 119 128 149
1047 63 78 92 106
119 130 142 151 159
1 3 52 71 87
103 118 133 145 157
28 55 72 88 102
116 129 140 150 159
15 26 48 67 78
108 137 143 162 224
6 31 57 78 98
119 136 151 212 217
55 76 95 113 129
141 153 211 220 255
43 55 73 88 100
116 129 139 151 158
1 18 35 51 67
93 106 123 146 155
House463 90 115 15763 90 115 15763 90 115 15763 104 161 21763 90 115 15763 90 115 15763 90 115 15760 85 116 154
661 85 106
122 141 173
63 89 113
138 170 207
63 89 113
138 170 207
33 66 88
114 137 156
63 89 113
138 170 207
63 89 113
138 170 207
63 89 113
138 170 207
2 68 97
115 156 218
855 72 90 109
124 142 172 207
57 75 92 110
124 142 172 207
55 72 90 109
124 142 172 207
6 38 76 97
141 162 180 214
55 73 91 110
124 142 172 207
12 59 78 96
116 138 170 207
55 72 90 109
124 142 172 207
1 1 65 95
118 135 162 207
1051 67 80 94 109
121 130 146 173 207
2 51 66 80 95
111 125 143 172 207
6 51 67 81 96
112 125 143 172 207
57 76 94 102 124
144 165 169 182 221
32 51 67 81 95
112 125 143 172 207
13 55 72 90 109
124 142 172 207 244
55 72 90 110 124
142 171 189 199 218
1 58 80 90 109
131 150 184 205 224
Cameraman429 76 125 15829 76 125 15829 76 125 15816 40 91 14029 76 125 15829 76 125 15829 76 125 15827 78 135 167
623 49 85
121 148 173
23 49 85
121 148 173
23 49 85
121 148 173
7 21 43
78 116 153
23 49 85
121 148 173
23 49 85
121 148 173
23 48 85
120 148 173
21 43 93
124 149 175
823 47 80 112
135 155 173 202
15 26 50 83
115 138 158 177
23 47 80 112
135 155 173 202
23 52 105 112
129 148 161 172
23 47 80 112
134 155 173 202
15 26 50 82
114 137 157 177
23 48 81 112
135 155 173 202
1 1 20 45
86 124 147 171
1014 25 47 75 102
122 141 158 174 202
14 23 39 60 88
116 137 156 173 202
14 21 34 56 86
115 137 156 173 202
33 53 76 91 141
159 168 241 250 253
14 28 52 80 105
123 141 156 172 200
14 25 49 82 113
135 155 173 197 230
14 23 39 61 89
117 138 157 174 202
1 15 20 38 57
91 127 145 163 219
Pirate413 41 82 13013 41 82 13013 41 82 1307 21 58 9513 41 82 13013 41 82 13013 41 82 13013 41 81 124
68 24 48
80 114 147
8 24 48
80 114 147
8 24 49
81 115 148
19 70 97
103 157 254
8 24 49
81 115 148
8 24 48
80 114 147
8 24 49
81 115 148
8 21 50
84 122 162
85 14 29 48
71 97 125 153
5 14 30 49
72 98 125 153
5 13 27 46
68 94 123 152
12 35 54 68
94 142 157 164
5 14 29 48
71 97 125 153
5 15 33 55
83 113 140 170
7 20 41 66
96 126 154 223
4 12 15 24
47 82 114 148
104 10 21 36 53
73 96 120 144 169
4 9 17 28 42
60 81 105 130 156
3 8 16 28 43
61 82 106 130 156
8 28 41 67 98
126 137 145 151 162
4 10 21 36 55
77 101 127 155 240
5 14 29 49 71
96 122 148 177 254
5 14 29 49 72
97 123 148 183 210
1 4 12 29 41
71 83 114 136 163
Table A2. The fitness values obtained by algorithms.
Table A2. The fitness values obtained by algorithms.
ImagenThESMASMAROAAOAAOSSAWOASCA
MeanStdMeanStdMeanStdMeanStdMeanStdMeanStdMeanStdMeanStd
Lena40.461100.461100.461100.70910.12350.461100.461100.47740.06210.5130.0796
60.2450.00630.2490.01420.24810.0040.49450.09720.25670.02640.24730.00450.24810.0140.33370.0464
80.15120.00170.16340.01740.15690.00190.33480.0630.15570.01270.16240.01690.15560.01270.2430.0337
100.10480.00150.11990.01690.10930.00870.25940.03660.10830.00810.1130.010.11220.01190.19210.0238
Baboon40.496200.496200.496200.75930.12360.496200.496200.496200.53420.0598
60.27810.00010.27850.00030.278200.49570.07910.2810.01510.27830.00010.28060.01310.35070.0404
80.1780.00040.18050.00540.17840.00370.35440.04770.17890.00730.18680.01650.17830.0040.26830.0396
100.12290.00040.12930.00750.1230.00170.26250.03110.12480.00710.13870.01490.12560.00810.21360.0275
Butterfly40.396800.396800.396800.71510.13650.396800.396800.41160.05610.46690.0886
60.2290.00430.22970.01840.23480.02780.45950.08590.2290.01340.22920.01350.23720.02980.30610.0367
80.13560.01410.14130.01810.13850.02240.3050.05170.13890.0070.13830.01570.1380.01650.22190.0258
100.08530.00390.10690.01570.09230.00970.2440.04630.09260.00880.10590.01510.09690.0150.17740.0244
Peppers40.70400.70400.70401.08970.17840.70400.70400.70400.72770.015
60.40190.00270.40070.00190.39970.00030.69250.08530.39980.00030.40020.00130.39970.00010.49130.0585
80.24560.00010.24810.00590.2460.00250.48450.0670.24590.00010.2560.02370.24590.00010.36630.0361
100.17550.00570.17790.01280.17930.00030.36310.06070.17920.00010.19310.01960.17920.00020.29130.0317
Tank40.19920.00010.19930.00010.199200.34680.05420.199200.19920.00010.20260.01820.21840.0292
60.1060.00120.11530.0150.10690.00020.25790.05190.11270.01360.11710.01610.11060.01140.16940.0246
80.07070.00220.08160.01480.07970.00780.19620.04680.07090.00580.07740.00890.07260.00920.13950.0196
100.0450.00480.06550.01260.0490.0060.14620.0290.05240.00720.06120.00980.05210.00630.10240.0173
House40.33020.00930.330200.33450.02370.4780.07130.330200.330200.33020.00010.35120.0313
60.18160.02450.160600.16580.01970.30720.04290.16340.01530.16320.01420.16320.01420.22390.0329
80.09640.01270.10180.01310.10090.01550.22710.0340.09660.00780.10310.01280.10250.01340.15520.0198
100.06650.00190.07730.01120.06690.00280.16860.02920.07050.00650.07150.00530.07140.00570.12460.0194
Cameraman40.538500.538500.538500.77520.12140.538500.538500.538500.55060.0067
60.303200.303300.30330.00010.50710.0760.303300.31050.01660.30330.00020.36820.0478
80.20310.00420.20610.00630.20770.01170.35480.05690.20410.00210.20460.00150.20490.00870.28230.0431
100.13680.01030.13960.01520.1390.00880.28320.04260.13870.00610.14270.0130.13830.00540.22990.0209
Pirate41.040301.040301.040301.68380.35761.040301.040301.040301.05880.0117
60.58450.00450.58220.00160.581501.10180.24070.581500.59370.04580.58150.00010.64560.0341
80.35930.00230.35990.00260.35760.00020.81820.15720.35770.00040.39040.03170.35760.00020.48140.0636
100.24130.00580.24990.00560.24450.00070.61870.10550.24610.00950.30380.0230.24430.00060.38210.0403
Table A3. The PSNR values obtained by algorithms.
Table A3. The PSNR values obtained by algorithms.
ImagenThESMASMAROAAOAAOSSAWOASCA
MeanStdMeanStdMeanStdMeanStdMeanStdMeanStdMeanStdMeanStd
Lena418.7867018.7867018.7867017.91150.782918.7867018.7867018.72110.25718.58890.4204
621.14360.361120.91550.20120.90230.079119.66021.042420.91710.210120.98810.252820.8880.010220.70390.8201
823.36370.145323.24770.512223.35480.195821.35281.393423.28990.203823.35070.578423.33140.347222.74861.2342
1025.32690.32924.90850.867725.2550.598722.51841.654425.08650.505224.6670.477125.30440.641223.86161.4136
Baboon420.73350.024720.73350.024720.72150.015718.81281.022120.72150.015720.7163020.71980.013120.49130.5255
624.1950.030724.18690.035424.1523021.20060.926824.10630.256924.16730.0224.11010.231322.9360.6118
826.54180.042626.43940.202426.54120.128322.85690.940726.53530.196226.31040.438626.54170.149924.40690.707
1028.39390.0727.95230.345228.32360.116124.37640.660528.27760.259427.77540.526828.20710.354825.5660.6591
Butterfly419.384019.384019.384017.38191.702819.384019.39180.023719.31240.272718.85690.8241
623.0270.338122.69810.379122.47120.142820.12491.587122.45720.190722.74950.408522.41940.301121.78111.2288
825.27820.423225.13570.524125.2810.46422.69811.154525.22330.250825.07190.517325.60650.507223.46910.959
1027.80530.940426.97181.073527.73390.933923.63151.679426.91431.08826.69921.200127.83570.929624.93511.0205
Peppers420.3048020.29610.017520.3048018.45791.084320.3048020.30330.007920.3048020.16940.2803
623.13630.185123.04650.13122.98410.019320.60580.936522.98470.024123.01430.09722.97550.018222.17660.5925
825.43980.025125.32890.215225.42820.047822.27050.996425.43860.023625.23240.471325.42770.022523.38410.5773
1026.71640.21326.68640.327226.99260.046823.72161.137427.00960.033626.58670.478526.9860.038224.37680.5042
Tank423.6210.184723.59040.188423.62330.160121.01971.399123.6310.166523.6190.165323.50730.468523.13790.8407
627.13190.196726.57930.850227.11030.130322.65861.643326.7340.797726.48430.913526.91330.506724.86510.8758
829.17540.368128.63130.928628.69870.374524.76711.16828.63710.37528.550.613728.60970.440326.15821.0087
1031.01450.32529.99360.813430.92480.747125.80871.318730.16090.640329.74641.01430.80670.599228.03941.0181
House419.6568019.6568019.61480.229918.44791.806419.6568019.6568019.66020.012919.39390.6208
622.81430.121922.72410.035222.56720.581321.14361.354922.69410.090622.63590.408922.65150.413521.67481.216
824.69940.080324.48740.417524.61650.389222.50411.670224.6420.244924.44910.413524.66460.260624.12961.4269
1025.97490.111425.69980.388326.06170.193623.74661.46726.07640.571425.85520.453926.01510.224524.77531.5695
Cameraman421.4059021.4059021.4059019.25161.308921.4059021.4059021.40210.014221.19210.4044
623.905023.91240.01923.9110.017721.30451.243223.91020.017823.82650.178723.91870.041322.99110.8038
825.51990.454825.4110.450525.51240.473523.14341.112125.59780.39525.72950.31525.61130.419124.10150.7116
1027.50980.328627.13350.500927.19490.43924.33761.157427.4870.355727.36710.464727.3030.244324.96130.8164
Pirate420.9183020.9183020.9183019.25251.236720.9183020.9183020.9183020.85570.2473
623.70170.266123.81580.089123.8575021.37071.461923.85420.012623.72430.397923.86060.017222.8460.5803
825.70160.200925.57070.23325.72040.034122.69171.488825.71170.0725.43640.462325.71480.030924.0920.7173
1027.15220.327827.01230.258627.11350.053523.55241.351627.1120.190226.59970.344327.12250.035325.03810.6051
Table A4. The SSIM values obtained by algorithms.
Table A4. The SSIM values obtained by algorithms.
ImagenThESMASMAROAAOAAOSSAWOASCA
MeanStdMeanStdMeanStdMeanStdMeanStdMeanStdMeanStdMeanStd
Lena40.64900.64900.64900.63110.04140.64900.64900.64840.00450.64650.0112
60.72840.00770.72320.00490.72360.00330.69040.04840.72360.00470.7250.00550.7230.00070.71310.0239
80.78140.00250.7790.01260.78120.0040.73270.04630.77930.00440.78130.01450.78140.00820.76560.031
100.82080.0070.81580.01740.82560.01030.76520.04740.82230.00880.81150.01040.82520.01150.79350.0352
Baboon40.80410.00020.80410.00020.80410.00010.73590.03380.80410.00010.804100.80410.00010.79370.0159
60.87660.00060.87640.00110.876200.80520.02550.87520.0050.87610.00050.87540.00430.85110.0127
80.9170.00120.91440.00290.91580.00170.84610.02320.91570.00280.91250.00620.9160.00210.88060.0124
100.93950.00130.93510.00450.93880.00130.87780.01160.9390.0030.9330.00680.93810.00430.89920.0124
Butterfly40.674600.674600.674600.5890.0690.674600.67450.00030.67210.00940.65120.0318
60.7860.00760.77790.00860.77370.00380.69240.05840.77340.00510.77960.010.77190.00850.7480.0329
80.84960.00560.84380.01250.84740.01120.7770.03090.84960.00530.84370.01190.85250.00810.79870.0223
100.89960.01150.88160.01750.8970.01290.80220.0370.88660.0150.87760.0190.89630.01390.83250.0205
Peppers40.67140.00070.67170.00060.671400.6320.02930.671400.67150.00030.671400.66990.0062
60.73710.00480.73970.00330.74110.00050.69150.0240.74130.00040.74030.00260.74150.00050.72710.0153
80.78730.00060.78670.00190.78720.00040.72910.02460.7870.00060.78230.01070.7870.00050.76230.0131
100.82310.00110.82130.00370.82240.00070.76130.02740.82260.00040.80990.01070.82260.00060.78360.0139
Tank40.7770.00330.77590.00390.77560.00330.69360.04040.77410.00440.77590.00410.77280.01240.76320.0248
60.86820.00360.86010.0140.86940.00340.73510.05090.86310.01370.85840.01520.86560.00980.80270.0257
80.92060.00490.89650.01630.91080.00890.79260.03730.90720.00860.89990.0110.90740.00960.84060.0199
100.93070.00770.91530.01340.93380.00740.82210.03710.92750.01020.91880.01180.9310.00730.87630.0234
House40.791200.791200.78960.00830.7350.05170.791200.791200.79120.00090.77980.0199
60.84240.00880.83540.00080.83390.0050.78140.05270.83490.00160.83450.00320.83480.00340.82180.0174
80.89040.00110.88480.01160.88750.01140.82890.0290.8890.00670.88230.01260.8880.00710.85910.0131
100.92050.00330.91290.00930.9200.00350.84660.03280.91710.00590.91420.00690.91930.00550.87780.019
Cameraman40.695500.695500.695500.67880.04880.695500.695500.69540.00030.68970.0167
60.736100.73610.00030.73610.00030.70710.02630.73610.00030.73340.00610.73610.00080.72540.0164
80.7870.02210.7860.01930.78830.02180.74770.03870.77990.01760.76860.01040.77560.01760.77150.0321
100.84120.00650.83640.01010.83950.0070.78310.05480.83980.01030.8230.02360.83950.00810.81930.0343
Pirate40.686800.686800.686800.61980.03320.686800.686800.686800.68410.0043
60.77650.00270.77590.00150.776200.69470.03180.776200.77360.010.77610.00050.77230.0084
80.84210.00260.84190.00210.84350.00030.73650.02810.84340.00060.83010.01110.84350.00030.81730.0133
100.87460.00110.87480.00160.87610.00070.77520.02320.87570.00270.85710.00690.87620.00060.8420.0102
Table A5. The FSIM values obtained by algorithms.
Table A5. The FSIM values obtained by algorithms.
ImagenThESMASMAROAAOAAOSSAWOASCA
MeanStdMeanStdMeanStdMeanStdMeanStdMeanStdMeanStdMeanStd
Lena40.85500.85500.85500.82150.01830.85500.85500.85310.00750.84950.0119
60.89330.01310.89990.00740.90130.0040.85350.01810.89790.0090.89870.00930.90170.00310.87650.0089
80.91000.00080.90680.0070.90910.00190.87910.01790.90790.00250.90960.00780.90960.00460.89740.0113
100.92330.00120.92330.00970.92580.00870.89470.01870.9240.00620.92180.00370.92730.00920.91150.0157
Baboon40.92680.00040.92680.00040.92660.00030.89480.02220.92660.00030.926500.92660.00020.92260.0108
60.96020.00050.96020.00090.959100.92480.01920.95870.00250.95970.00060.95870.00220.94730.0076
80.97690.00110.97660.00150.97710.00050.94450.01440.97710.00120.9760.00270.9770.00080.96130.0098
100.98590.00060.98510.00160.98610.00060.95760.01350.98610.00110.9840.00230.98570.00150.96840.007
Butterfly40.845400.845400.845400.79150.02570.845400.845400.84330.0080.8320.018
60.9020.00120.90060.00480.89960.00520.84410.0290.90080.00460.90060.00470.89850.00810.87890.015
80.93520.0040.93440.00610.93630.00540.88810.01780.93650.00290.93440.00570.93970.00560.90790.0129
100.96150.00830.95380.010.96130.0080.90290.02270.95350.00970.95160.01090.96180.00840.92540.0129
Peppers40.84900.84900.84900.81410.01810.84900.84900.84900.84650.0032
60.89920.00180.89830.00120.89770.00020.85290.01560.89770.00030.8980.00080.89760.00030.88420.01
80.9330.00060.9310.00340.93280.00040.88180.01460.93290.00030.92980.00690.93280.00030.90390.0086
100.94980.00680.95110.00730.95780.00050.9070.01730.95780.00040.95320.00680.95780.00040.91760.0099
Tank40.91540.00250.91580.00230.91530.00230.85160.02580.91490.00210.91540.00210.91450.00790.90280.0129
60.95060.00210.94610.00870.95080.00220.88270.0310.94680.00680.94460.00910.94870.00560.92870.0113
80.96720.00230.9640.00790.96570.00330.91330.01920.96580.00440.96310.00490.96430.00380.94030.0107
100.97890.00180.97510.00560.97840.00410.93130.01710.97430.00490.97240.00730.97870.00410.95560.0107
House40.79690.00270.796200.79540.00450.78630.02140.796200.796200.79630.00060.79320.0097
60.8670.00870.87470.00060.87280.00660.82620.02190.87340.00610.87360.00450.87390.00460.8530.0159
80.91040.00520.90760.00680.9090.00710.8570.01930.91010.00380.90790.00580.90970.00410.88830.0107
100.93340.00180.92870.00660.93260.00230.88170.0170.93150.00430.93170.00430.93440.00390.90190.012
Cameraman40.854600.854600.854600.82270.02290.854600.854600.85460.00020.85060.0091
60.90230.00230.90280.00030.90280.00020.86010.02380.90270.00030.90070.00450.90280.00050.88550.0143
80.92110.00760.91970.00880.92130.0090.88650.01730.92370.00840.92830.0070.9250.00890.90040.0102
100.93740.00370.93630.0050.93660.00360.90370.01550.93940.00310.93960.00450.940.00180.9130.0102
Pirate40.891400.891400.891400.85010.02750.891400.891400.891400.88940.0046
60.94190.00390.93890.00160.941700.89330.03020.94170.00020.93960.00620.94170.00010.92430.0089
80.96030.0020.95910.00220.96020.00020.91360.02660.96020.00060.96120.00550.96010.00020.9410.0102
100.97260.00460.97370.00360.97660.00030.9280.02360.97620.00210.97340.00380.97650.00020.95190.0073
Table A6. The p-values obtained by algorithms.
Table A6. The p-values obtained by algorithms.
ImagesnThSMAROAAOAAOSSAWOASCA
Lena4NaNNaN1.22 × 10−12NaNNaN3.34 × 10−011.22 × 10−12
64.44 × 10−024.70 × 10−041.75 × 10−113.27 × 10−026.45 × 10−021.45 × 10−011.75 × 10−11
83.38 × 10−058.56 × 10−022.47 × 10−118.62 × 10−013.48 × 10−021.10 × 10−012.47 × 10−11
101.28 × 10−087.05 × 10−032.31 × 10−114.17 × 10−011.32 × 10−041.10 × 10−012.31 × 10−11
Baboon44.45 × 10−016.55 × 10−041.34 × 10−116.55 × 10−042.56 × 10−031.28 × 10−041.34 × 10−11
68.44 × 10−017.04 × 10−111.89 × 10−118.74 × 10−102.63 × 10−054.80 × 10−081.89 × 10−11
81.48 × 10−033.11 × 10−102.75 × 10−117.26 × 10−112.89 × 10−027.37 × 10−092.75 × 10−11
109.75 × 10−104.05 × 10−072.70 × 10−116.81 × 10−078.33 × 10−033.24 × 10−032.70 × 10−11
Butterfly4NaNNaN1.21 × 10−121.09 × 10−024.18 × 10−023.34 × 10−011.21 × 10−12
63.13 × 10−021.14 × 10−022.20 × 10−111.06 × 10−034.71 × 10−015.30 × 10−012.20 × 10−11
87.74 × 10−021.04 × 10−032.65 × 10−116.82 × 10−024.69 × 10−029.47 × 10−012.65 × 10−11
104.91 × 10−063.64 × 10−031.44 × 10−111.04 × 10−022.49 × 10−062.85 × 10−041.44 × 10−11
Peppers45.69 × 10−015.47 × 10−037.57 × 10−125.47 × 10−035.47 × 10−035.47 × 10−037.57 × 10−12
65.79 × 10−012.85 × 10−011.17 × 10−111.38 × 10−014.24 × 10−021.38 × 10−011.17 × 10−11
84.13 × 10−033.55 × 10−011.97 × 10−111.10 × 10−019.50 × 10−011.75 × 10−011.97 × 10−11
104.43 × 10−047.18 × 10−042.83 × 10−112.73 × 10−027.24 × 10−058.41 × 10−042.83 × 10−11
Tank45.69 × 10−017.99 × 10−017.57 × 10−121.73 × 10−013.26 × 10−014.56 × 10−027.57 × 10−12
64.72 × 10−025.89 × 10−013.16 × 10−128.90 × 10−034.76 × 10−021.66 × 10−043.16 × 10−12
86.38 × 10−081.01 × 10−032.90 × 10−111.10 × 10−014.36 × 10−023.25 × 10−022.90 × 10−11
105.39 × 10−061.97 × 10−022.93 × 10−119.12 × 10−014.29 × 10−055.10 × 10−012.93 × 10−11
House41.61 × 10−011.61 × 10−012.37 × 10−121.61 × 10−019.86 × 10−019.59 × 10−018.38 × 10−10
69.78 × 10−014.80 × 10−029.36 × 10−127.68 × 10−012.78 × 10−032.31 × 10−013.09 × 10−07
87.83 × 10−072.43 × 10−065.21 × 10−125.90 × 10−063.32 × 10−034.98 × 10−075.21 × 10−12
101.55 × 10−048.42 × 10−012.85 × 10−115.54 × 10−011.06 × 10−062.22 × 10−012.85 × 10−11
Cameraman4NaNNaN1.21 × 10−12NaNNaN3.34 × 10−021.21 × 10−12
69.59 × 10−012.05 × 10−022.36 × 10−122.04 × 10−022.95 × 10−011.66 × 10−031.69 × 10−11
82.87 × 10−014.52 × 10−022.66 × 10−111.40 × 10−014.12 × 10−032.50 × 10−022.66 × 10−11
104.89 × 10−024.55 × 10−022.85 × 10−119.88 × 10−011.41 × 10−014.46 × 10−022.85 × 10−11
Pirate4NaNNaN1.22 × 10−12NaNNaNNaN1.22 × 10−12
61.38 × 10−061.89 × 10−112.83 × 10−114.22 × 10−126.65 × 10−072.73 × 10−112.83 × 10−11
87.02 × 10−024.15 × 10−072.93 × 10−112.38 × 10−046.34 × 10−081.67 × 10−062.93 × 10−11
102.80 × 10−012.47 × 10−072.95 × 10−119.18 × 10−062.32 × 10−101.82 × 10−072.95 × 10−11

References

  1. Bhattacharyya, S.; Maulik, U.; Dutta, P. Multilevel image segmentation with adaptive image context based thresholding. Appl. Soft Comput. 2011, 11, 946–962. [Google Scholar] [CrossRef]
  2. Malyszko, D.; Stepaniuk, J. Adaptive multilevel rough entropy evolutionary thresholding. Inf. Sci. 2010, 180, 1138–1158. [Google Scholar] [CrossRef]
  3. Li, L.; Sun, L.; Xue, Y.; Li, S.; Huang, X.; Mansour, R.F. Fuzzy multilevel image thresholding based on improved coyote optimization algorithm. IEEE Access 2021, 9, 33595–33607. [Google Scholar] [CrossRef]
  4. Esparza, E.R.; Calzada, L.A.Z.; Oliva, D.; Heidari, A.A.; Zaldivar, D.; Cisneros, M.P.; Foong, L.K. An efficient harris hawks-inspired image segmentation method. Expert Syst. Appl. 2020, 155, 113428. [Google Scholar] [CrossRef]
  5. Houssein, E.H.; Emam, M.M.; Ali, A.A. An efficient multilevel thresholding segmentation method for thermography breast cancer imaging based on improved chimp optimization algorithm. Expert Syst. Appl. 2021, 185, 115651. [Google Scholar] [CrossRef]
  6. Bao, X.; Jia, H.; Lang, C. A novel hybrid harris hawks optimization for color image multilevel thresholding segmentation. IEEE Access 2019, 7, 76529–76546. [Google Scholar] [CrossRef]
  7. Xing, Z. An improved emperor penguin optimization based multilevel thresholding for color image segmentation. Knowl.-Based Syst. 2020, 194, 105570. [Google Scholar] [CrossRef]
  8. Liu, L.; Zhao, D.; Yu, F.; Heidari, A.A.; Ru, J.; Chen, H.; Mafarja, M.; Turabieh, H.; Pan, Z. Performance optimization of differential evolution with slime mould algorithm for multilevel breast cancer image segmentation. Comput. Biol. Med. 2021, 138, 104910. [Google Scholar] [CrossRef]
  9. Pare, S.; Kumar, A.; Bajaj, V.; Singh, G.K. An efficient method for multilevel color image thresholding using cuckoo search algorithm based on minimum cross entropy. Appl. Soft Comput. 2017, 61, 570–592. [Google Scholar] [CrossRef]
  10. Lei, B.; Fan, J. Multilevel minimum cross entropy thresholding: A comparative study. Appl. Soft Comput. 2020, 96, 106588. [Google Scholar] [CrossRef]
  11. Duan, L.; Yang, S.; Zhang, D. Multilevel thresholding using an improved cuckoo search algorithm for image segmentation. J. Supercomput. 2021, 77, 6734–6753. [Google Scholar] [CrossRef]
  12. Yan, Z.; Zhang, J.; Yang, Z.; Tang, J. Kapur’s entropy for underwater multilevel thresholding image segmentation based on whale optimization algorithm. IEEE Access 2020, 9, 41294–41319. [Google Scholar] [CrossRef]
  13. Li, J.; Tang, W.; Wang, J.; Zhang, X. A multilevel color image thresholding scheme based on minimum cross entropy and alternating direction method of multipliers. Optik 2019, 183, 30–37. [Google Scholar] [CrossRef]
  14. Kandhway, P.; Bhandari, A.K. Spatial context cross entropy function based multilevel image segmentation using multi-verse optimizer. Multimed. Tools Appl. 2019, 78, 22613–22641. [Google Scholar] [CrossRef]
  15. Wang, S.; Liu, Q.; Liu, Y.; Jia, H.; Abualigah, L.; Zheng, R.; Wu, D. A hybrid SSA and SMA with mutation opposition-based learning for constrained engineering problems. Comput. Intell. Neurosci. 2021, 2021, 6379469. [Google Scholar] [CrossRef]
  16. Wang, S.; Jia, H.; Liu, Q.; Zheng, R. An improved hybrid aquila optimizer and harris hawks optimization for global optimization. Math. Biosci. Eng. 2021, 18, 7076–7109. [Google Scholar] [CrossRef]
  17. Zheng, R.; Jia, H.; Abualigah, L.; Liu, Q.; Wang, S. Deep ensemble of slime mold algorithm and arithmetic optimization algorithm for global optimization. Processes 2021, 9, 1774. [Google Scholar] [CrossRef]
  18. Saafan, M.M.; Gendy, E.M. IWOSSA: An improved whale optimization salp swarm algorithm for solving optimization problems. Expert Syst. Appl. 2021, 176, 114901. [Google Scholar] [CrossRef]
  19. Chen, H.; Li, W.; Yang, X. A whale optimization algorithm with chaos mechanism based on quasi-opposition for global optimization problems. Expert Syst. Appl. 2020, 158, 113612. [Google Scholar] [CrossRef]
  20. Khan, T.A.; Ling, S.H. A novel hybrid gravitational search particle swarm optimization algorithm. Eng. Appl. Artif. Intel. 2021, 102, 104263. [Google Scholar] [CrossRef]
  21. Li, Y.; Bai, X.; Jiao, L.; Xue, Y. Partitioned-cooperative quantum-behaved particle swarm optimization based on multilevel thresholding applied to medical image segmentation. Appl. Soft Comput. 2017, 56, 345–356. [Google Scholar] [CrossRef]
  22. Storn, R.; Price, K. Differential evolution-a simple and efficient heuristic for global optimization over continuous spaces. J. Glob. Optim. 1997, 11, 341–359. [Google Scholar] [CrossRef]
  23. Grefenstette, J.J. Genetic algorithms and machine learning. Mach. Learn. 1988, 3, 95–99. [Google Scholar] [CrossRef] [Green Version]
  24. Rao, R.V.; Vakharia, D.P. Teaching-learning-based optimization: A novel method for constrained mechanical design optimization problems. Comput. Aided Des. 2011, 43, 303–315. [Google Scholar] [CrossRef]
  25. Kirkpatrick, S.; Gelatt, C.D.; Vecchi, M.P. Optimization by simulated annealing. Science 1983, 220, 671–680. [Google Scholar] [CrossRef]
  26. Rashedi, E.; Nezamabadi-pour, H.; Saryazdi, S. GSA: A gravitational search algorithm. Inf. Sci. 2009, 179, 2232–2248. [Google Scholar] [CrossRef]
  27. Dorigo, M.; Birattari, M.; Stutzle, T. Ant colony optimization. IEEE Comput Intell Mag. 2006, 1, 28–39. [Google Scholar] [CrossRef]
  28. Mirjalili, S.; Mirjalili, S.M.; Lewis, A. Grey wolf optimizer. Adv. Eng. Softw. 2014, 69, 46–61. [Google Scholar] [CrossRef] [Green Version]
  29. Mirjalili, S.; Lewis, A. The whale optimization algorithm. Adv. Eng. Softw. 2016, 95, 51–67. [Google Scholar] [CrossRef]
  30. Mirjalili, S.; Gandomi, A.H.; Mirjalili, S.Z.; Saremi, S.; Faris, H.; Mirjalili, S.M. Salp swarm algorithm: A bio-inspired optimizer for engineering design problems. Adv. Eng. Softw. 2017, 114, 163–191. [Google Scholar] [CrossRef]
  31. Mirjalili, S. SCA: A sine cosine algorithm for solving optimization problems. Knowl.-Based Syst. 2016, 96, 120–133. [Google Scholar] [CrossRef]
  32. Abualigah, L.; Diabat, A.; Mirjalili, S.; Elaziz, M.A.; Gandomi, A.H. The arithmetic optimization algorithm. Comput. Methods Appl. Mech. Eng. 2021, 376, 113609. [Google Scholar] [CrossRef]
  33. Abualigah, L.; Yousri, D.; Elaziz, M.A.; Ewees, A.A.; Al-qaness, M.A.A.; Gandomi, A.H. Aquila optimizer: A novel meta-heuristic optimization algorithm. Comput. Ind. Eng. 2021, 157, 107250. [Google Scholar] [CrossRef]
  34. Mirjalili, S.; Mirjalili, S.M.; Hatamlou, A. Multi-verse optimizer: A nature-inspired algorithm for global optimization. Neural. Comput. Appl. 2015, 27, 495–513. [Google Scholar] [CrossRef]
  35. Li, S.; Chen, H.; Wang, M.; Heidari, A.A.; Mirjalili, S. Slime mould algorithm: A new method for stochastic optimization. Future Gener. Comput. Syst. 2020, 111, 300–323. [Google Scholar] [CrossRef]
  36. Jia, H.; Peng, X.; Lang, C. Remora optimization algorithm. Expert Syst. Appl. 2021, 185, 115665. [Google Scholar] [CrossRef]
  37. Jia, H.; Ma, J.; Song, W. Multilevel thresholding segmentation for color image using modified moth-flame optimization. IEEE Access 2019, 7, 44097–44134. [Google Scholar] [CrossRef]
  38. Wu, B.; Zhou, J.; Ji, X.; Yin, Y.; Shen, X. An ameliorated teaching-learning-based optimization algorithm based study of image segmentation for multilevel thresholding using Kapur’s entropy and Otsu’s between class variance. Inf. Sci. 2020, 533, 72–107. [Google Scholar] [CrossRef]
  39. Pare, S.; Bhandari, A.K.; Kumar, A.; Singh, G.K. Renyi’s entropy and bat algorithm based color image multilevel thresholding. Mach. Intell. Signal Anal. 2018, 748, 71–84. [Google Scholar]
  40. Zhao, S.; Wang, P.; Heidari, A.A.; Chen, H.; Turabieh, H.; Mafarja, M.; Li, C. Multilevel threshold image segmentation with diffusion association slime mould algorithm and Renyi’s entropy for chronic obstructive pulmonary disease. Comput. Biol. Med. 2021, 134, 104427. [Google Scholar] [CrossRef]
  41. Wolpert, D.H.; Macready, W.G. No free lunch theorems for optimization. IEEE Trans. Evol. Comput. 1997, 1, 67–82. [Google Scholar] [CrossRef] [Green Version]
  42. Dhawale, D.; Kamboj, V.K.; Anand, P. An effective solution to numerical and multi-disciplinary design optimization problems using chaotic slime mold algorithm. Eng. Comput. 2021, 1–39. [Google Scholar] [CrossRef]
  43. Mostafa, M.; Rezk, H.; Aly, M.; Ahmed, E.M. A new strategy based on slime mould algorithm to extract the optimal model parameters of solar PV panel. Sustain. Energy Techn. 2020, 42, 100849. [Google Scholar] [CrossRef]
  44. Hassan, M.H.; Kamel, S.; Abualigah, L.; Eid, A. Development and application of slime mould algorithm for optimal economic emission dispatch. Expert Syst. Appl. 2021, 182, 115205. [Google Scholar] [CrossRef]
  45. Ewees, A.A.; Abualigah, L.; Yousri, D.; Algamal, Z.Y.; Al-qaness, M.A.A.; Ibrahim, R.A.; Abd Elaziz, M. Improved slime mould algorithm based on firefly algorithm for feature selection: A case study on QSAR model. Eng. Comput. 2021, 1–5. [Google Scholar] [CrossRef]
  46. Jensi, R.; Jiji, G.W. An enhanced particle swarm optimization with levy flight for global optimization. Appl. Soft Comput. 2016, 43, 248–261. [Google Scholar] [CrossRef]
  47. Liu, Y.; Cao, B. A novel ant colony optimization algorithm with levy flight. IEEE Access 2020, 8, 67205–67213. [Google Scholar] [CrossRef]
  48. Tizhoosh, H.R. Opposition-based learning: A new scheme for machine intelligence. In Proceedings of the Computational Intelligence for Modelling, Control & Automation, Vienna, Austria, 28–30 November 2005. [Google Scholar]
  49. Rahnamayan, S.; Tizhoosh, H.R.; Salama, M.M.A. Quasi-oppositional differential evolution. In Proceedings of the IEEE Congress on Evolutionary Computation, Singapore, 25–28 September 2007. [Google Scholar]
  50. Kullback, S. Information Theory and Statistics; Dover: New York, NY, USA, 1968. [Google Scholar]
  51. Yin, P. Multilevel minimum cross entropy threshold selection based on particle swarm optimization. Appl. Math. Comput. 2007, 184, 503–513. [Google Scholar] [CrossRef]
  52. Li, Y.; Zhao, Y.; Liu, J. Dynamic sine cosine algorithm for large-scale global optimization problems. Expert Syst. Appl. 2021, 177, 114950. [Google Scholar] [CrossRef]
  53. Reda, M.; Elhosseini, M.; Haikal, A.; Badawy, M. A novel cuckoo search algorithm with adaptive discovery probability based on double Mersenne numbers. Neural. Comput. Appl. 2021, 33, 16377–16402. [Google Scholar] [CrossRef]
  54. Houssein, E.H.; Hussain, K.; Abualigah, L.; Elaziz, M.A.; Alomoush, W.; Dhiman, G.; Djenouri, Y.; Cuevas, E. An improved opposition-based marine predators algorithm for global optimization and multilevel thresholding image segmentation. Knowl.-Based Syst. 2021, 229, 107348. [Google Scholar] [CrossRef]
  55. Khairuzzaman, A.K.; Chaudhury, S. Masi entropy based multilevel thresholding for image segmentation. Multimed. Tools Appl. 2019, 78, 33573–33591. [Google Scholar] [CrossRef]
  56. Bhandari, A.K.; Kumar, A.; Chaudhary, S.; Singh, G.K. A novel color image multilevel thresholding based segmentation using nature inspired optimization algorithms. Expert Syst. Appl. 2016, 63, 112–133. [Google Scholar] [CrossRef]
Figure 1. Levy distribution and 2D Levy trajectory.
Figure 1. Levy distribution and 2D Levy trajectory.
Entropy 23 01700 g001
Figure 2. Diagram of OBL and QOBL.
Figure 2. Diagram of OBL and QOBL.
Entropy 23 01700 g002
Figure 3. The flowchart of ESMA.
Figure 3. The flowchart of ESMA.
Entropy 23 01700 g003
Figure 4. Convergence curve of algorithms obtained on 23 benchmark functions.
Figure 4. Convergence curve of algorithms obtained on 23 benchmark functions.
Entropy 23 01700 g004aEntropy 23 01700 g004b
Figure 5. Qualitative metrics on some functions.
Figure 5. Qualitative metrics on some functions.
Entropy 23 01700 g005aEntropy 23 01700 g005b
Figure 6. Benchmark images.
Figure 6. Benchmark images.
Entropy 23 01700 g006
Figure 7. Summary of Fitness, PSNR, SSIM, and FSIM number of best cases for all thresholds obtained by algorithms.
Figure 7. Summary of Fitness, PSNR, SSIM, and FSIM number of best cases for all thresholds obtained by algorithms.
Entropy 23 01700 g007
Table 1. Unimodal benchmark functions.
Table 1. Unimodal benchmark functions.
FunctionDimRangefmin
F 1 ( x ) = i = 1 n x i 2 30[−100,100]0
F 2 ( x ) = i = 1 n x i + i = 1 n x i 30[−10,10]0
F 3 ( x ) = i = 1 n ( j 1 i x j ) 2 30[−100,100]0
F 4 ( x ) = max i { x i , 1 i n } 30[−100,100]0
F 5 ( x ) = i = 1 n 1 [ 100 ( x i + 1 x i 2 ) 2 + ( x i 1 ) 2 ] 30[−30,30]0
F 6 ( x ) = i = 1 n ( x i + 5 ) 2 30[−100,100]0
F 7 ( x ) = i = 1 n i x i 4 + r a n d o m [ 0 , 1 ) 30[−1.28,1.28]0
Table 2. Multimodal benchmark functions.
Table 2. Multimodal benchmark functions.
FunctionDimRangefmin
F 8 ( x ) = i = 1 n x i sin ( x i ) 30[−500,500]−12,569.487
F 9 ( x ) = i = 1 n [ x i 2 10 cos ( 2 π x i ) + 10 ] 30[−5.12,5.12]0
F 10 ( x ) = 20 exp ( 0.2 1 n i = 1 n x i 2 ) exp ( 1 n i = 1 n cos ( 2 π x i ) ) + 20 + e 30[−32,32]0
F 11 ( x ) = 1 4000 i = 1 n x i 2 i = 1 n cos ( x i i ) + 1 30[−600,600]0
F 12 ( x ) = π n { 10 sin ( π y 1 ) + i = 1 n 1 ( y i 1 ) 2 [ 1 + 10 sin 2 ( π y i + 1 ) ] + ( y n 1 ) 2 } + i = 1 n u ( x i , 10 , 100 , 4 ) , where   y i = 1 + x i + 1 4 , u ( x i , a , k , m ) = k ( x i a ) m x i > a 0 a < x i < a k ( x i a ) m x i < a 30[−50,50]0
F 13 ( x ) = 0.1 ( sin 2 ( 3 π x 1 ) + i = 1 n ( x i 1 ) 2 [ 1 + sin 2 ( 3 π x i + 1 ) ] + ( x n 1 ) 2 [ 1 + sin 2 ( 2 π x n ) ] ) + i = 1 n u ( x i , 5 , 100 , 4 ) 30[−50,50]0
Table 3. Fixed-dimension multimodal benchmark functions.
Table 3. Fixed-dimension multimodal benchmark functions.
FunctionDimRangefmin
F 14 ( x ) = ( 1 500 + j = 1 25 1 j + i = 1 2 ( x i a i j ) 6 ) 1 2[−65,65]0.998
F 15 ( x ) = i = 1 11 [ a i x 1 ( b i 2 + b i x 2 ) b i 2 + b i x 3 + x 4 ] 2 4[−5,5]0.00030
F 16 ( x ) = 4 x 1 2 2.1 x 1 4 + 1 3 x 1 6 + x 1 x 2 4 x 2 2 + x 2 4 2[−5,5]−1.0316
F 17 ( x ) = ( x 2 5.1 4 π 2 x 1 2 + 5 π x 1 6 ) 2 + 10 ( 1 1 8 π ) cos x 1 + 10 2[−5,5]0.398
F 18 ( x ) = [ 1 + ( x 1 + x 2 + 1 ) 2 ( 19 14 x 1 + 3 x 1 2 14 x 2 + 6 x 1 x 2 + 3 x 2 2 ) ] × [ 30 + ( 2 x 1 3 x 2 ) 2 × ( 18 32 x 2 + 12 x 1 2 + 48 x 2 36 x 1 x 2 + 27 x 2 2 ) ] 2[−2,2]3
F 19 ( x ) = i = 1 4 c i exp ( j = 1 3 a i j ( x j p i j ) 2 ) 3[−1,2]−3.86
F 20 ( x ) = i = 1 4 c i exp ( j = 1 6 a i j ( x j p i j ) 2 ) 6[0,1]−3.32
F 21 ( x ) = i = 1 5 [ ( X a i ) ( X a i ) T + c i ] 1 4[0,10]−10.1532
F 22 ( x ) = i = 1 7 [ ( X a i ) ( X a i ) T + c i ] 1 4[0,10]−10.4028
F 23 ( x ) = i = 1 10 [ ( X a i ) ( X a i ) T + c i ] 1 4[0,10]−10.5363
Table 4. Parameter settings for the comparative algorithms.
Table 4. Parameter settings for the comparative algorithms.
AlgorithmParameters
SMA [35]z = 0.03
ROA [36]c = 0.1
AOA [32]α = 5; μ = 0.5;
AO [33]U = 0.00565; c = 10; ω = 0.005; α = 0.1; δ = 0.1;
SSA [30]c1 = [1,0]; c2∈[0,1]; c3∈[0,1]
WOA [29]a1 = [2,0]; a2 = [−1,−2]; b = 1
SCA [31]a = [2,0]
Table 5. Simulation results for 23 benchmark functions.
Table 5. Simulation results for 23 benchmark functions.
FunctionESMASMAROAAOAAOSSAWOASCA
F1Mean0.00 × 10+003.83 × 10−3205.93× 10−3232.05× 10−131.19 × 10−1041.31 × 10−072.30 × 10−682.25 × 10+01
Std0.00 × 10+000.00 × 10000.00 × 10001.12 × 10−126.49 × 10−1041.15 × 10−071.26 × 10−676.73 × 10+01
F2Mean1.12 × 10−1881.68 × 10−1486.68 × 10−1620.00 × 10+002.45 × 10−531.96 × 10+003.57 × 10−521.84 × 10−02
Std0.00 × 10+009.20 × 10−1483.61 × 10−1610.00 × 10+001.34 × 10−521.49 × 10+008.24 × 10−523.52 × 10−02
F3Mean0.00 × 10+003.03 × 10−2855.68 × 10−2863.47 × 10−033.16 × 10−971.66 × 10+034.50 × 10+041.04 × 10+04
Std0.00 × 10+000.00 × 10+000.00 × 10+008.24 × 10−031.73 × 10−961.32 × 10+031.64 × 10+045.62 × 10+03
F4Mean5.48 × 10−2229.79 × 10−1612.33 × 10−1532.62 × 10−023.78 × 10−531.13 × 10+015.27 × 10+013.50 × 10+01
Std0.00 × 10+005.08 × 10−1601.27 × 10−1522.02 × 10−022.07 × 10−522.92 × 10+002.75 × 10+011.48 × 10+01
F5Mean3.79 × 10−036.04 × 10+002.71 × 10+012.83 × 10+014.02 × 10−031.78 × 10+022.79 × 10+019.83 × 10+04
Std2.33 × 10−031.01 × 10+014.41 × 10−014.22 × 10−017.30 × 10−033.08 × 10+024.92 × 10−011.99 × 10+05
F6Mean5.80 × 10−076.08 × 10−039.77 × 10−023.08 × 10+009.27 × 10−051.71 × 10−073.71 × 10−011.26 × 10+01
Std1.76 × 10−073.84 × 10−031.04 × 10−013.20 × 10−011.26 × 10−041.50 × 10−072.29 × 10−011.02 × 10+01
F7Mean5.24 × 10−051.84 × 10−041.48 × 10−045.37 × 10−057.57 × 10−051.61 × 10−014.74 × 10−039.19 × 10−02
Std4.96 × 10−051.50 × 10−041.27 × 10−044.21 × 10−057.75 × 10−057.12 × 10−026.51 × 10−031.01 × 10−01
F8Mean−1.26 × 10+04−1.26 × 10+04−1.24 × 10+04−5.20 × 10+03−8.88 × 10+03−7.34 × 10+03−1.03 × 10+04−3.72 × 10+03
Std4.07 × 10−033.91 × 10−014.39 × 10+024.69 × 10+023.74 × 10+036.61 × 10+022.01 × 10+032.65 × 10+02
F9Mean0.00 × 10+000.00 × 10+000.00 × 10+000.00 × 10+000.00 × 10+005.79 × 10+014.11 × 10+004.28 × 10+01
Std0.00 × 10+000.00 × 10+000.00 × 10+000.00 × 10+000.00 × 10+001.87 × 10+012.25 × 10+013.24 × 10+01
F10Mean8.88 × 10−168.88 × 10−168.88 × 10−168.88 × 10−168.88 × 10−162.77 × 10+004.80 × 10−151.26 × 10+01
Std0.00 × 10+000.00 × 10+000.00 × 10+000.00 × 10+000.00 × 10+008.52 × 10−012.35 × 10−158.96 × 10+00
F11Mean0.00 × 10+000.00 × 10+000.00 × 10+000.00 × 10+000.00 × 10+001.78 × 10−020.00 × 10+009.69 × 10−01
Std0.00 × 10+000.00 × 10+000.00 × 10+000.00 × 10+000.00 × 10+001.23 × 10−020.00 × 10+003.69 × 10−01
F12Mean2.18 × 10−054.44 × 10−031.04 × 10−024.99 × 10−012.64 × 10−066.84 × 10+002.53 × 10−022.92 × 10+05
Std7.96 × 10−057.53 × 10−035.91 × 10−034.80 × 10−025.61 × 10−063.30 × 10+001.62 × 10−021.19 × 10+06
F13Mean3.62 × 10−075.78 × 10−032.25 × 10−012.83 × 10+001.99 × 10−051.56 × 10+015.31 × 10−014.50 × 10+04
Std1.69 × 10−075.70 × 10−031.51 × 10−011.08 × 10−013.79 × 10−051.47 × 10+012.84 × 10−011.76 × 10+05
F14Mean9.98 × 10−019.98 × 10−014.45 × 10+009.54 × 10+002.50 × 10+001.10 × 10+002.12 × 10+002.25 × 10+00
Std5.17 × 10−166.55 × 10−134.85 × 10+004.22 × 10+003.33 × 10+004.00 × 10−012.12 × 10+002.49 × 10+00
F15Mean6.07 × 10−045.57 × 10−044.23 × 10−041.80 × 10−024.89 × 10−042.92 × 10−035.83 × 10−048.49 × 10−04
Std2.67 × 10−042.83 × 10−042.92 × 10−042.86 × 10−023.29 × 10−045.93 × 10−033.84 × 10−042.32 × 10−04
F16Mean−1.03 × 10+00−1.03 × 10+00−1.03 × 10+00−1.03 × 10+00−1.03 × 10+00−1.03 × 10+00−1.03 × 10+00−1.03 × 10+00
Std7.70 × 10−153.95 × 10−105.90 × 10−081.65 × 10−073.69 × 10−044.13 × 10−141.32 × 10−094.90 × 10−05
F17Mean3.98 × 10−013.98 × 10−013.98 × 10−013.98 × 10−013.98 × 10−013.98 × 10−013.98 × 10−014.00 × 10−01
Std2.82 × 10−132.77 × 10−084.26 × 10−068.49 × 10−082.67 × 10−049.08 × 10−155.79 × 10−062.15 × 10−03
F18Mean1.02 × 10+013.00 × 10+003.00 × 10+001.02 × 10+013.03 × 10+003.00 × 10+003.00 × 10+013.00 × 10+00
Std1.21 × 10+017.33 × 10−116.72 × 10−051.21 × 10+012.65 × 10−021.90 × 10−134.08 × 10−052.37 × 10−04
F19Mean−3.86 × 10+00−3.86 × 10+00−3.86 × 10+00−3.85 × 10+00−3.85 × 10+00−3.86 × 10+00−3.83 × 10+00−3.85 × 10+00
Std1.85 × 10−115.00 × 10−072.07 × 10−036.68 × 10−039.15 × 10−036.05 × 10−101.40 × 10−011.17 × 10−02
F20Mean−3.26 × 10+00−3.25 × 10+00−3.28 × 10+00−3.06 × 10+00−3.17 × 10+00−3.23 × 10+00−3.18 × 10+00−2.86 × 10+00
Std3.05 × 10−025.96 × 10−026.88 × 10−029.11 × 10−027.18 × 10−025.77 × 10−021.88 × 10−014.10 × 10−01
F21Mean−1.02 × 10+01−1.02 × 10+01−1.01 × 10+01−3.47 × 10+00−1.01 × 10+01−7.73 × 10+00−8.03 × 10+00−2.73 × 10+00
Std5.52 × 10−083.30 × 10−041.25 × 10−021.24 × 10+003.68 × 10−023.32 × 10+002.89 × 10+002.28 × 10+00
F22Mean−1.04 × 10+01−1.04 × 10+01−1.04 × 10+01−4.00 × 10+00−1.04 × 10+01−8.42 × 10+00−7.67 × 10+00−2.86 × 10+00
Std5.77 × 10−083.07 × 10−041.58 × 10−021.51 × 10+009.40 × 10−033.14 × 10+003.54 × 10+001.77 × 10+00
F23Mean−1.05 × 10+01−1.05 × 10+01−1.05 × 10+01−3.97 × 10+00−1.05 × 10+01−8.00 × 10+00−6.60 × 10+00−3.31 × 10+00
Std3.17 × 10−083.92 × 10−041.94 × 10−021.63 × 10+002.59 × 10−023.47 × 10+003.32 × 10+001.98 × 10+00
Table 6. The results of the Wilcoxon rank-sum test were obtained by algorithms on 23 benchmark functions.
Table 6. The results of the Wilcoxon rank-sum test were obtained by algorithms on 23 benchmark functions.
FunctionESMA vs.
SMAROAAOAAOSSAWOASCA
F13.51 × 10−013.97 × 10−026.87 × 10−076.87 × 10−076.87 × 10−076.87 × 10−076.87 × 10−07
F22.33 × 10−053.39 × 10−063.39 × 10−063.39 × 10−063.39 × 10−063.39 × 10−063.39 × 10−06
F31.64 × 10−016.87 × 10−076.87 × 10−076.87 × 10−076.87 × 10−076.87 × 10−076.87 × 10−07
F41.92 × 10−053.36 × 10−063.36 × 10−063.36 × 10−063.36 × 10−063.36 × 10−063.36 × 10−06
F53.39 × 10−063.39 × 10−063.39 × 10−062.15 × 10−033.39 × 10−063.39 × 10−063.39 × 10−06
F63.39 × 10−063.39 × 10−063.39 × 10−063.39 × 10−062.23 × 10−043.39 × 10−063.39 × 10−06
F72.02 × 10−021.98 × 10−014.81 × 10−011.46 × 10−013.39 × 10−063.39 × 10−063.39 × 10−06
F85.05 × 10−064.02 × 10−053.39 × 10−063.39 × 10−063.39 × 10−063.39 × 10−063.39 × 10−06
F9NaNNaN2.54 × 10−06NaN6.87 × 10−071.64 × 10−026.87 × 10−07
F10NaNNaN6.87 × 10−07NaN6.87 × 10−072.10 × 10−046.87 × 10−07
F11NaNNaN6.87 × 10−07NaN6.87 × 10−071.64 × 10−016.87 × 10−07
F125.74 × 10−053.39 × 10−063.39 × 10−062.79 × 10−023.39 × 10−063.39 × 10−063.39 × 10−06
F133.39 × 10−063.39 × 10−063.39 × 10−065.74 × 10−053.39 × 10−063.39 × 10−063.39 × 10−06
F142.19 × 10−062.19 × 10−062.18 × 10−062.19 × 10−061.23 × 10−032.19 × 10−062.19 × 10−06
F157.72 × 10−011.99 × 10−011.25 × 10−014.64 × 10−021.28 × 10−025.90 × 10−011.89 × 10−04
F163.37 × 10−063.37 × 10−063.37 × 10−063.37 × 10−067.72 × 10−043.37 × 10−063.37 × 10−06
F173.37 × 10−063.37 × 10−063.37 × 10−063.37 × 10−062.41 × 10−043.37 × 10−063.37 × 10−06
F181.35 × 10−017.72 × 10−015.07 × 10−017.72 × 10−013.69 × 10−037.72 × 10−017.72 × 10−01
F193.39 × 10−063.39 × 10−063.39 × 10−063.39 × 10−062.79 × 10−053.39 × 10−063.39 × 10−06
F203.69 × 10−033.69 × 10−033.10 × 10−023.69 × 10−035.45 × 10−038.97 × 10−033.39 × 10−06
F213.39 × 10−063.39 × 10−063.39 × 10−063.39 × 10−063.62 × 10−013.39 × 10−063.39 × 10−06
F223.39 × 10−063.39 × 10−063.39 × 10−063.39 × 10−065.45 × 10−033.39 × 10−063.39 × 10−06
F233.39 × 10−063.39 × 10−063.39 × 10−063.39 × 10−065.45 × 10−033.39 × 10−063.39 × 10−06
Table 7. The segmented images obtained by ESMA.
Table 7. The segmented images obtained by ESMA.
ImagenTh = 4nTh = 6nTh = 8nTh = 10
Lena Entropy 23 01700 i001 Entropy 23 01700 i002 Entropy 23 01700 i003 Entropy 23 01700 i004
Entropy 23 01700 i005 Entropy 23 01700 i006 Entropy 23 01700 i007 Entropy 23 01700 i008
Baboon Entropy 23 01700 i009 Entropy 23 01700 i010 Entropy 23 01700 i011 Entropy 23 01700 i012
Entropy 23 01700 i013 Entropy 23 01700 i014 Entropy 23 01700 i015 Entropy 23 01700 i016
Butterfly Entropy 23 01700 i017 Entropy 23 01700 i018 Entropy 23 01700 i019 Entropy 23 01700 i020
Entropy 23 01700 i021 Entropy 23 01700 i022 Entropy 23 01700 i023 Entropy 23 01700 i024
Peppers Entropy 23 01700 i025 Entropy 23 01700 i026 Entropy 23 01700 i027 Entropy 23 01700 i028
Entropy 23 01700 i029 Entropy 23 01700 i030 Entropy 23 01700 i031 Entropy 23 01700 i032
Tank Entropy 23 01700 i033 Entropy 23 01700 i034 Entropy 23 01700 i035 Entropy 23 01700 i036
Entropy 23 01700 i037 Entropy 23 01700 i038 Entropy 23 01700 i039 Entropy 23 01700 i040
House Entropy 23 01700 i041 Entropy 23 01700 i042 Entropy 23 01700 i043 Entropy 23 01700 i044
Entropy 23 01700 i045 Entropy 23 01700 i046 Entropy 23 01700 i047 Entropy 23 01700 i048
Cameraman Entropy 23 01700 i049 Entropy 23 01700 i050 Entropy 23 01700 i051 Entropy 23 01700 i052
Entropy 23 01700 i053 Entropy 23 01700 i054 Entropy 23 01700 i055 Entropy 23 01700 i056
Pirate Entropy 23 01700 i057 Entropy 23 01700 i058 Entropy 23 01700 i059 Entropy 23 01700 i060
Entropy 23 01700 i061 Entropy 23 01700 i062 Entropy 23 01700 i063 Entropy 23 01700 i064
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Lin, S.; Jia, H.; Abualigah, L.; Altalhi, M. Enhanced Slime Mould Algorithm for Multilevel Thresholding Image Segmentation Using Entropy Measures. Entropy 2021, 23, 1700. https://0-doi-org.brum.beds.ac.uk/10.3390/e23121700

AMA Style

Lin S, Jia H, Abualigah L, Altalhi M. Enhanced Slime Mould Algorithm for Multilevel Thresholding Image Segmentation Using Entropy Measures. Entropy. 2021; 23(12):1700. https://0-doi-org.brum.beds.ac.uk/10.3390/e23121700

Chicago/Turabian Style

Lin, Shanying, Heming Jia, Laith Abualigah, and Maryam Altalhi. 2021. "Enhanced Slime Mould Algorithm for Multilevel Thresholding Image Segmentation Using Entropy Measures" Entropy 23, no. 12: 1700. https://0-doi-org.brum.beds.ac.uk/10.3390/e23121700

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop