You are currently viewing a new version of our website. To view the old version click .
Biomimetics
  • Article
  • Open Access

8 September 2023

Otsu Multi-Threshold Image Segmentation Based on Adaptive Double-Mutation Differential Evolution

,
,
and
1
Shandong Research Institute of Industrial Technology, Jinan 250100, China
2
School of Computer Science and Technology, Shandong University of Finance and Economics, Jinan 250014, China
*
Author to whom correspondence should be addressed.
This article belongs to the Special Issue Biomimetic and Bioinspired Computer Vision and Image Processing

Abstract

A quick and effective way of segmenting images is the Otsu threshold method. However, the complexity of time grows exponentially as the number of thresolds rises. The aim of this study is to address the issues with the standard threshold image segmentation method’s low segmentation effect and high time complexity. The two mutations differential evolution based on adaptive control parameters is presented, and the twofold mutation approach and adaptive control parameter search mechanism are used. Superior double-mutation differential evolution views Otsu threshold picture segmentation as an optimization issue, uses the maximum interclass variance technique as the objective function, determines the ideal threshold, and then implements multi-threshold image segmentation. The experimental findings demonstrate the robustness of the enhanced double-mutation differential evolution with adaptive control parameters. Compared to other benchmark algorithms, our algorithm excels in both image segmentation accuracy and time complexity, offering superior performance.

1. Introduction

The technique of images segmentation involves breaking an image up into a number of distinct, non-overlapping parts and extracting the desired, human-interest-centered regions. From image processing to image analysis, it is a committed step that makes it easier for following computer vision, etc. There are other widely used image segmentation methods in addition to the Otsu threshold image segmentation method [1,2,3] in the field. The maximum entropy method, for instance [4]. A well-known edge detection strategy for extracting edge information from images is the Prewitt image segmentation technique [5]. This method identifies the edges in the image by detecting gradient changes and is based on gradient calculation of the grayscale values of image pixels. The watershed image segmentation method [6] is a region-based image segmentation method. In this method, the image is considered as a terrain map, where the height represents the grayscale value of the image. Image segmentation is achieved by finding watersheds, which divide the image into different regions or sets of different regions. The advantage of this method is that it can preserve areas with clear edges and rich textures in the image. However, there is also a drawback of over segmentation for images with large uniform areas. The Canny image segmentation method [7] is a classic edge detection algorithm that can accurately detect edges in an image. This algorithm determines image edges by detecting gradient changes, and improves the accuracy and continuity of edges through non maximum suppression, dual threshold processing, and edge connectivity. The Sobel image segmentation method [8] is a commonly used edge detection algorithm that is used to detect edges in images. The Sobel operator is used to calculate the gradient value of image pixels to determine the position and direction of the image. The Robert image segmentation method [9] is a classic edge detection algorithm that applies the Robert operator to convolution the image and calculates the gradient values between adjacent pixels to determine the position and direction of the edges. An image segmentation technique based on the Laplacian Gaussian filter is the log image segmentation approach [10]. By applying Gaussian and Laplacian filtering procedures to the image, this technique finds edges and other features in the image. The threshold image segmentation approach is a common one in image processing technology because of its benefits of simplicity, effectiveness, and strong robustness. Single-threshold image segmentation and multi-threshold image segmentation are two common threshold segmentation techniques. The threshold is determined using the Otsu threshold segmentation technique. The time complexity grows exponentially as the number of thresholds increases, as does the quantity of calculation.
One might think of the threshold image segmentation approach as an optimization issue. Researchers are increasingly merging threshold image segmentation with intelligent optimization algorithms as swarm intelligence optimization techniques grow over time. For instance, based on the enhanced Firefly algorithm [11], better particle swarm optimization algorithm [12], improved genetic algorithm [13], improved whale optimization algorithm [14], and improved cuckoo algorithm [15]. You can use these clever optimization methods to identify appropriate optimization objective functions. The Otsu method and the maximum entropy method are common objective functions used in image segmentation.
Differential evolution [16] (DE) was proposed by Storn and Price in 1997. Because of its small control parameters and strong robustness, differential evolution has been widely concerned by researchers. The basic operations of differential evolution include initial population, mutation, crossover and selection. As long as the population iteration conditions are met, the population will iterate continuously to find the optimal solution. Therefore, differential evolution is also a parallel search algorithm. In recent years, with the in-depth innovation of research, more and more researchers found that control parameters and mutation strategies are the main factors that affect the performance of differential evolution. The key control parameters in differential evolution mainly include population size NP, mutation operator F and crossover factor CR. Based on this, researchers continue to study and find variants of differential evolution. In reference [17], AC Sanderson et al. proposed an improved differential evolution (JADE) using a new mutation strategy of selecting mutation vectors from an external archived population, and the control parameters F and CR in the population obey Cauchy distribution and Normal distribution, respectively. Ryoji Tanabe et al. [18] developed an improved differential evolution algorithm (SHADE) based on JADE, which guides the selection of control parameters in subsequent iterations through the number of successful individuals with historical mutations. The experimental results showed that SHADE outperforms previous state-of-the-art DE algorithms on a large number of benchmark problems. Wu Deng et al. [19] proposed a differential evolution with a new hybrid mutation factor and adaptive control parameters. Experimental results show that compared with other DE variants, the algorithm has better performance on the above test functions.
The differential evolution algorithm (DE) is a population intelligent optimization algorithm that searches for the optimal solution by simulating the process of natural evolution. With the continuous deepening of research on differential evolution algorithms, their application fields are gradually expanding. More and more optimization problems are combined with differential evolution algorithms to solve the optimal solution, such as scheduling problems [20], traveling salesman problems [21], and image processing [22]. In scheduling problems, differential evolution algorithms optimize scheduling strategies and resource allocation to maximize work efficiency or minimize work time. Differential evolution combined with scheduling problems can handle complex constraint problems and quickly converge to find the optimal solution. The traveling salesman problem is a classic combinatorial optimization problem that requires finding the shortest path so that the traveling salesman can visit several cities and ultimately return to the starting city. The differential evolution algorithm searches for the optimal solution by adjusting the arrangement order of cities, with the goal of minimizing travel and finding the optimal solution for the shortest path. In this problem, differential evolution algorithm can efficiently search for the global optimal solution. In image processing problems, differential evolution algorithms are used for image registration, image segmentation, feature extraction, and image enhancement.
Bird swarm behavior is simulated via particle swarm optimization [23]. In the process of segmenting a picture, each particle represents a potential segmentation scheme, and the best segmentation outcome is sought by continual iteration. With the help of pheromone propagation and reinforcement techniques, the Ant Colony algorithm [24] eventually achieves the best segmentation outcomes by simulating the behavior of ants as they look for food. The genetic algorithm [25] mimics the evolution process in nature by repeatedly iterating the population through selection, crossover, and mutation operations, maintaining its diversity and exploratory capacity through mutation, and finally discovering the best answer. Due to its few control parameters, robustness, and difficulty finding optimal solutions, the differential evolution method [26] performs well and offers advantages in picture segmentation.
The differential evolution variant tested against pertinent benchmark functions performed really well. Researchers are increasingly using differential evolution to enhance and optimize image processing outcomes. To determine the ideal threshold and enhance the performance of image segmentation, Sushi L. Kumar et al. integrated differential evolution with the Otsu threshold segmentation method in reference [26]. The experimental results demonstrate that the application of differential evolution to image segmentation can significantly increase the segmentation quality when compared to the segmentation results obtained using the conventional Otsu threshold segmentation method. However, the overall performance of differential evolution depends on the ability to balance global search and local search. The reason for its greater impact is the selection of control parameters. However, the above differential evolution proposed by Sushi L Kumar et al. is applied to threshold image segmentation, with high time complexity and poor robustness. Unable to meet the processing objectives of multi-threshold image segmentation. In reference [27], Helen Vicente Humann Ayala et al. proposed an improved differential evolution (BDE) based on the generation of beta distribution adaptive control parameters F and CR values. In each iteration, the adaptive control parameters generate random F and CR values, enhancing the random search ability of the algorithm and improving the performance of the algorithm. Experimental results show that the improved differential evolution (BDE) is more effective than the FODPSO algorithm. However, due to the fact that the BDE algorithm randomly generates the values of control parameters F and CR, it cannot be ensured that the F and CR values are suitable for the entire iterative process of the algorithm. Based on the above algorithm. In this paper, a differential evolution based on adaptive double mutation is proposed for image segmentation. The population is divided according to the fitness value, and the double-mutation strategy is used to maximally balance the global search ability and local search ability of the algorithm. In addition, the values of control parameters F and CR are adaptively adjusted according to different stages of population evolution. The improved differential evolution in this paper is applied to Otsu multi-threshold image segmentation, and the maximum inter class variance method is regarded as the objective function to find the optimal threshold. The experimental results show that the algorithm is more accurate than other benchmark algorithms in image segmentation, with low time complexity and strong robustness.
Here, is the rest of the essay: The related work, such as the traditional differential evolution and Thresholding picture segmentation, are introduced in the second section. The third section introduces the TRDE algorithm proposed in this article. The fourth section introduces the experimental results, the fifth section is the analysis and research discussion of the experimental results, the sixth section is the references and future work, and the third part describes the improved double-mutation adaptive differential evolution algorithm (TRDE).

3. The TRDE Algorithm

Researchers have enhanced and created variants of the DE algorithm based on it in order to significantly balance the global and local search capabilities. There are primarily two components in the DE algorithm that greatly influence how well it performs. The first step is to adjust the values of the parameters F and CR. The scaling factor F determines the size of the differential evolution vector and has an impact on the algorithm’s capacity for convergence and rate of convergence. The possibility of creating a vector of experimental individuals in crossover operations who would inherit genes from their parents or modified individuals is influenced by the crossover factor CR. a variety of adaptive parameter control DE algorithm versions, such as in reference [29]. A differential evolution algorithm based on dual mutation strategy is proposed for image segmentation. The experimental results show that this algorithm is competitive with other improved DE algorithms in terms of optimization accuracy and convergence speed. Vladimir Stanovov et al. proposed a method in reference [30] to adjust the values of control parameters F and CR based on fitness values, and increase the biased Lemmer mean and LBR to improve its performance. The experimental results show that the algorithm performance has been greatly improved. The second part is the improvement of mutation strategy, balancing the global search ability and local search ability of the algorithm. Regarding the improvement of mutation strategy, there are also many variants of DE algorithm. For example, in reference [31], Wan-li Xiang et al. proposed an enhanced DE algorithm (EDE), which uses a reverse learning strategy to increase the diversity of the initial population, improves the mutation strategy on the basis of JADE algorithm, and improves the overall performance of the algorithm. As mentioned in reference [32], Ali Wagdy Mohamed proposed a mutation strategy based on triangular mutation rules, which greatly balances the global detection ability and local search ability of the population.

3.1. Dual Mutation Strategy

The main component of the DE algorithm is the mutation strategy, which can make the population’s individual evolution vectors and orientations display diversity. Based on the fitness scores of various population vectors, this article separates the population into two subpopulations. Mutation strategy 1 is used for populations with high fitness values, while mutation strategy 2 is used for populations with low fitness values. In general, it is simpler to locate the ideal solution close to people with high fitness values or those with low principle fitness values. Consequently, the dual mutation technique can balance population diversity and local search capability, speeding convergence.
After initializing the population, calculate the population fitness value, and divide the population into two subpopulations based on the fitness value. Subpopulation 1 stores the vector of individuals with high fitness values, while Subpopulation 2 stores the vector of individuals with poor fitness values. Improved mutation strategy 1:
v i , g = x i , g + F i × ( x d b e s t , g x r 1 , g ) + F i × ( x r 2 , g x r 3 , g )
x d b e s t , g  is a random selection of one of the top d% individual vectors from Subpopulation1 as the basis vector. In this article, the selection of the d parameter adopts a linearly decreasing function. The specific changes in parameter d are as follows:
d i = d min d max ( 1 g e n g e n e r t a t i o n s ) + ( d max d min d max + d min )
This article set  d max = 0.8 , d min = 0.4 , gen is the current population evolution algebra, and generations is the total evolution algebra. The variation of d parameter shows a decreasing trend with the increase of iteration times. As the number of iterations in the population continues to increase, the fitness values of individual vectors in the population continuously concentrate in a certain local region. Therefore, in order to improve the local convergence ability of the population and find the optimal solution, in the later stage of iteration, the selection of the optimal d% individual vector gradually decreases, accelerating population convergence and enhancing convergence ability. Generally speaking, individuals with high fitness values or poor principle fitness values are more likely to find the optimal solution, while individuals with poor fitness values can enhance population diversity. Therefore, the mutation strategy 2 proposed in this article is as follows:
v i , g = x i , g + F i × ( x r 1 , g x r 3 , g ) + F i × ( x r 2 , g x r 4 , g )
Based on the fitness value, randomly select four distinct integers  r 1 , r 2 , r 3 , r 4  in Subpopulation2, and generate a difference vector for mutation operation to improve population diversity.

3.2. Parameter Adaptation

The fixed values of the control parameters F and CR in the traditional DE algorithm make it impossible for them to adapt to the algorithm’s needs at various phases of evolution. As a result, adaptive parameter control techniques are being used by more and more DE variations. In general, a DE algorithm should have strong global search capabilities, retain population variety as much as feasible in the early stages of population evolution, and look for the world’s best answer. In the later stage of population evolution, as the number of iterations keeps rising, it becomes increasingly important to have strong local convergence capacity and accelerate convergence.
The scaling factor F in the DE algorithm is closely related to the Rate of convergence, which controls the amplitude of the difference vector. In the early stages of population evolution, a larger value of the scaling factor F is beneficial for maintaining population diversity and ensuring that the algorithm searches throughout the entire solution space. As the number of iterations continues to increase, in the later stage of evolution, the optimal solution of the individual vector gradually concentrates in a certain local region. It is necessary to gradually reduce the value of F and strengthen the local convergence ability of the algorithm. The crossover factor CR affects the probability of experimental individuals generated by crossover operations inheriting genes from mutated individuals or parent individuals. Generally speaking, in the early stages of algorithm evolution, to ensure the algorithm’s global search ability, the CR value is small. In the later stage of algorithm evolution, in order to improve the local search ability of the algorithm with a larger CR value, combined with changes in the fitness value of individual vectors in the population, this paper proposes adaptive parameter control as follows:
F i = F min ln ( F max F min ) × ( g e n g e n e r a t i o n s ) 2
where gen represents the evolutionary algebra of the current population, and generations represents the total number of iterations,  F max  represents the maximum value for setting the scaling factor,  F min  represents the minimum value for setting the scaling factor, This article set  F max = 0.7 , F min = 0.2 .
The changes in the scaling factor F proposed above show a decreasing trend, which is consistent with the convergence characteristics of differential evolution.
C R i = ( 1 C R min C R max ) × ( g e n g e n e r a t i o n s ) 2 + ln C R max C R min × ( C R min C R max C R min )
where gen represents the evolutionary algebra of the current population, and generations represents the total number of iterations,  C R max  represents the maximum value for setting the crossover factor, and  C R min  represents the minimum value for setting the crossover factor. In this article, set  C R max = 0.9 , C R min = 0.1 . The change in CR in the above formula shows a monotonic increasing trend, which greatly balances the contradiction between population diversity and Rate of convergence. From the test results, it can be seen that the improved adaptive control parameter method has advantages over other benchmark algorithms.

3.3. Pseudo Code of TRDE

1:Initialize population p individuals and calculate their fitness values, NP = 30, gen = 1, generations = 100;
2:for gen = 1 to generations do
3: for i = 1 to NP do
4:   F = F min ln ( F max F min ) × ( g e n g e n e r a t i o n s ) 2
5:   C R = ( 1 C R min C R max ) × ( g e n g e n e r a t i o n s ) 2 + ln C R max C R min × ( C R min C R max C R min )
6:  Implement mutation in Equations (18) and (20);
7:  Implement crossover in Equation (7);
8:   Implement selection in Equation (8);
9:   end for
10:   gen = gen + 1;
11: end for

4. Experiment

4.1. Benchmarking Datasets and Benchmarking Algorithms

Better adaptive double mutation; in this work, the segmentation performance of the differential evolution (TRDE) method is evaluated using five thresholds between [2,6] and eight test images from the Berkeley database, along with the other five benchmark algorithms. The JADE method with archive operations, the SHADE algorithm, which is an improvement of JADE, the BDE algorithm, the HSDE algorithm with adaptive parameter control [33], and the SAF-DE algorithm [34] are some of the benchmark algorithms utilized in this article.
The population size NP in this article is universally fixed to 30 and the maximum number of iterations is set to 100 in order to guarantee the validity of the experimental results. The TRDE algorithm and five other benchmark algorithms are each run 30 times for the chosen 8 test images. Finally, the experimental impact of picture segmentation is assessed using evaluation indicators. Figure 1 illustrates the picture segmentation outcomes of the TRDE method for 8 photos and 5 thresholds within the range of [2,6]. Additionally, three comparing methods (BDE, JADE, and SAF-DE) were chosen at random for this study in order to display the segmented picture findings in Figure 2, Figure A1 and Figure A2.
Figure 1. (a) Represents the original image, (b) segmented image with 2 thresholds, (c) segmented image with 3 thresholds, (d) segmented image with 4 thresholds, (e) segmented image with 5 thresholds, (f) segmented image with 6 thresholds (TRDE).
Figure 2. (a) Represents the original image and (b) the segmented image with TRDE, (c) the Canny image segmentation method, (d) the Sobel image segmentation method, (e) the Robert image segmentation method, and (f) the Prewitt image segmentation method.
This article not only compares the improved TRDE algorithm with five other benchmark algorithms applied to Otsu threshold segmentation, but also compares the TRDE algorithm with other image segmentation methods (Prewitt, Sobel, Canny, Robert) for image segmentation, and uses evaluation indicators for quantitative statistics.

4.2. Common Image Segmentation Quality Evaluation Standards

In this study, we used benchmark techniques for image segmentation as well as the improved adaptive double-mutation differential evolution. According to references [35,36], we discovered that the structural similarity (SSIM) and the peak signal-to-noise ratio (PSNR), as well as the standard deviation of fitness value and the running time of the algorithm, are the most frequently used image segmentation quality evaluation criteria.
(1)
Structural Similarity (SSIM)
Digital images have certain similar features in space, and each pixel has correlation between them. Namely, structural similarity, by comparing structural information, further examining the distortion of the image. SSIM is a measure of image distortion based on human visual characteristics, defined as follows:
S S I M ( x , y ) = ( 2 μ x μ y + C 1 ) ( 2 σ x , y + C 2 ) ( μ x 2 + μ y 2 + C 1 ) ( σ x 2 + σ y 2 + C 2 )
In the above formula,  μ x  and  μ y  represent the mean of x and y, respectively, while  σ x  and  σ y  represent the variance of x and y.  C 1  and  C 2  are two positive constants. The value range of SSIM is 0 to 1. In practical operation, it is necessary to first unify the image and also perform grayscale processing on the image. Usually, the larger the SSIM value, the higher the structural similarity between two images. The SSIM value of the same two images is equal to 1.
(2)
Peak signal-to-noise ratio (PSNR)
The peak signal-to-noise ratio (PSNR) is an objective standard for evaluating images, typically used to measure the quality of compressed reconstructed images, measured in decibels (DB). Due to the fact that PSNR is based on error sensitive image quality evaluation and does not take into account the visual characteristics of the human eye, there may be inconsistencies between measurement results and subjective perception. The definition of PSNR is as follows:
P S N R = 10 log 10 255 2 M S E
MSE refers to the mean squared error of the original image and the segmented image. The definition of MSE is as follows
M S E = i = 1 M j = 1 N ( x ( i , j ) y ( i , j ) ) 2 M × N
In the above formula, x(i, j) and y(i, j) represent the original image and the segmented image, respectively, while MSE represents the average of the sum of squares of the pixel values of the original image and the segmented image. Generally speaking, the higher the PSNR value, the higher the similarity between the original image and the segmented image, and the higher the segmentation quality of the resulting image.
The population size and number of iterations for the improved adaptive double-mutation differential evolution (TRDE) and other benchmark algorithms (JADE, SHADE, BDE, HSDE) in this study are set to the identical values. Run to get the segmented image and ideal threshold for each test image. To assess its segmentation effect, we employ the widely used evaluation criteria PSNR and SSIM for picture segmentation quality. Standard deviation and the algorithm’s average execution time should be used to assess the algorithm’s performance.
Figure 2 shows the segmentation results obtained by the TRDE image segmentation algorithm and four other image segmentation methods. It can be seen that the TRDE algorithm preserves as much structural information of the original image as possible by selecting the optimal threshold, resulting in better image segmentation results. The images segmented by other edge detection algorithms may have noise or rough edges, and the segmentation effect is shown in Figure 2.

5. Discussion and Analysis of Experimental Results

Result Analysis

This study selected test images from the Berkeley segmentation dataset with each image size of 200,200, applied the TRDE algorithm and other benchmark algorithms to image segmentation, and evaluated the segmented images using evaluation indicators PSNR and SSIM. This study then conducted testing and analyzed experimental results. Table 1 displays the obtained PSNR data, while Table 2 displays the SSIM results.
Table 1. PSNR metrics for the JADE, SHADE, TRDE, SAF-DE, BDE and HSDE.
Table 2. SSIM metrics for the JADE, SHADE, TRDE, SAF-DE, BDE and HSDE.
These two evaluation indicators need to be considered together to evaluate the segmentation effect of an image. The larger the PSNR value and SSIM value, the better the segmentation effect of the image. The smaller the value, the worse the segmentation effect. Table 1 shows the peak signal-to-noise ratio (PSNR) calculated by the TRDE, JADE, SHADE, BDE, and HSDE algorithms for 8 test images at different thresholds. From Table 1, we can see that the segmentation performance of the TRDE algorithm is overall superior to other benchmark algorithms, with the PSNR values of the vast majority of segmented images ranking first. For Baboon images, when the thresholds are 3, 4, and 6, the PSNR values of image segmentation rank first. For camera images, only when the threshold is 5, the PSNR values of image segmentation rank second, and the rest of the PSNR values rank first. For pepper images, when the thresholds are 2, 3, and 4, the PSNR values of image segmentation rank first. For Saturn images, when the thresholds are 2, 3, 5, and 6, the PSNR values of image segmentation rank first. However, there are very few cases where the quality of image segmentation is poor. For example, when the pepper image threshold is 5, 6, the PSNR value of image segmentation ranks third and fourth. This is because the essence of differential evolution is a random algorithm, which may lead to poor image segmentation results.
Table 2 compares the segmented picture’s Structural Similarity Index (SSIM) to the effects of other benchmark algorithms JADE, SHADE, BDE, and HSDE on image segmentation. All SSIM scores for the Barbara image rank top for the 8 test images that were chosen. At thresholds of 3, 4, and 6, the TRDE algorithm performs the best image segmentation for the Lena image. According to the experimental findings, the TRDE algorithm successfully segments the great majority of images.
In comparison to other picture segmentation techniques, Table 3 displays the TRDE algorithm’s findings for the Structural Similarity Index (SSIM). The results of the TRDE algorithm applied to picture segmentation are shown in Table 4 along with comparisons to other image segmentation techniques. In contrast to standard SSIM, MS-SSIM evaluates the final assessment result by comparing the similarity of images at several scales and weighting the similarity at various scales. This paper presents an improved differential evolution technique for threshold image segmentation, which chooses an optimal threshold to preserve as much of the structural information of the original image as possible after segmentation. Due to the possible presence of noise or rough edges in the images segmented by edge detection algorithms, the structural similarity between the segmentation results and the original image may decrease. Therefore, the experimental results of the SSIM and MS-SSIM indicators for the segmented images of the TRDE algorithm in Table 3 and Table 4 are higher than those of the other four edge detection methods (Prewitt, Sobel, Canny, Robert).
Table 3. SSIM metrics for the TRDE, Canny, Prewitt, Robert and Sobel methods.
Table 4. MS-SSIM metrics for the TRDE, Canny, Prewitt, Robert and Sobel methods.
The similarity index (UQI) of the TRDE algorithm used for picture segmentation is displayed in Table 5 along with comparisons to other image segmentation techniques. The UQI score ranges from 0 to 1, and a greater number denotes a higher degree of similarity and picture quality between the two photos. The UQI indicator thoroughly takes into account the mean, variance, and covariance of each image in order to assess how similar and high-quality each image is. Table 5 displays the experimental outcomes of the UQI picture quality evaluation index. The table shows that the TRDE algorithm consistently performs well when compared to other picture segmentation techniques. The Canny algorithm, for instance, places first and the TRDE method, second in photos such as Barbara and Lena. In cameraman images, the TRDE algorithm ranks first. Overall, TRDE has strong stability when applied to image segmentation algorithms, resulting in good segmentation image quality.
Table 5. UQI metrics for the TRDE, Canny, Prewitt, Robert and Sobel methods.
Taking into account the experimental results in Table 3, Table 4 and Table 5, the quantitative results show that the improved differential evolution algorithm (TRDE) applied to image segmentation has better image segmentation quality, strong algorithm robustness, and fast convergence speed compared to other image segmentation methods.
The enhanced adaptive double-mutation differential evolution (TRDE) and the other five benchmark algorithms (JADE, SHADE, BDE, SAF-DE, HSDE) are shown in Table 6 along with their average running times. The TRDE algorithm’s average running time is generally faster than other algorithms’ for photos of peppers and women. When the threshold is 2 or 3, the TRDE algorithm’s average running time for plane images is marginally greater than that of other techniques. Overall experimental findings demonstrate that this method’s rate of convergence is quicker than that of the other five benchmark algorithms (JADE, SHADE, BDE, SAF-DE, HSDE).
Table 6. Average execution time for JADE, SHADE, TRDE, SAF-DE, BDE and HSDE.
Table 1, Table 2, Table 6 and Table 7 illustrate the overall effectiveness of the enhanced adaptive double-mutation differential evolution (TRDE) in this study. The usual segmentation quality evaluation standards PSNR and SSIM are used to assess the segmented image. The improved adaptive double-mutation differential evolution has greater performance than previous benchmark algorithms, as can be observed from the experimental data listed in the table. Table 1 and Table 2 demonstrate that, when used for image segmentation, the method has good segmentation capabilities. Table 6 demonstrates that the enhanced differential evolution (TRDE) is more effective and has a faster Rate of convergence than previous algorithms. Table 7 demonstrates the TRDE algorithm’s strong resistance to the Otsu threshold image segmentation fitness function.
Table 7. Standard deviation of the fitness value (k = 2, 3, 4, 5, 6).

6. Conclusions

The adaptive double-mutation differential evolution method (TRDE) for picture segmentation is proposed in this research and employs Otsu as the goal function. In addition, compare this approach to five other benchmark algorithms (JADE, SHADE, BDE, SAF-DE, and HSDE), compute PSNR and SSIM values for the segmented images, determine the average algorithm running time, and thoroughly evaluate the technique’s performance. According to the experimental findings, the TRDE algorithm performs the best overall inside the [2,6] threshold range. Finally, the robustness of the method to the fitness function of Otsu threshold image segmentation was tested using the standard deviation of fitness values.
In future work, we will carry out studies from two aspects, improving different mutation strategies and optimizing the impact of adaptive control parameters on threshold selection for differential evolution. On the other hand, different threshold segmentation techniques are used to determine the optimal threshold.

Author Contributions

Y.G. and Y.W.; methodology, K.M.; software, Z.Z.; validation. writing—original draft preparation, Y.G.; writing—review and editing, Y.G. and Y.W.; visualization, K.M.; su-pervision, Z.Z.; All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

Data openly available in a public repository. The data that support the findings of this study are openly available in Berkeley Split Dataset at https://www2.eecs.berkeley.edu/Research/Projects/CS/vision/bsds/ (accessed on 20 June 2023).

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A

Figure A1. (a) Represents the original image, (b) segmented image with two thresholds, (c) segmented image with three thresholds, (d) segmented image with four thresholds, (e) segmented image with 5 thresholds, (f) segmented image with six thresholds (BDE).
Figure A2. (a) Represents the original image, (b) segmented image with two thresholds, (c) segmented image with three thresholds, (d) segmented image with four thresholds, (e) segmented image with 5 thresholds, (f) segmented image with six thresholds (JADE).
Figure A3. (a) Represents the original image, (b) segmented image with two thresholds, (c) segmented image with three thresholds, (d) segmented image with four thresholds, (e) segmented image with five thresholds, (f) segmented image with six thresholds (SAF-DE).

References

  1. Abualigah, L.; Almotairi, K.H.; Elaziz, M.A. Multilevel thresholding image segmentation using meta-heuristic optimization algorithms: Comparative analysis, open challenges and new trends. Appl. Intell. 2023, 53, 11654–11704. [Google Scholar] [CrossRef]
  2. Su, H.; Zhao, D.; Elmannai, H.; Heidari, A.A.; Bourouis, S.; Wu, Z.; Cai, Z.; Gui, W.; Chen, M. Multilevel threshold image segmentation for COVID-19 chest radiography: A framework using horizontal and vertical multiverse optimization. Comput. Biol. Med. 2022, 146, 105618. [Google Scholar] [CrossRef] [PubMed]
  3. Han, Y.; Chen, W.; Heidari, A.A.; Chen, H. Multi-verse optimizer with rosenbrock and diffusion mechanisms for multilevel threshold image segmentation from COVID-19 chest X-ray images. J. Bionic Eng. 2023, 20, 1198–1262. [Google Scholar] [CrossRef] [PubMed]
  4. Mahajan, S.; Mittal, N.; Salgotra, R.; Masud, M.; Alhumyani, H.A.; Pandit, A.K. An efficient adaptive salp swarm algorithm using type II fuzzy entropy for multilevel thresholding image segmentation. Comput. Math. Methods Med. 2022, 2022, 2794326. [Google Scholar] [CrossRef]
  5. Prewitt, J.M. Edges as ridge lines in images. Proc. Natl. Acad. Sci. USA 1979, 76, 698–702. [Google Scholar]
  6. Roerdink, J.B.; Meijster, A. The watershed transform: Definitions, algorithms, and parallelization strategies. Fundam. Informa. 2000, 41, 187–228. [Google Scholar] [CrossRef]
  7. Mousavi, M.R.; Kakooee, O.R. Optimization of the Canny Edge Detection Algorithm Using Genetic Algorithm for Edge Detection of Biological Images. Int. J. Comput. Sci. 2015, 12, 186–194. [Google Scholar]
  8. Zhou, P.; Deng, K.; Liu, Q.; Chen, Y.; Zhao, Q. A novel adaptive efficient image segmentation algorithm based on the Sobel operator. PLoS ONE 2019, 14, e0212679. [Google Scholar]
  9. Napieralski, A.; Napieralska, M. Comparison of Roberts and Prewitt operators applied to the detection of stress patterns. Comput. Intell. 2014, 30, 199–211. [Google Scholar]
  10. Liao, S.H.; Chen, C.H. Efficient fish image segmentation on complex background using adaptive Log-Transformed CIELAB Color Space and Dual-Threshold Strategy. Neurocomputing 2015, 153, 84–94. [Google Scholar]
  11. Krishnan, V.G.; Rao, P.V.; Raja, S.; Bhargav, S.; Balaji, S.; Divya, V. An improved firefly algorithm for task scheduling in cloud computing environment. IEEE Access 2022, 10, 2363–2372. [Google Scholar]
  12. Xu, L.; Song, B.; Cao, M. An improved particle swarm optimization algorithm with adaptive weighted delay velocity. Syst. Sci. Control Eng. Open Access J. 2021, 9, 188–197. [Google Scholar] [CrossRef]
  13. Liang, H.; Zou, J.; Zuo, K.; Khan, M.J. An improved genetic algorithm optimization fuzzy controller applied to the wellhead back pressure control system. Mech. Syst. Signal Process. 2020, 142, 106708. [Google Scholar] [CrossRef]
  14. Kashani, A.R.; Camp, C.V.; Armanfar, M.; Slowik, A. Whale Optimization Algorithm; Springer: Berlin/Heidelberg, Germany, 2020. [Google Scholar]
  15. Yang, X.-S.; Deb, S. Cuckoo search via Lévy flights. In Nature-Inspired Algorithms for Optimisation; Springer: Berlin/Heidelberg, Germany, 2022; pp. 123–144. [Google Scholar]
  16. 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]
  17. Zhang, J.; Sanderson, A.C. JADE: Adaptive differential evolution with optional external archive. IEEE Trans. Evol. Comput. 2009, 13, 945–958. [Google Scholar] [CrossRef]
  18. Tanabe, R.; Fukunaga, A.S. Improving the search performance of SHADE using linear population size reduction. In Proceedings of the IEEE Congress on Evolutionary Computation (CEC), Beijing, China, 6–11 July 2014; pp. 1658–1665. [Google Scholar]
  19. Deng, W.; Shang, S.; Cai, X.; Zhao, H.; Song, Y.; Xu, J. An improved differential evolution algorithm and its application in optimization problem. Soft Comput. 2021, 25, 5277–5298. [Google Scholar] [CrossRef]
  20. Tong, S.; Hu, L.; Wang, L. A hybrid discrete differential evolution algorithm for project scheduling problem. J. Intell. Manuf. 2023, 34, 763–778. [Google Scholar]
  21. Azarbadegan, B.; Jam, T.; Mukhopadhyay, A. A modified differential evolution algorithm for solving the traveling salesman problem. Eng. Optim. 2023, 55, 2089–2114. [Google Scholar]
  22. PShidiqi, T.; Aji, R.N.; Purnomo, A. Optimization of MRI image enhancement using improved differential evolution algorithm. J. Eng. Appl. Sci. 2022, 17, 1436–1442. [Google Scholar]
  23. Li, Y.; Zhang, L.; Wang, S.; Yang, J. Image segmentation using particle swarm optimization and expectation conditional maximization algorithm. Soft Comput. 2022, 1–15, 123–145. [Google Scholar]
  24. Zhang, Y.; Sun, L.; Wang, J. Image segmentation based on ant colony optimization for cost-sensitive artificial bee colony. J. Intell. Fuzzy Syst. 2022, 43, 3097–3105. [Google Scholar]
  25. Guo, G.; Chen, X.; Chen, W. Image segmentation using genetic algorithm optimized local region-based active contour model. Front. Comput. Sci. 2023, 17, 57–76. [Google Scholar]
  26. Kumar, S.; Pant, M.; Ray, A.K. Differential evolution embedded Otsu’s method for optimized image thresholding. In Proceedings of the Information and Communication Technologies (WICT), 2011 World Congress on, Mumbai, India, 11–14 December 2011; pp. 1–6. [Google Scholar]
  27. Ayala, H.V.H.; Santos, F.M.D.; Mariani, V.C. Image thresholding segmentation based on a novel beta differential evolution approach. Expert Syst. Appl. 2015, 42, 2136–2142. [Google Scholar] [CrossRef]
  28. Otsu, N. A thresholding selection method from gray-level histograms. IEEE Trans. Syst. Man Cybern. 1979, 9, 62–66. [Google Scholar] [CrossRef]
  29. Sun, Y.; Yang, Y. An Adaptive Bi-Mutation-Based Differential Evolution Algorithm for Multi-Threshold Image Segmentation. Appl. Sci. 2022, 12, 5759. [Google Scholar] [CrossRef]
  30. Stanovov, V.; Akhmedova, S.; Semenkin, E. Biased Parameter Adaptation in Differential Evolution. Inf. Sci. 2021, 566, 215–238. [Google Scholar] [CrossRef]
  31. Xiang, W.-L.; Meng, X.-L.; An, M.-Q. An Enhanced Differential Evolution Algorithm Based on Multiple Mutation Strategies. Comput. Intell. Neurosci. 2015, 2015, 285730. [Google Scholar] [CrossRef]
  32. Mohamed, A.W. An improved differential evolution algorithm with triangular mutation for global numerical optimization. Comput. Ind. Eng. 2015, 85, 359–375. [Google Scholar] [CrossRef]
  33. Yi, W.; Gao, L.; Li, X.; Zhou, Y. A new differential evolution algorithm with a hybrid mutation operator and self-adapting control parameters for global optimization problems. Appl. Intell. 2015, 42, 642–660. [Google Scholar] [CrossRef]
  34. An, H.C.; Hao, W. A differential evolution SAF-DE algorithm which jumps out of local optimal. In Proceedings of the 16th International Conference on Computational Intelligence and Security (CIS), Guangxi, China, 27–30 November 2020; pp. 333–337. [Google Scholar]
  35. Guo, Y. Image segmentation based on a hybrid artificial bee colony algorithm with SSIM and PSNR evaluation. Eng. Comput. 2022, 52, 1–16. [Google Scholar]
  36. Sun, Y. Differential evolution algorithm with SSIM and PSNR metrics for image segmentation. Multimed. Tools Appl. 2022, 81, 15577–15594. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.