To evaluate the effectiveness of the proposed algorithm, we conduct experiments on the BSD500 benchmark color images widely used in image segmentation studies [
29]. We randomly choose 20 images from the images of the BSD500 dataset (9 from training, 6 from validation, 5 from test) using a stratified random sampling to ensure a diverse and representative subset that covers various scene types, color distributions, and texture complexities. Among the recently published segmentation methods reviewed in
Section 2, IBES [
20], GGPC [
22], MALA [
24], and RSA [
16] are considered for experimental comparison. All parameter values for the comparison algorithms listed in
Table 2 are set according to their original publications to ensure a fair and unbiased comparison.
All algorithms have the same population size 20 and a maximum evaluation of 2000. Each algorithm is independently executed 20 times to reduce the influence of randomness. The threshold levels K = 3, 5, and 6 are selected as they represent low-, medium-, and high-complexity scenarios commonly used in multi-threshold segmentation. We also assess their segmentation performance by comparing region covering (RC), peak signal-to-noise ratio (PSNR), structural similarity index measure (SSIM), and feature similarity index (FSIM).
4.1. Comparative Results Based on Kapur Entropy
All experiments are conducted on a PC equipped with an Intel Core i7-6700 CPU @ 3.40 GHz, 12 GB RAM, running Windows 10, and implemented in MATLAB R2020b.
4.1.1. Analysis of the Objective Function Based on Kapur
Table 3 reports the objective function results using Kapur, including the minimum, average, and standard deviation (STD). The proposed MRSA algorithm achieves the best Kapur values on most test images under different threshold levels. IBES exhibits the weakest performance. As the number of thresholds increases from 3 to 5 and 6, the objective function values of all algorithms show an increasing trend. A larger number of thresholds provides richer partitioning capability and improves image information representation. Compared to the other algorithms, MRSA achieves superior optimization performance in high-dimensional threshold search spaces.
When the number of thresholds is 3, MALA performs best. MRSA ranks among the top two in 18 out of 20 cases, and it is superior to IBES and GGPC. For the images “257098” and “296058”, MRSA achieves results of 15.76 and 15.63, respectively, outperforming RSA. When the threshold number increases to 5, the performance improvement of MRSA becomes more significant. On the images “12003”, “12074”, and “296058”, MRSA achieves values of 20.93, 20.92, and 21.03, respectively, which are clearly better than those of the other algorithms. It is worth mentioning that RSA experiences evident performance degradation on several images, whereas MRSA still manages to obtain high objective function values. In the higher-dimensional threshold segmentation task, the advantages of MRSA become even more obvious, and it outperforms other comparison algorithms. MRSA achieves the best results on all test images, while RSA exhibits large performance fluctuations under high-threshold conditions.
MALA exhibits strong local search capability in low-dimensional search spaces and can quickly reach high-quality solutions. MRSA appears to perform better on most images and it shows great optimization accuracy while preserving strong global exploration ability. Moreover, MRSA demonstrates great adaptability across different types of images.
To further verify the statistical significance of MRSA in multi-threshold color image segmentation, the Wilcoxon rank-sum and Friedman tests are utilized to statistically analyze the experimental results of the algorithms, as shown in
Table 4. In the results, “-” indicates that the corresponding algorithm achieves the best performance on the image, and the values are the
p-values from the Wilcoxon rank-sum test.
MRSA demonstrates significant advantages on most test images under different threshold levels, especially in high-dimensional threshold segmentation tasks. When K is 3, MALA achieves the best results on the majority of test images, while MRSA obtains results close to the best performance on several images. For image “309004”, RSA achieves the best result, while MALA shows comparable performance. When the threshold number is 5, the statistical advantage of MRSA becomes much more evident. On images, such as “12003”, “210088”, “296028”, “296058”, “309004”, “311068”, and “374067”, MRSA achieves the best results, while the other algorithms are inferior to MRSA.
In the more challenging 6-threshold segmentation task, MRSA has the best performance. The experimental results show that MRSA achieves the best results on nearly all test images. On “12003”, “12074”, “37073”, “257098”, “296058”, and “393035”, MRSA maintains excellent performance, and it outperforms other algorithms. MRSA has stronger search stability and superior global optimization capability in high-dimensional multi-threshold optimization problems. On “384022”, MRSA shows performance comparable to IBES or RSA. As the search dimension increases, other algorithms gradually suffer from insufficient population diversity and premature convergence. In contrast, MRSA introduces an adaptive weight and an elite cooperative search mechanism to acquire excellent exploration capability and better optimization performance in complex search spaces.
The Friedman test indicates that the average ranks for IBES, GGPC, MALA, RSA, and MRSA are 4.33, 2.83, 2.40, 3.52, and 1.92, respectively, with a p-value of 7.13 × 10−18. MRSA outperforms the other comparison algorithms.
4.1.2. Analysis of the Running Time Based on Kapur
Table 5 displays the average running time of the algorithms. MRSA requires significantly more computation time than IBES, GGPC, MALA, and RSA. MRSA introduces several enhancement strategies for RSA, including adaptive weight, elite differential cooperative search, channel cooperative optimization, and solution repair, which increase computational complexity in each iteration.
The computational cost of MRSA per iteration consists of fitness evaluation, RGB channel symmetric cooperation, position update, and repair strategy. The total complexity is O(T*N*D), where T is the maximum iteration, N is the population size, and D is the dimension. MRSA takes approximately 6.6 to 6.8 s when K = 3, whereas the other comparison algorithms require between 2.2 and 3.1 s. MALA ranks highest in execution speed, followed by IBES, RSA, and GGPC. An upward trend in runtime is observed for all algorithms as the number of thresholds grows. The search dimension of the multi-threshold segmentation problem becomes larger, and the fitness evaluation and population update processes become more complex. However, the runtime growth of MRSA remains relatively stable without any significant time explosion. Although MRSA incorporates multiple enhancement modules, its overall computational complexity is still within an acceptable range.
4.1.3. Analysis of the Region Covering Based on Kapur
To accurately assess segmentation quality from a perceptual perspective, we utilize RC, a standard evaluation metric for image segmentation. RC measures the overlap between the segmentation results and the human-annotated ground truth.
Figure 2 depicts the RC values for all comparison algorithms under the Kapur objective function at three threshold levels.
At the low threshold, there are small differences in the performance of the algorithms. IBES achieves the highest RC values on 10 out of 20 images. MRSA ranks second and obtains the best RC value on “385028”. GGPC, MALA, and RSA show competitive performance on one, five, and three images, respectively. Although MALA outperforms MRSA, the difference is generally marginal. However, MALA performs worst on seven images.
As the number of thresholds increases to five, MRSA achieves the highest RC values on nine images. For images “12003”, “210088”, and “260058”, MRSA demonstrates superior performance compared to other algorithms. Its RC values are 0.4262, 0.5873, and 0.4996, indicating improvements of approximately 21.3%, 41.0%, and 39.5% over the second-best algorithm. At the most challenging threshold level (K = 6), MRSA continues to demonstrate strong performance. It acquires the highest RC values on seven images. Notably, on images “277095”, “299091”, and “393035”, MRSA achieves RC values of 0.4518 and 0.4318, which are substantially higher than those of the comparison algorithms.
4.1.4. Analysis of Other Evaluation Metrics Based on Kapur
Figure 3 shows that the proposed MRSA algorithm achieves superior segmentation performance on most test color images at different threshold levels. Compared to IBES, GGPC, MALA, and RSA, MRSA obtains higher PSNR values at 57 image-threshold combinations. IBES, MALA, and RSA outperform MRSA on 1, 1, and 1 image segmentation, respectively. The segmented images produced by MRSA better preserve the information of the original images and exhibit higher visual quality.
According to
Figure 4, MRSA achieves favorable structural similarity performance at 52 cases, followed by IBES, MALA, GGPC, and RSA. For the lower threshold level, IBES, MALA, and GGPC achieve their best performance with two, one, and one cases, respectively. IBES also outperforms MRSA on three and one cases when
K = 5 and 6. Traditional color image segmentation methods usually process the RGB channels independently and ignore the correlations between different color channels. The SSIM results indicate that MRSA can better preserve the structural information and texture details of the original images during multi-threshold color image segmentation.
MRSA achieves the highest FSIM values across different threshold levels, and it performs worse than MALA only on image “12074” when K = 5. MRSA has shown superior performance over other comparison algorithms in feature information preservation and visual perception quality, as evidenced by FSIM experimental results based on the Kapur objective function.
4.2. Comparative Results Based on Otsu Criterion
4.2.1. Analysis of the Objective Function Based on Otsu
Table 6 reports the objective function results using Otsu. MRSA demonstrates strong optimization capability and stability at different threshold levels. The Otsu objective values of the algorithms generally increase as the number of thresholds increases. By using more thresholds, it is possible to maximize the between-class variance among different image regions and produce more detailed segmentation outcomes.
At the lower threshold level, the performance differences among the algorithms are relatively small. Because the low-dimensional search space is less complex, most algorithms quickly converge to promising regions. RSA, MALA, and MRSA achieve high Otsu values, with MALA even performing slightly better than MRSA in some cases. When the thresholds increase to five, MRSA’s advantages become more apparent, while the performance of MALA and RSA experience fluctuations. Except for images “299091” and “374067”, MRSA achieves the best Otsu values. As the search space dimension increases, GGPC and RSA are more likely to fall into local optima due to insufficient population diversity. In contrast, MRSA introduces an adaptive weight mechanism to achieve a dynamic balance between exploration and exploitation. In the higher-dimensional threshold segmentation task, the performance of MRSA is superior to other algorithms. GGPC and RSA show a clear decline in optimization capability and large fluctuations in high-dimensional search spaces, while MRSA still maintains stable and high Otsu values.
Table 7 presents the Wilcoxon rank-sum test of the algorithms on objective function values. When
K = 3, MALA achieves the best results on all test images, while the other algorithms are inferior to it. When
K increases to 5, the statistical advantage of MRSA is more apparent. MRSA achieves the best performance on 18 out of 20 images. It is important to note that IBES and MALA achieve results comparable to MRSA on several images, including “12003”, “58060”, “253016”, and “277095”. In the higher-dimensional multi-threshold segmentation task (
K = 6), MRSA achieves “-” at 17 images, while the other algorithms exhibit no statistical similar to it. In images “257098”, “296058”, “311068”, and “384022”, MRSA and IBES achieve comparable results. GGPC and RSA demonstrate relatively weak performance under different threshold levels.
The Friedman test results show that the average ranks for IBES, GGPC, MALA, RSA, and MRSA are 3.17, 3.25, 2.42, 4.58, and 1.58, respectively, with a p-value of 1.03E-24. MRSA performs the best, followed by MALA, IBES, GGPC, and RSA. Wilcoxon rank-sum and Friedman tests demonstrate that MRSA has significant statistical advantages in medium- and high-dimensional multi-threshold color image segmentation tasks.
4.2.2. Analysis of the Running Time Based on Otsu
Table 8 displays the average running time of the algorithms. The overall runtime distribution of the algorithms is similar to that under the Kapur objective function. Among them, MRSA still requires the longest runtime, while MALA, IBES, RSA, and GGPC execute faster.
MRSA runs in about 6.6 and 6.8 s at lower threshold levels, while the other algorithms usually run in around 2.7 and 3.0 s. Compared to the Kapur objective function, the overall runtime of all algorithms is slightly shorter. The computation of Otsu’s between-class variance is relatively simple, which results in less time required for fitness evaluation. The runtime of all algorithms increases as the number of thresholds increases. The proposed improvement strategies introduce additional computational costs, but the overall algorithm structure remains stable and scalable.
The runtime experimental results based on the Otsu objective function indicate that although MRSA is less efficient in terms of computation time compared with the other algorithms, it significantly improves image segmentation quality through multiple optimization strategies. Overall, MRSA achieves a more reasonable balance between computational cost and segmentation performance.
4.2.3. Analysis of the Region Covering Based on Otsu
Figure 6 presents the RC results obtained using the Otsu objective function, and it offers evidence of the perceptual quality of the segmentation outcomes produced by the algorithms. At the low threshold level, IBES demonstrates competitive performance, and it achieves the highest RC values on 11 out of 20 images. MRSA obtains outstanding performance on images “37073”, “236017”, “260058”, and “309004”. On “260058”, MRSA outperforms the second-best algorithm (IBES) by approximately 54.9%. On “309004”, MRSA achieves a 52.2% improvement over IBES. GGPC, MALA, and RSA also show great performance at this threshold level, and they achieve the highest RC values on 3, 1, and 1 images, respectively.
With five thresholds, MRSA exhibits significantly improved performance, and it achieves the highest RC values on 10 images. This represents a substantial improvement compared to its performance at K = 3. MRSA achieves notably high RC values on images “257098” (0.4854), “296028” (0.4786), “311068” (0.4887), “384022” (0.5864), and “393035” (0.4962). RSA shows strong performance on several images, particularly “12003”, “277095”, “296058”, “299091”, and “374067”. However, GGPC’s performance is less consistent across all test images. IBES, which performs well at K = 3, experiences a decline in performance at K = 5. For example, IBES’s RC on “384022” decreases from 0.5148 (K = 3) to 0.4706 (K = 5). MALA and RSA exhibit the most significant performance fluctuations. The RC values for RSA on 14 images are significantly lower than those for MRSA.
The superior performance of MRSA at K = 6 is particularly noteworthy because high-dimensional threshold optimization represents the most challenging scenario for metaheuristic algorithms. The search space grows exponentially with the number of thresholds, and many algorithms suffer from insufficient population diversity and premature convergence. RSA exhibits the most significant performance degradation at K = 6. The RC values decline significantly on many images, such as from 0.3129 on “12003” at K = 5 to 0.3129 at K = 6. Through the improvement measures, MRSA explores the high-dimensional search space thoroughly and identifies globally optimal threshold combinations.
4.2.4. Analysis of Other Evaluation Metrics Based on Otsu
The PSNR experimental results under the Otsu objective function further validate the effectiveness of the proposed algorithm. MRSA achieves the highest PSNR values at 49 images, and it exhibits strong optimization capability in multi-threshold color image segmentation. When K = 3, GGPC shows competitiveness due to its local exploitation ability, and it acquires the best values at six images. Even so, MRSA still achieves superior overall performance. As the number of thresholds increases, MRSA becomes more superior. The PSNR experimental results based on the Otsu objective function demonstrate that MRSA surpasses the comparison algorithms in terms of image reconstruction quality and optimization stability, and it achieves higher-quality segmentation results in complex high-dimensional multi-threshold color image segmentation tasks.
Regarding SSIM, the performance differences among the algorithms are relatively small at the lower threshold level. Even so, MRSA demonstrates clear advantages in complex images. For example, on images “12003” and “37073”, MRSA achieves SSIM values of 0.4837 and 0.7500, respectively, both of which are better than those of the other comparison algorithms. Although MALA shows strong local exploitation ability in low-dimension, its performance fluctuates significantly as the threshold dimension increases. In higher-dimensional multi-threshold segmentation tasks, the SSIM values of RSA and GGPC decrease noticeably, whereas MRSA obtains high performance. These results prove that MRSA has stronger global search capability and greater stability in high-dimensional search spaces.
MRSA achieves high FSIM values at 43 images with various threshold values. At the lower threshold level, MALA shows strong competitiveness, and it surpasses MRSA on 12 cases. However, MRSA exhibits more stable performance. MRSA obtains high-quality results while MALA experiences a significant drop in their FSIM values during higher-dimensional multi-threshold segmentation tasks. The FSIM experimental results based on the Otsu objective function confirm the superior performance of MRSA in multi-threshold color image segmentation.
4.3. Parameter Sensitivity Analysis
To investigate the influence of the number of elite individuals and the weight factor
w on the performance of the proposed algorithm, we conduct a sensitivity analysis. The number of elite individuals is set to 4, 5, 7, and 10, respectively, and we record how many times each configuration successfully found the optimal objective function value. The experimental results are presented in
Table 9 and
Table 10.
According to the statistical results based on Kapur, the number of best results generally increases as the number of elite individuals increases when the threshold level is three. In total, 7 and 10 elite individuals achieve 6 and 7 optimal objective function values, respectively. However, when the threshold level increases to 6, 4 elite individuals achieve 12 optimal results, while the corresponding numbers drop sharply to 4, 2, and 2 as the number of elite individuals increases.
The statistical results based on Otsu follow a similar trend. When the threshold level is three, 10 elite individuals achieve the highest number of optimal results. In contrast, when the threshold level increases to six, four elite individuals obtain the best result 13 times, which is significantly better than other parameter settings. These findings further demonstrate that, as multi-threshold image segmentation becomes more complex, a smaller elite group can maintain the guidance provided by high-quality individuals while preventing excessive population concentration. Therefore, we ultimately set the number of elite individuals to four.
Four different settings of the inertia weight are assessed: 0.9/0.4, 0.8/0.3, 0.7/0.2, and 0.6/0.1, where
w decreases linearly from the initial value to the final value.
Table 11 and
Table 12 present the experimental results.
As shown in
Table 11, the inertia weight has a noticeable impact on the optimization performance of MRSA. At various threshold levels, all weight strategies can achieve the best results. However, as the number of thresholds increases, the performance differences among different parameter settings become more apparent. Among them, the 0.9/0.4 inertia weight strategy achieves the highest number of best results for most threshold levels. Smaller inertia weight settings, such as 0.6/0.1, obtain considerably fewer best results. The statistical outcomes derived from the Otsu objective function exhibit a comparable pattern. The 0.9/0.4 inertia weight approach yields the superior performance across various threshold levels. As the inertia weight decreases gradually, the algorithm achieves a better balance between exploration and exploitation.
The experimental results obtained from both the Kapur and Otsu objective functions indicate that the inertia weight plays an important role in the optimization performance of the proposed algorithm. The 0.9/0.4 linearly decreasing inertia weight strategy consistently provides better and more stable performance under different threshold levels and objective functions. Therefore, the proposed algorithm adopts this strategy as the default setting.
4.4. Ablation Experiments
To further verify the effectiveness of the proposed strategies, we conduct a series of ablation experiments. The proposed MRSA algorithm is compared with three variants, including MRSA-1 (without the symmetric RGB channel cooperation mechanism), MRSA-2 (without the repair strategy), and MRSA-3 (without the improved RSA method).
Table 13 and
Table 14 present the objective function values based on Kapur entropy and the corresponding Wilcoxon rank-sum test results for these variants, respectively.
Table 13 shows that the proposed MRSA achieves higher Kapur entropy values than the three variants under different threshold levels and benchmark images, demonstrating the effectiveness of the proposed improvement strategies. The performance is affected by the removal of any component, while each proposed strategy contributes positively to the overall optimization performance.
Among the three variants, MRSA-1 exhibits the most significant performance degradation. It outperforms MRSA on only 11 out of 60 cases. The symmetric RGB channel cooperation strategy encourages interaction between color channels and preserves their specific characteristics. MRSA-3 also shows noticeable performance degradation on most images. It is better than MRSA on only one, five, and three images when K = 3, 5, and 6, respectively. These findings confirm the effectiveness of the modified RSA search method. The adaptive exploration and exploitation strategy and elite-guided learning mechanism improve convergence accuracy. MRSA-2 obtains lower objective function values than MRSA on most images, especially at the lower threshold level. The proposed repair mechanism plays a crucial role in keeping the validity and proper ordering of thresholds. Without this repair strategy, the algorithm’s segmentation quality can be significantly compromised due to the generation of invalid or overlapping thresholds.
The Wilcoxon rank-sum test further supports the superiority of the proposed method. MRSA, MRSA-1, MRSA-2, MRSA-3 obtain optimal objective function values in 49, 12, 10, and 12 images, respectively. MRSA achieves the optimal ranking (marked as “-”) on the vast majority of benchmark images, while the remaining variants have statistically inferior performance compared to MRSA.
By combining the symmetric RGB channel cooperation mechanism, repair strategy, and improved RSA method, the proposed algorithm effectively addresses the increasing complexity of color image segmentation tasks.
Table 15 and
Table 16 present the objective function values based on the Otsu criterion and the corresponding results of the Wilcoxon rank-sum test, respectively. As shown in
Table 15, the proposed MRSA achieves highly competitive Otsu objective function values. Compared with the three variants, MRSA again demonstrates stronger optimization capability, which confirms the effectiveness of the proposed improvement strategies.
Of the three variants, MRSA-2 experiences the most significant performance drop. Under the threshold levels of K = 3, 5, and 6, MRSA-2 obtains statistically inferior results on 19, 17, and 17 images, respectively. The algorithm’s segmentation quality may be severely reduced if it generates invalid or overlapping thresholds during the optimization process without the repair strategy. MRSA-1 also shows clear performance degradation on most images. It performs best on three, four, and three images, respectively, when the threshold levels are set to three, five, and six. The proposed method achieves more accurate threshold estimation by introducing a cooperative guidance mechanism of RGB channels. The objective function values obtained by MRSA-3 are generally lower than those of MRSA on most benchmark images. Although MRSA-3 shows competitive performance in a few cases, it outperforms MRSA on only one image when K = 3 and 5, while no obvious advantage is observed at higher threshold levels. These results confirm the effectiveness of the improved RSA search strategy.
As shown in
Table 16, MRSA achieves the optimal ranking (marked as “-”) on most benchmark images. MRSA achieves the best performance on 47 image-threshold combinations. MRSA-1, MRSA-2, and MRSA-3 obtain optimal solutions on 10, 1, and 2 cases, respectively. Furthermore, they obtain results that are statistically similar to the best solution on 3, 6, and 11 cases, respectively. MRSA demonstrates remarkable superiority when solving high-dimensional multi-threshold optimization problems.
Table 17 and
Table 18 display the results of MRSA performance improvements achieved by the variants. Under the Kapur entropy criterion, MRSA-1 improves segmentation performance on 19, 15, and 15 images at
K = 3, 5, and 6, respectively. The corresponding numbers for MRSA-2 are 20, 18, and 18, while MRSA-3 achieves improvements on 19, 15, and 17 images. Under the Otsu criterion, MRSA-1 improves performance on 17, 15, and 16 images, MRSA-2 on 20, 19, and 19 images, and MRSA-3 on 18, 18, and 19 images at the three threshold levels, respectively.
The experimental results obtained from both objective functions demonstrate that all three proposed strategies contribute positively to the performance of MRSA. Among them, the repair strategy plays the most important role. Unlike the other strategies, its primary purpose is not to directly improve the objective function value but to ensure the structural validity and feasibility of the generated threshold solutions. Without the repair strategy, MRSA may still achieve a competitive objective value; however, the resulting thresholds can be out of bounds, duplicated, or unordered, leading to segmentation results that are physically meaningless. By working together, the three strategies complement each other and enable MRSA to achieve more stable and superior optimization performance under different threshold levels and objective functions.
4.5. Qualitative Visual Comparison
While the quantitative metrics presented in
Section 4.1 and
Section 4.2 provide objective assessments of segmentation quality, they do not fully convey the perceptual differences among the segmentation results. To complement these numerical evaluations, we present a qualitative visual comparison of the segmentation outcomes produced by the MRSA algorithm.
We select five representative images, namely “236017”, “253016”, “299091”, “309004”, and “385028”, to demonstrate the visual performance of MRSA.
Figure 10 and
Figure 11 display the results of segmented images using Kapur and Otsu.
“236017” depicts a natural scene with a prominent central object against a textured background. At K = 3, MRSA successfully separates the main foreground object from the background. The boundaries between regions are smooth and follow the natural contours of the objects. At K = 5, the background is further partitioned into sub-regions that distinguish different texture areas, while the foreground object remains a coherent whole. At K = 6, the algorithm achieves the finest granularity, and it acquires subtle variations within the background textures without introducing over-segmentation artifacts. “253016” contains multiple textures and color variations. At K = 3, MRSA produces a coarse but semantically meaningful partition that separates the major texture regions. As K increases to 5, the algorithm successfully distinguishes finer texture patterns while preserving the integrity of homogeneous areas. At K = 6, MRSA captures the most detailed texture variations, with region boundaries closely following the natural edges of the textured surfaces. “299091” includes multiple objects with overlapping color distributions. At K = 3, MRSA produces a coarse segmentation that identifies the major structural components of the scene. At K = 5, the algorithm achieves a more detailed partition, and it successfully separates objects with similar color characteristics that are often merged by other methods. At K = 6, MRSA captures fine structural details while obtaining a coherent overall segmentation structure. “309004” features smooth color gradients, but the challenge lies in preventing abrupt artifacts by maintaining smooth transitions. MRSA demonstrates a superior ability to handle such gradients: at K = 3, the algorithm produces a smooth and natural-looking segmentation that respects the global color distribution. At K = 5, additional thresholds are allocated to regions with more pronounced color variations, and it achieves finer distinctions without creating artificial boundaries in homogeneous gradient areas. At K = 6, MRSA further refines the segmentation, so it acquires subtle color nuances while preserving the visual continuity of the scene. “385028” contains fine structural details that require precise threshold placement to preserve object boundaries. At K = 3, MRSA successfully identifies the major structural components of the scene. At K = 5 and 6, the algorithm progressively captures finer details, with segmentation boundaries that align closely with the natural edges in the image.
For all five test images, MRSA demonstrates consistent visual quality under the three threshold levels based on the Kapur and Otsu criteria. The most notable observation is that the segmentation masks preserve good region consistency, while progressively capturing finer details as K increases from 3 to 6. In images “299091” and “309004”, MRSA provides a natural visual appearance and preserves perceptual consistency across varying threshold levels.
4.6. Discussion on the Entire BSD500 Dataset
To further evaluate the scalability of the proposed MRSA, we extend our experiments to the entire BSD500 dataset and K = 10 thresholds, an extremely high-dimensional search space.
4.6.1. Discussion on Kapur Entropy
Table 19 displays the experimental results obtained using Kapur under four threshold values. As the threshold increases from 3 to 10, the objective values generally increase. Higher thresholds offer more flexibility in image segmentation. Among all the comparison methods, MRSA achieves the highest objective values at threshold numbers of 6 and 10, which are higher than those of IBES, GGPC, MALA, and RSA. At the threshold of 5, MRSA obtains 20.2525, which is only slightly lower than MALA (20.3346). When the threshold number is 3, MALA achieves the highest objective value (15.1809), whereas MRSA remains competitive with a value of 15.0331.
It can be observed that MRSA achieves the highest PSNR values at thresholds of three, five, and six. Compared with the second-best algorithm, MRSA provides noticeable improvements, especially when the threshold increases to five and six. At threshold 10, IBES (25.6763) slightly outperforms MRSA (25.1078).
MRSA achieves the highest SSIM values under all threshold numbers, with values of 0.5237, 0.6729, 0.7215, and 0.8140, respectively. The improvement is particularly obvious for threshold numbers of five and six, where MRSA significantly outperforms RSA and GGPC. Even when compared to strong competitors such as IBES and MALA, MRSA consistently exhibits the highest structural similarity.
MRSA obtains the highest FSIM values for four threshold levels. Compared to IBES, GGPC, MALA, and RSA, MRSA provides the most accurate feature preservation. The performance gain becomes more pronounced as the threshold increases, indicating that the proposed improvements remain effective for more challenging segmentation tasks.
MRSA requires more computational time when the thresholds are three, five, and six. The proposed algorithm introduces several mechanisms, which inevitably increase computational complexity. However, when the threshold number increases to 10, MRSA becomes the fastest algorithm, requiring only 9.4736 s, whereas the other algorithms require approximately between 10.49 and 13.43 s. The proposed algorithm converges more efficiently under high-dimensional search spaces and possesses better scalability for complex optimization problems.
For the threshold number three, MRSA achieves the best RC (0.3938). At threshold levels five and six, GGPC realizes the greatest values (0.3645 and 0.3751), while MRSA ranks second with values of 0.3590 and 0.3575, respectively. When the threshold increases to 10, RSA (0.3548) slightly outperforms MRSA (0.3480), whereas MRSA still remains among the top-performing methods.
The experimental findings show that the proposed MRSA achieves superior overall segmentation performance on the entire BSD500 dataset according to the Kapur entropy criterion.
4.6.2. Discussion on Otsu Criterion
Table 20 presents the experimental results obtained using Otsu under different threshold values. MRSA achieves the highest objective function values at threshold levels 5, 6, and 10. It outperforms IBES, GGPC, MALA, and RSA. At threshold 10, MRSA improves the objective function value by approximately 10% compared to the second-best algorithm IBES. It maintains strong global optimization capability even as the search space becomes significantly larger. Only at threshold three, MALA obtains the highest objective function value (2174.0292), but it still clearly outperforms IBES, GGPC, and RSA.
At threshold levels of five and six, MRSA achieves the best PSNR values and outperforms the other comparison algorithms. When the threshold increases to 10, IBES acquires the highest PSNR value (26.5922), while MRSA ranks second with 25.6393. It’s noteworthy that at the three threshold level, the PSNR value of MRSA (18.5743) closely matches that of the superior algorithm MALA (18.6209).
MRSA obtains the highest SSIM scores across all threshold levels. Compared to IBES, MRSA further improves the SSIM to 0.8482 at a threshold level of 10. It exhibits superior ability to preserve the structural information of the original image. As the threshold increases, the SSIM values of all algorithms generally improve; however, MRSA maintains the best performance across all threshold settings.
MRSA achieves the greatest FSIM results at thresholds five and six. At threshold three, the FSIM of MRSA (0.7482) is almost identical to that of the best-performing algorithm MALA (0.7492). When the threshold increases to 10, IBES slightly outperforms MRSA; however, the performance gap between the two algorithms remains very small.
The running time of MRSA is longer than that of IBES, GGPC, MALA, and RSA at threshold levels three, five, and six. When the threshold reaches 10, MRSA requires only 9.5098 s, which is less than IBES, GGPC, MALA, and RSA. It becomes the fastest algorithm under this more challenging optimization scenario.
At a threshold level of three, MRSA achieves the highest RC. At thresholds of five and six, GGPC ranks first, while MRSA attains the second-best results. When the threshold increases to 10, RSA obtains the highest RC value (0.3548), followed by MRSA with 0.3480. Although MRSA does not achieve the best RC value at all thresholds, it consistently ranks among the top two algorithms. The performance of other algorithms shows significant fluctuations.
As the threshold level increases, the optimization landscape becomes considerably more complex. The elite-guided learning and repair mechanisms enable MRSA to identify promising regions more efficiently, thereby reducing unnecessary search efforts. Consequently, although MRSA introduces additional computational operations per iteration, its faster convergence partially compensates for this overhead at higher threshold levels, resulting in shorter overall execution times than the comparison algorithms for K = 10.
These experimental results demonstrate that the proposed MRSA can achieve high segmentation accuracy while effectively preserving image visual quality and region consistency. In particular, under high-threshold settings, MRSA exhibits superior optimization capability and overall performance compared to the comparison algorithms.