The performance of the proposed approach for segmentation BBOA_S, based on the RGB–Sobel multilevel thresholding approach, is evaluated using ten benchmark color images and compared with five state-of-the-art optimization algorithms, including ABC, JA, MFO, PSO, and WOA. Quantitative assessment is done using widely used image quality and segmentation comparative metrics, namely PSNR, MSE, SSIM, and FSIM, whose average values are summarized in the experimental results given in the tables. All the algorithms used for comparing the effectiveness of the proposed method were executed until there was no change in the fitness function.
6.2. Overall Significance of Metric Selection
The combined use of PSNR and MSE measures the numerical accuracy, while SSIM and FSIM measure the perceptual and feature-level quality measures, and the effectiveness of image segmentation. These measures ensure that the proposed RGB–Sobel-based optimization technique provides perfect, perceptually consistent, and structurally robust image segmentation results.
Using 10 benchmark color images, the effectiveness of the suggested BBOA-based RGB–Sobel multilevel thresholding technique is assessed and contrasted with five cutting-edge optimization algorithms: ABC, JA, MFO, PSO, and WOA. Widely recognized image quality and segmentation metrics, including as PSNR, MSE, SSIM, and FSIM, are used for quantitative evaluation; the experimental findings summarize the average values of these metrics.
The segmented image’s fidelity in relation to the original image is measured by PSNR. Better image information preservation is indicated by higher PSNR values. According to the results, the suggested approach routinely outperforms rival algorithms in terms of PSNR values for the majority of test photos. Specifically, the suggested approach shows a noticeable increase for images like images 1 to 16, with PSNR gains exceeding 3–6 dB in several situations. This result demonstrates that class separability is effectively improved and distortion during multilevel thresholding is reduced when RGB channel histograms and Sobel edge information are jointly optimized.
Pixel-wise reconstruction error is described by the value of MSE. It has an inverse relationship with PSNR. As presented in the findings, for the majority of the test images, particularly images 1 to 5 and images 7 and 10, the suggested BBOA_S method achieves the minimum values of MSE. For example, the values of MSE for image 3 are almost tripled compared to the conventional optimization methods. Such a reduction in the values of MSE indicates the efficiency of the suggested objective function based on between-class variance, which considers the characteristics of color and edges. As a result, the precision of the image segmentation outcome is better, as well as the selection of the threshold.
SSIM considers structural information, contrast, and brightness when assessing the quality of the perceptual image. As presented in the findings, for the majority of the test images, the suggested approach achieves high values of SSIM, which often exceed 0.97. The suggested method significantly outperforms the ABC, JA, MFO, PSO, and WOA methods, particularly for the test images with complex structures, such as image 1, image 3, image 7, and image 8.
FSIM is based on the preservation of low-level features, including phase congruency and gradient magnitude. The results showed that the FSIM values of the proposed method were comparable to, or slightly lower than, the best-performing existing methods on some images. This behavior of the proposed method suggests that, although it focuses on global class separation and structural consistency, it still achieves comparable feature-level similarity, especially for some images, such as image 4, image 6, and image 9. The improved PSNR, MSE, and SSIM results verify that the quality of the segmentation is more stable and meaningful.
Thus, to briefly conclude on the effectiveness of the proposed RGB–Sobel integrated Otsu optimization framework based on BBOA optimization, it is clearly a better option for improved image quality, handling of noisy data, and maintaining structure compared to other optimization techniques for thresholding functions. The use of edge information along with color information is quite reliable for thresholding functions, especially for images with varying illumination conditions or those with complex texture features. Therefore, this proposed method is a better option compared to the previously proposed top-tier techniques for color image segmentation.
This section provides an exhaustive insight into the illustration of the BBOA_S-based multilevel image segmentation framework using quantitative results presented in the form of
Table 1,
Table 2,
Table 3,
Table 4,
Table 5,
Table 6,
Table 7,
Table 8 and
Table 9. For the comparison, the proposed algorithm is compared with the prominent optimization techniques such as Artificial Bee Colony, Jaya Algorithm (JA), Moth Flame Optimization (MFO), Particle Swarm Optimization (PSO), and Whale Optimization Algorithm (WOA) using ten benchmark images with different threshold levels, N = 4, 6, 8, 10, 16, 20.
The PSNR is a prominent metric to evaluate the quality of image segmentation, where a higher PSNR indicates better reconstruction with minimal distortion. As depicted in
Table 3, the proposed BBOA_S algorithm consistently achieves superior PSNR values compared to other optimization techniques such as ABC, JA, MFO, PSO, and WOA across most of the test images. For instance, in image 1, the proposed method attains a PSNR of 23.27, which is significantly higher than ABC (18.56), PSO (19.83), and WOA (20.91). Similarly, for image 10, the proposed method achieves a PSNR of 26.11, outperforming MFO (22.03) and WOA (22.04). Although in a few cases, such as image 12 and image 16, the performance is slightly lower, the overall trend clearly indicates the robustness of the proposed method. The average PSNR values further validate this observation, where ABC, JA, MFO, PSO, WOA, and the proposed BBOA_S achieve 20.40, 20.54, 20.91, 20.71, 21.07, and 23.37, respectively. This demonstrates that the proposed BBOA_S method provides a noticeable improvement in segmentation quality over existing techniques. Additionally,
Figure 15 illustrates the PSNR comparison of all segmented images, where the proposed method (shown in red color) consistently outperforms others, and
Figure 16 presents the average PSNR values across different threshold levels, reinforcing the effectiveness and stability of the proposed approach.
Better segmentation accuracy is indicated by lower Mean Squared Error (MSE) values, which quantify the reconstruction error between the original and segmented images. As shown in
Table 4, the proposed BBOA_S algorithm achieves the lowest MSE values for the majority of the test images compared to ABC, JA, MFO, PSO, and WOA. For instance, in image 9, BBOA_S records a minimum MSE of 194.44, which is significantly lower than ABC (263.48), JA (297.49), and WOA (309.37). Similarly, for image 1, the proposed method reduces the MSE to 387.04, whereas ABC and JA exhibit much higher errors of 930.58 and 627.33, respectively. In image 4 and image 11, BBOA_S also demonstrates substantial error reduction with values of 221.75 and 263.70, outperforming all other methods. Although in a few cases such as image 12 and image 16 the MSE is comparatively higher, the overall performance trend clearly favors the proposed approach. The average MSE values further validate this observation, where ABC, JA, MFO, PSO, WOA, and BBOA_S achieve 856.30, 870.70, 812.92, 786.71, 775.27, and 462.37, respectively, indicating a significant reduction in error by the proposed method. These results confirm that BBOA_S effectively minimizes intra-class variance and preserves important image details, leading to superior segmentation performance.
The SSIM evaluates how effectively contrast, brightness, and structural information are preserved in the segmented image compared to the original image. It is an important metric, especially for the segmentation of natural color images. As shown in
Table 5, the proposed BBOA_S method consistently achieves higher SSIM values across most benchmark images.
For example, in image 1, BBOA_S attains an SSIM of 0.9756, outperforming ABC (0.8991) and PSO (0.9167). Similarly, for image 3, the proposed method achieves 0.9678, whereas other methods produce values below 0.91.
In image 11, BBOA_S reaches 0.9787, which is significantly higher than WOA (0.8959) and other techniques. For image10, the proposed method also shows improvement with an SSIM of 0.9764 compared to others around 0.93. Although in some cases, like image 14, the improvement is moderate, the overall performance remains superior. The average SSIM values clearly validate this trend. ABC, JA, MFO, PSO, WOA, and BBOA_S achieve 0.9265, 0.9291, 0.9321, 0.9283, 0.9320, and 0.9695, respectively. This indicates better structural similarity and visual quality for the proposed method.
Figure 17 further illustrates that BBOA_S (shown in red) consistently outperforms other methods.
The preservation of important picture features is the main goal of the Feature Similarity Index (FSIM).
Table 2 shows detailed FSIM values at various thresholds, while
Table 6 displays average FSIM values.
Table 2 shows that BBOA_S regularly obtains very high FSIM values, frequently above 0.99. For example, image 3 at N = 20 and image 10 at N = 10 have FSIM values of 0.9978 and 0.9954, respectively.
The Dice Similarity Coefficient (DSC) measures the overlap between the segmented output and the ground truth, where higher values indicate better segmentation accuracy. As presented in
Table 7, the proposed BBOA_S method consistently achieves superior DSC values compared to ABC, JA, MFO, PSO, and WOA across most of the benchmark images. For instance, in image 1, BBOA_S attains a DSC of 0.9756, significantly higher than ABC (0.8991) and PSO (0.9167). Similarly, for image 3 and image 11, the proposed method achieves 0.9678 and 0.9787, respectively, outperforming all other techniques by a considerable margin. Even in cases with close competition, such as image 9 and image 13, BBOA_S maintains competitive or superior performance. The average DSC values further confirm this trend, where ABC, JA, MFO, PSO, WOA, and BBOA_S achieve 0.9265, 0.9291, 0.9321, 0.9283, 0.9320, and 0.9695, respectively. This clearly highlights that the proposed BBOA_S method provides significantly better overlap accuracy, demonstrating its robustness and effectiveness in producing high-quality segmented images.
Table 8 presents the results of the Wilcoxon rank-sum test conducted on 100 images to statistically validate the performance of the proposed BBOA_S method against ABC, JA, MFO, PSO, and WOA using PSNR, MSE, SSIM, and DSC metrics. The results clearly indicate that BBOA_S consistently outperforms all comparison methods, as evidenced by higher mean PSNR, SSIM, and DSC values, along with lower MSE values. Importantly, all computed
p-values are extremely small (on the order of 10−15 to 10−86, which are far below the typical significance level (0.05), confirming that the performance improvements are statistically significant. For example, when compared with PSO, BBOA_S achieves higher PSNR (23.24 vs. 21.91), lower MSE (464.38 vs. 592.69), and improved SSIM and DSC values, with strong statistical support. Similar trends are observed across all other methods. The “Better Method” column consistently identifies BBOA_S as superior in all cases. These results strongly validate the robustness, reliability, and effectiveness of the proposed method in achieving significantly improved segmentation performance.
Table 9 presents the overall comparison of average PSNR, MSE, SSIM, and DSC values for 100 segmented images using different optimization techniques. From the results, the proposed BBOA_S method clearly outperforms all other methods across all evaluation metrics. Specifically, BBOA_S achieves the highest PSNR value of 23.2442, indicating superior reconstruction quality compared to PSO (21.9067), MFO (21.6554), and others. In terms of error minimization, it records the lowest MSE value of 464.3813, which is significantly lower than all competing methods, demonstrating an effective reduction in segmentation error. Furthermore, the proposed method attains the highest SSIM value of 0.9716, reflecting excellent preservation of structural information, and also achieves the highest DSC value of 0.9595, indicating better overlap accuracy with the reference segmentation. Overall, the consistent superiority of BBOA_S across all metrics confirms its robustness, reliability, and effectiveness in producing high-quality image segmentation compared to existing optimization techniques.
Figure 3.
Comparison of segmented image 1 with Otsu’s method, along with optimization techniques ABC, JA, MFO, PSO, WOA, and the proposed method BBOA_S with N = 4, 6, 8, 10, 16 and 20.
Figure 3.
Comparison of segmented image 1 with Otsu’s method, along with optimization techniques ABC, JA, MFO, PSO, WOA, and the proposed method BBOA_S with N = 4, 6, 8, 10, 16 and 20.
Figure 4.
Comparison of segmented image 2 with Otsu’s method, along with optimization techniques ABC, JA, MFO, PSO, WOA, and the proposed method with BBOA for thresholds N = 4, 6, 8, 10, 16 and 20.
Figure 4.
Comparison of segmented image 2 with Otsu’s method, along with optimization techniques ABC, JA, MFO, PSO, WOA, and the proposed method with BBOA for thresholds N = 4, 6, 8, 10, 16 and 20.
Figure 5.
Comparison of segmented image 3 with Otsu’s method, along with optimization techniques ABC, JA, MFO, PSO, WOA, and the proposed method with BBOA for thresholds N = 4, 6, 8, 10, 16 and 20.
Figure 5.
Comparison of segmented image 3 with Otsu’s method, along with optimization techniques ABC, JA, MFO, PSO, WOA, and the proposed method with BBOA for thresholds N = 4, 6, 8, 10, 16 and 20.
Figure 6.
Comparison of segmented image 4 with Otsu’s method, along with optimization techniques ABC, JA, MFO, PSO, WOA, and the proposed method with BBOA for thresholds N = 4, 6, 8, 10, 16, and 20.
Figure 6.
Comparison of segmented image 4 with Otsu’s method, along with optimization techniques ABC, JA, MFO, PSO, WOA, and the proposed method with BBOA for thresholds N = 4, 6, 8, 10, 16, and 20.
Figure 7.
Comparison of segmented image 5 with Otsu’s method, along with optimization techniques ABC, JA, MFO, PSO, WOA, and the proposed method with BBOA for thresholds N = 4, 6, 8, 10, 16, and 20.
Figure 7.
Comparison of segmented image 5 with Otsu’s method, along with optimization techniques ABC, JA, MFO, PSO, WOA, and the proposed method with BBOA for thresholds N = 4, 6, 8, 10, 16, and 20.
Figure 8.
Comparison of segmented image 6 with Otsu’s method, along with optimization techniques ABC, JA, MFO, PSO, WOA, and the proposed method BBOA_S for thresholds N = 4, 6, 8, 10, 16 and 20.
Figure 8.
Comparison of segmented image 6 with Otsu’s method, along with optimization techniques ABC, JA, MFO, PSO, WOA, and the proposed method BBOA_S for thresholds N = 4, 6, 8, 10, 16 and 20.
Figure 9.
Comparison of segmented image 7 with Otsu’s method, along with optimization techniques ABC, JA, MFO, PSO, WOA, and the proposed method BBOA_S for thresholds N = 4, 6, 8, 10, 16 and 20.
Figure 9.
Comparison of segmented image 7 with Otsu’s method, along with optimization techniques ABC, JA, MFO, PSO, WOA, and the proposed method BBOA_S for thresholds N = 4, 6, 8, 10, 16 and 20.
Figure 10.
Comparison of segmented image 8 with Otsu’s method, along with optimization techniques ABC, JA, MFO, PSO, WOA, and the proposed method BBOA_S for thresholds N = 4, 6, 8, 10, 16 and 20.
Figure 10.
Comparison of segmented image 8 with Otsu’s method, along with optimization techniques ABC, JA, MFO, PSO, WOA, and the proposed method BBOA_S for thresholds N = 4, 6, 8, 10, 16 and 20.
Figure 11.
Comparison of segmented image 9 with Otsu’s method, along with optimization techniques ABC, JA, MFO, PSO, WOA, and the proposed method BBOA_S for thresholds N = 4, 6, 8, 10, 16 and 20.
Figure 11.
Comparison of segmented image 9 with Otsu’s method, along with optimization techniques ABC, JA, MFO, PSO, WOA, and the proposed method BBOA_S for thresholds N = 4, 6, 8, 10, 16 and 20.
Figure 12.
Comparison of segmentedimage10 with Otsu’s method, along with optimization techniques ABC, JA, MFO, PSO, WOA, and the proposed method BBOA_S for thresholds N = 4, 6, 8, 10, 16, and 20.
Figure 12.
Comparison of segmentedimage10 with Otsu’s method, along with optimization techniques ABC, JA, MFO, PSO, WOA, and the proposed method BBOA_S for thresholds N = 4, 6, 8, 10, 16, and 20.
Figure 14 presents the convergence behavior of different optimization techniques for image 1 at various threshold levels (N = 4, 8, 10, and 20). From the plots, it is evident that the proposed BBOA_S method demonstrates faster and more stable convergence compared to ABC, JA, MFO, PSO, and WOA. While most algorithms gradually approach the optimal solution, BBOA_S reaches near-optimal fitness values in fewer iterations and maintains a smooth convergence trend without significant fluctuations. Additionally, the final converged value achieved by BBOA_S is consistently better (higher fitness) across all threshold levels, indicating improved optimization capability. This behavior highlights the strong exploration–exploitation balance of the proposed method, enabling it to avoid local minima and achieve superior segmentation performance efficiently. Overall, the convergence curves clearly validate that BBOA_S is more reliable, faster, and effective than the compared algorithms.
It is clear from the thorough experimental study that the suggested BBOA_S-based segmentation framework consistently and significantly improves important quality measures, including PSNR, MSE, and SSIM. While the robust global search capacity of BBOA allows for efficient exploration and exploitation of the threshold search space, the combination of RGB and Sobel-based information improves edge preservation and contrast discrimination. The total quantitative and qualitative results unequivocally demonstrate the robustness, stability, and superiority of the suggested BBOA_S methodology for multilevel picture segmentation, even though FSIM values are still similar with those of current methods.
Figure 13.
Comparison of segmented image 1 with image 10 with Otsu’s method, along with the proposed method BBOA_S for thresholds N = 4, 6, 8, 10, 16 and 20.
Figure 13.
Comparison of segmented image 1 with image 10 with Otsu’s method, along with the proposed method BBOA_S for thresholds N = 4, 6, 8, 10, 16 and 20.
Figure 14.
Comparison of the convergence curve of image 1 with Otsu’s method based on optimization techniques ABC, JA, MFO, PSO, and WOAwith Proposed Model BBOA_S.
Figure 14.
Comparison of the convergence curve of image 1 with Otsu’s method based on optimization techniques ABC, JA, MFO, PSO, and WOAwith Proposed Model BBOA_S.
Figure 15.
Comparison of PSNR for 10 segmented images with Otsu’s method, along with optimization techniques ABC, JA, MFO, PSO, WOA, and the proposed method with BBOA for thresholds N = 4, 6, 8, 10, 16, and 20.
Figure 15.
Comparison of PSNR for 10 segmented images with Otsu’s method, along with optimization techniques ABC, JA, MFO, PSO, WOA, and the proposed method with BBOA for thresholds N = 4, 6, 8, 10, 16, and 20.
Figure 16.
Comparison of average PSNR for segmented images image 10 with Otsu’s method, along with optimization techniques ABC, JA, MFO, PSO, WOA, and the proposed method BBOA_S for thresholds N = 4, 6, 8, 10, 16 and 20.
Figure 16.
Comparison of average PSNR for segmented images image 10 with Otsu’s method, along with optimization techniques ABC, JA, MFO, PSO, WOA, and the proposed method BBOA_S for thresholds N = 4, 6, 8, 10, 16 and 20.
Figure 17.
Comparison of verage SSIM for segmented images image 10 with Otsu’s method, along with optimization techniques ABC, JA, MFO, PSO, WOA, and the proposed method with BBOA for thresholds N = 4, 6, 8, 10, 16 and 20.
Figure 17.
Comparison of verage SSIM for segmented images image 10 with Otsu’s method, along with optimization techniques ABC, JA, MFO, PSO, WOA, and the proposed method with BBOA for thresholds N = 4, 6, 8, 10, 16 and 20.
Table 9.
Comparison of average PSNR, MSE, SSIM, and DSC of 100 segmented with Otsu’s method based on optimization technique ABC, JA, MFO, PSO, and WOA with Proposed Model BBOA_S for 100 images for thresholds with N = 4, 6, 8, 10, 16 and 20.
Table 9.
Comparison of average PSNR, MSE, SSIM, and DSC of 100 segmented with Otsu’s method based on optimization technique ABC, JA, MFO, PSO, and WOA with Proposed Model BBOA_S for 100 images for thresholds with N = 4, 6, 8, 10, 16 and 20.
| | Different Methods |
|---|
| METRICS | ABC | JA | MFO | PSO | WOA | BBOA_S |
|---|
| PSNR | 21.5775 | 21.6366 | 21.6554 | 21.9067 | 21.6772 | 23.2442 |
| MSE | 637.7787 | 663.574 | 640.639 | 592.6881 | 639.9682 | 464.3813 |
| SSIM | 0.947 | 0.9474 | 0.9478 | 0.9485 | 0.9492 | 0.9716 |
| DSC | 0.935 | 0.941 | 0.9356 | 0.9322 | 0.9363 | 0.9595 |