Abstract
In a variety of image processing applications, multilevel thresholding image segmentation has gotten a lot of interest. When traditional approaches are utilised, however, the process of obtaining the ideal threshold values takes time. Despite the fact that Hybrid metaheuristic methods can be used to overcome these limits, such approaches may be ineffective when dealing with a local solution. The present study proposes a multi-level image thresholding based hybridization strategy based Sine-Cosine Crow Search Algorithm(SCCSA) to make more efficient image segmentation. The main limitation of the classical Crow Search Algorithm (CSA) is that search agents sometimes do not produce the best solutions. To update a solution to the best solution, each search agent can use Sine-Cosine Algorithm (SCA) movements to update its position accordingly. This ensures a good balance between two goals (exploration and exploitation) would improve the efficiency of the search algorithm. The optimal threshold values are searched by the chosen objective functions of the otsu’s and kapur’s entropy approaches. The hybrid algorithm is evaluated in 12 standard image sets and then compared with the performance of other state-of-the-art algorithms such as ICSA, SCA, CSA and ABC. Experimental results showed that, in different metrics of the output such as objective function values, PSNR, STD values, Mean, SSIM, FSIM and CPU time, the proposed algorithm is consistently higher than other algorithms. In addition, the wilcoxon test is performed using the proposed algorithm to detect the significant differences between the other algorithms. The findings indicated that the proposed SCCSA succeeds with other well-known algorithms and has dominance over robust, accurate and convergent values.
Similar content being viewed by others
Explore related subjects
Discover the latest articles, news and stories from top researchers in related subjects.Avoid common mistakes on your manuscript.
1 Introduction
Segmentation of images is a central method in many applications and innovations for image, video and a vision of computers [22]. It is a crucial stage in the image processing process that separates an image into numerous segments in order to boost the significance of the picture representation in the places where the image segments are divided [1]. For computer-based vision systems, these important regions are easier to evaluate, including defence [17, 52] medical [15, 44], object detection [21], quality inspection [11], crack detection [36], and remote sensing [10, 45]. Four popular methods of segmentation are: thresholding, region-based strategies, edge identification, and relaxation techniques to preserve connectivity [28]. The thresholding-based strategy, in particular, has piqued the interest of researchers due to its efficiency and ease of implementation [18]. The thresholding-based technique can be categorized into bi-level and multi-level thresholding. Bi-level thresholding, as the name implies, employs a single threshold value to divide an image into two uniform foreground(object) and background sections. When an image contains a variety of objects with varying intensities, the bi-level threshold was unable to distinguish between them. Multi-level thresholding, on the other hand, separates an image into multiple zones based on pixel intensities [13]. Multilevel thresholding techniques are widely employed in a variety of fields of image processing and computer vision. Satellite image processing, synthetic aperture radar image segmentation and medical image analysis are just a few of the many significant and intriguing uses of multilayer thresholding. However, choosing the right threshold values is still the most difficult part, and more research is needed to figure that out. In the literature, there are a variety of thresholding strategies. Some are self-contained, while others require user intervention. Manually segmenting a large number of images is a time-consuming operation. Manually segmenting a large number of photos is not always practical, and it can also be inaccurate. As a result, automatic segmentation techniques are gaining a lot of support nowadays. Techniques for setting thresholds were utilised using two approaches: parametric and non-parametric approaches, try to identify the best threshold values. For classifying image classes in a parametric approach, various parameters of a probability density function should be determined. However, this method is computationally expensive and time consuming, whereas the non parametric method optimises multiple factors such as the error rate, entropy, and others to obtain the best threshold values [33]. Nonparametric approaches are choose thresholds by optimization (minimizing or maximizing) of certain feature parameter functions and easier to implement computationally rather than parametric approaches [33]. As a segmentation strategy, multi-level image thresholding has recently become a powerful technique. The threshold of the multilevel divides an image into various regions. Bi-level thresholds are the easiest form, provided that only a threshold value is chosen. But, with increasing the number of threshold levels, this is becoming more complicated. In fact, numerical complexity is exponential and contributes to an increase in threshold values over a long period of time [34]. Otsu and Kapur’s entropy are two state-of-the-art thresholding methods among the existing image thresholding approaches. Otsu and Kapur’s entropy help them find the best threshold values based on a set of rules. Otsu maximises the histogram classes’ variance, while Kapur’s entropy maximises the histogram’s entropy. The above-mentioned thresholding approaches can readily be expanded to multilevel thresholding segmentation. The exhaustive search, on the other hand, makes finding the best threshold values inefficient, and the time complexity grows exponentially as the number of thresholds grows. Metaheuristic algorithms are widely employed in multilevel thresholding situations to solve the aforementioned limitation. Such algorithms can mimic natural phenomena to solve the problems of this difficult optimization, to avoid the local optimum by exploring randomization in the search space repeatedly. There were several algorithms widely used to solve multilevel thresholds. Popular meta-heuristic algorithms are included. The most common approaches, including genetic [25], particle swarm [47], honey bee mating [26], artificial bee colony [14], firefly [27], ant colony [53], differential evolution [46], cuckoo Search [3], and bacterial foraging [48] algorithms, have been addressed for the past decade. A newly proposed algorithms, such as whale [8, 37], gray wolf [30, 31], moth swarm [56], animal migration [43], spider monkey [4], krill herd [9], harmony search [41], spherical search [39], flower pollination [49], bat [54], teaching-learning method [50], and elephant herding [51] in the last couple of years have been suggested for multilevel thresholding. The limits on convergence speed or accuracy are all of these methods and all experiments aim to match these two main aspects. But all the algorithms can still be trapped in local optima, which have a significant impact on their segmentation quality. Each optimization approach may face different local solutions; therefore, combining two optimization algorithms is able to escape individual local solutions. Hybridization of one or more algorithms is today the latest trend in research to solve problems of high dimensionality. These algorithms are extremely capable of overcoming one algorithm’s poor exploration abilities and the other algorithm’s poor exploitability [23]. In fact, the hybridization of algorithms is a practical way to overcome the constraint by growing its performance in terms of convergence and solution consistency [23].
2 Related work
Currently, hybrid algorithms to address the multilevel thresholding problem have been suggested. Ewees et al. [20] introduced a multi-level hybrid WOAPSO threshold algorithm based upon two objectives: fuzzy entropy and otsu’s functions. Results showed that the WOAPSO algorithm is highly efficient in demonstrating high competitiveness in almost every aspect of the criteria in compared with other seven algorithms. Mlakar et al. [35] introduced a multi-level image threshold otsu’s hybrid hjDE algorithm. Eleven real-life images has been evaluated and compared to the algorithms CS, DE, jDE, ABC, and PSO. In 2017, Dehshibi et al. [16]implemented a new BFHS hybrid algorithm with otsu’s and kapur entropy criterions utilizing two set (standard and satellite) of images. Research findings show that the algorithm’s ability to select multiple thresholds is important, as compared to the other algorithms that address the same problem. In addition, BFHS < HS < BF < GA is the order of the CPU time from low to high. A hybrid SCABC algorithm, which hybridize ABC to improve the level of exploitation and exploration in the classical ABC algorithm with SCA algorithm, proposed by Gupta and Deep [24]. A better SCABC search capacity as compared with traditional ABC, SCA and The overall analysis therefore suggests that SCABC be better than SCA and ABC algorithms. Aziz et al. [19] introduced a nature inspired behaviour of fireflies and real spider based hybrid FASSO algorithm to achieve the maximum between class variance criteria. Experimental results revealed the utility of the FASSO algorithm and provide comparatively lesser CPU time for quicker convergence. Ahmadi et al. [5] developed a hybrid BMO-DE optimization algorithm focused on bird mating optimization (BMO) and differential evolutionary (DE) strategies utilizing the methods of kapur’s and otsu’s. The algorithm has better results in solutions accuracy compared with other popular evolutionary algorithms, such as GA, PSO, BF and MBF. Yue and Zhang [55] incorporated hybrid invasive weed bat algorithm (IWBA) for the selection of optimal thresholds. The comparatives tests show that the IWBA algorithm is better and more efficient than the GSA, PSO-GSA and BA algorithms. According to the literature reviewed, in recent years few researchers have been interested in finding the solutions of newly developed hybrid algorithms to multilevel thresholding problems and have become an active area of research. Despite the fact that significant work has been done in this field, good image segmentation remains elusive for practitioners, owing to the following two factors: To begin with, there is limited unanimity on what criteria should be used to assess image segmentation quality. It can be difficult to achieve a fair balance between objective metrics that are entirely based on the underlying statistics of imaging data and subjective measures that attempt to empirically approximate human experience. Second, there has been a lack of consensus on acceptable models for a unified representation of image segments in the search for objective metrics. Many researchers have strong reasons for developing strategies that provide near-optimal metaheuristic search through a wide search space, despite the enormous effort required. Therefore, this paper proposes a new hybridized sine-cosine crow search algorithm (SCCSA) for multi-level thresholding. In SCCSA, the combined architecture and operators of the two separate algorithms (CSA and SCA) have made it possible to find a reasonable compromise between exploration and exploitation capabilities. A new insight into the work is the hybridization of CSA and SCA algorithms to boost the solution consistency. The hybridization of one or more search algorithms not only increases their search capacity, but also leads to their optimization and solves further variations of problems to some degree. For this work, two objective functions, like otsu’s and kapur’s entropy criteria, were used. The three main contributions will be summarized as follows:
-
Propose a SCCSA algorithm for multilevel thresholds of two sets, including the objectives of otsu’s and kapur’s.
-
Incorporating the other swarm algorithms for multi-level thresholding, namely ICSA,SCA, CSA and ABC.
-
Comprehensive qualitative and quantitative comparisons of the SCCSA with other algorithms to validate the findings.
The remainder of the paper is accordingly arranged. Section 2 explains the problem formulation. A background of hybrid SCCSA algorithm is covered in Section 3. Section 4 describes the approach of proposed multilevel thresholding based SCCSA algorithm. Experimental work and evaluation, Results and discussion are discussed respectively in Section 5 and 6. Consequently, Section 7 addresses the conclusions and future work.
3 Problem formulation
Traditionally, multi-level thresholding approaches used to grayscale photos placed thresholds on the histogram of the images. The intensities that are placed between two thresholds are assumed to belong to the same segment as the intensities that are placed between two thresholds. Two thresholding strategies are briefly explained in Sections 3.1 and 3.2.
3.1 Based on Otsu’s method
The Otsu’s approach is one of the most popular approaches to two and multiple thresholds based on the finding of the optimum threshold, which can be defined as the number of sigma functions for each region in the following equation by optimizing the segmented region of interclass variation [40].
Where μT in the above equation denotes the mean image amplitude and for the thresholding of two levels. Mean can be described as of every class [12].
Through optimizing interclass variances the desired threshold can be reached [12].
The same strategy is used for multilevel threshold problems [12].
The σ could be extended [12].
Optimizing the objective function of eq. 7 as follows will achieve the desired threshold value [12].
3.2 Based on Kapur’s entropy
The kapur’s method maximizes the entropic measurement of the segmented histogram for the distribution of the region. Kapur’s proposed two distributions of probability, one for the object and the other for the background. Kapur’s entropy describes an essentially gray level histogram image [29]. The entropy of kapur determines the image completely defined by its accompanying histogram at the gray level [29]. Note that there are several thresholds that separate the image into several parts (t1,t2,t3, ....,tm). Consequently, kapur’s entropy is obtained by means of the following equation [56]:
where.
Where H1, H2,...,Hm reflect entropy values and ω0, ω1, ω2,..., ωm indicate probabilities of segmented class C0, C1, C2,...,Cm, respectively [29]. In both of the above methods, there are constraints which are defined as follows as: t1 < t2 < t3 < ... < tm.
4 Hybrid sine-cosine crow search algorithm (SCCSA)
4.1 Overview of crow search algorithm
Askarzadeh is developed a population-dependent metaheuristic optimization algorithm (i.e. CSA-crow search algorithm [7], which is simulated by intelligent crow behaviour. It is based on the concealed location of the excess food stock [7]. Crow is moral in stealing food from other birds. Keep watching other birds find out where they are hiding their food. This would allow crow to take food from other birds if they left the hiding place [7]. This action has encouraged by crows to develop algorithm called the CSA. Due to various awareness of other birds, crows change the location on the basis of the following formula [32].
Where \( {AP}_i^t \) is the jth crow’s consciousness. When the victim bird realizes the crow i follow, it tries to get the crow to a random place. Keep in mind that a crow j is randomly chosen for each crow i to change crow ith location. Figure 1 illustrates the crow’s position update in CSA within the search space.
4.2 Overview of sine-cosine algorithm
A mathematical motivation focused on the trigonometric functions of the sine and cosine is proposed in 2016 by Mirjalili [2]. With the help of the following formula, the SCA updates the location of the particles within solution space to the position of the best solution [32].
Here, \( {X}_i^t \) refers the position at which it stands, \( {P}_i^t \)is the best solution position and r1,r2, and r3 numbers are produced randomly between zero and one. r1 demonstrates the direction for the update, r2 defines the distance for the update, r3 guarantees a proper balance between emphasis and desalination by creating a random weight, and r4 chooses a movement of the sine or cosine [32]. The effect of difference between the motions on the next position with the range in [−2, 2] in the sine and cosine movements are shown in Fig. 2.
4.3 Hybridization of sine-cosine and crow search algorithm
The main consideration of the proposed hybrid algorithm (i.e. SCCSA) uses the CSA [32]. The CSA first drawback is that the search agents do not necessarily adopt the best solution they have ever achieved [32]. Further, if \( {r}_i\le {AP}_i^t \) is implemented, the search agents change their location to a random place in solution space, which reduces the CSA’s efficiency [32]. Therefore, first of all, it is considered to increase the efficiency of CSA to update and solution to the best solution to date or on the basis of the random status of the search agent as follows [32]
Where r1 is a 0 to 1. Then, a CSA updating procedure or SCA movements can be used by each search agent to update its position accordingly [32].
These steps ensure that all search agents are intelligent and do not create random, low-quality solutions [32]. Therefore, a different approach can be adopted by each search agent in the solution area, thereby increasing its searching capacity. To maximize the use of metaheuristics, ensuring an efficient trade between exploration and exploitation is important [32]. The solution space must be exploited in the first course of iterations; however, we focus more on exploitation in the final iterations [32]. To this effect, the following method is used in SCCSA throughout focus more on experimentation in the first and last iterations [32]
Where t represents current iteration, a is a constant and T is the maximum generation.
5 Proposed multilevel thresholding based SCCSA algorithm
As described in the previous section, SCCSA was selected for multilevel image thresholding. The SCCSA algorithm has been proved to be more efficient for optimizing the objective function in the large search space, when an optimum solution is required [32]. The SCCSA algorithm proposed is designed to identify optimal thresholds within gray [0, L-1] levels by optimizing the function of either otsu’s or kapur’s entropy. In the proposed algorithm, the N crow individuals (the size of the flock) are believed to occupy randomly a position in d-dimensional space and it is supposed that in their first positions they hide their food. Within the algorithm, the sine-cosine algorithm based movements were applied and accordingly all the crows are generating new positions and updating their memories. The best fitness was then evaluated using either Eq. (7)-otsu’s function or Eq. (9)-kapur’s entropy is bound by constraint [0,255]. Such step is repeated until the best fitness is achieved (i.e. the maximum objective function value). The block diagram and the complete flow diagram of the proposed SCCSA multi-level threshold image segmentation algorithm are shown in Figs. 3 and 4.
6 Experimental work and evaluation
This section discusses experimental work. To evaluate and validate the proposed algorithm, twelve standard bench mark images such as Starfish (https://www2.eecs.berkeley.edu/Research/Projects/CS/vision/bsds/BSDS300/html/dataset/images/Gy/12003.html), Lena, Airplane, Cameraman, Hunter, and Living room (http://www.imageprocessingplace.com/root_files_V3/image_databases.htm), Baboon, Pepper and Lake (http://sipi.usc.edu/database/database.php?volume=misc&image=35#top), Boat (http://decsai.ugr.es/cvg/dbimagenes/g512.php) and Gold hill(https://homepages.cae.wisc.edu/~ece533/images/) were taken from different image datasets. All images in JPEG format with size 512 × 512. Table 1 illustrates all original images with their histogram. Due to their multimodal histogram, most images are difficult to segment. In order to achieve better results for such multimodal histograms, sophisticated multi-level threshold segmentation is necessary for those images.
To examine the viability of the proposed SCCSA algorithm in relation to other state-of - the-art ICSA, SCA, CSA and ABC algorithms for optimally evaluated objective function and performance measures. These algorithms were individually implemented and their search efficiency was tested using the Matlab 2014 environment on the Intel(R) Core(TM) i3-6006 U CPU 8GB RAM at 2 GHz running in Windows 10. The search route for crows in SCCSA, bees in ICSA, agents in SCA, crows in CSA and bees in ABC is extremely different and can be merely applied in the formulated problem. These algorithms have been initialised in similar conditions, but have a very different search nature for the same objective function [10]. For each algorithm, various control parametres have been examined to better explore and explore the features of all algorithms and this helps to bring each algorithm to a faster convergence. The selected control parameters of each algorithm for SCCSA, ICSA, SCA, CSA and ABC are taken from the original reference. The optimum solution is found for the set of m threshold values in every candidate solution in all algorithms [6, 38]. Thus, within [0, L-1] at each aspect at the initialization stage of all algorithms, a population of the solution is formed alone. The population is created first, then the solution of the population is allocated to a fitness value and then the optimum threshold values for its selection criteria are calculated by each algorithm. The elapsed CPU time to reach the desired accuracy with each algorithm is considered. In this way, the stopping condition for all algorithms is based on the objective function value and is not on the number of iterations. Since the evolutionary and swarm-based algorithms used include randomness and the initial solutions were randomly created for each run, all experiments for each threshold number and image were repeated for 30 times to ensure the credibility of the statistics. The between class variance and entropy of the Kapur was attempted to be maximized for the given iteration number for all algorithms. The 2–5 level thresholding was considered for all running environment algorithms for the purpose of visualizing better perception and fidelity assessment of segmented images.
Generic output metrics are measured as: PSNR, standard deviation, mean, SSIM, FSIM, in subsequence to the values of final objective function values(Jmax), thresholds and CPU time. The stability and efficiency of all the algorithms are evaluated by the mean and standard deviation (STD) values for the each objective function by the following Eq. (15) below [8]:
Where, σi- best fitness value of the ith run of the algorithm. μ- mean value of σ and k- the number of runs for each stochastic (i.e. k = 30 times). The lower STD value here means that the algorithm uses the objective function to have greater stability. In the decibel (dB) unit, PSNR values are determined for measurements of the dissimilarity between the original and the segmented images. The consistency metric thus shows the degree of similarity between the segmented and the original on the basis of MSE of each pixel [42]:
where,
where, 255 is the maximum gray value, I and Seg are original and segmented images of size X.Y, respectively. Generally, the higher value of the PSNR indicates the good quality of segmentation. The SSIM is used to assess the visual similarity between the original and the reconstructed images. This index combines comparisons of luminance, contrast and structure. In addition, it satisfies symmetry, constraint and unique maximum properties. The SSIM metric can be modeled as follows [42].
where μI - mean intensity of the image I, μSeg - mean of the image Seg, \( {\sigma}_I^2 \)- the variance of I. \( {\sigma}_{Seg}^2 \)- the variance of Seg. σI, Seg- the covariance of I and Seg. The c1 and c2 are the constants, and are included to avoid instability when \( {\mu}_I^2+{\mu}_{Seg}^2 \) are very close to zero, which are mathematically represented as: c1 = (k1L)2 and c2 = (k2L)2. By default, k1 = 0.01 and k2 = 0.03 were taken for computation. And, L is the gray level number in the image. Improved performance is achieved when the SSIM metric is reached at a higher value. The FSIM metric is being used to determine and measure the resemblance among the two images as [8]:
where
The constants here are T1 and T2. T1 = 0.85 and T2 = 160 values were selected. The G is the gradient of the image and is defined as mathematically
The PC is the compatibility of the phase and expresses itself as:
An(X) indicates the localized intensity on scale n and E(X) indicates the magnitude of response vector at position X on scale n and ε is a small positive constant. The higher FSIM valve is seen as enhanced threshold approach efficiency.
7 Results and discussion
Population-based SCCSA, ICSA, SCA, CSA and ABC algorithms have been tested on 12 sets of different test images in this experimental study. The sample of visualization results after applying the proposed SCCSA algorithm to the tested image (i.e. Boat) is illustrated in Tables 2 to 3 for the representation purposes. Table 2 presents the results of Otsu’s method and, as shown in Table 3 for Kapur’s entropy results, the threshold values range from 2 to 5 levels. Figuring out, Tables 2 and 3 provide detailed information on the convergence characteristics of the SCCSA algorithm, the different optimal threshold values associated with the histogram and the segmented image. It is clearly noticed from Tables 2–3, The qualitative evaluation of visual effects shows that the gray scale images are gradually segmented with threshold numbers that from m = 2 to m = 5. With higher threshold numbers (m = 5), each image’s quality is significantly greater and provides a clearer information than m = 2, 3 and 4 for all the images tested for both methods, with a greater number of thresholds (m = 5). Similarly, the same visual results were observed in all other images tested were observed. Further, the multi-level thresholding graphical segmentation results of the SCCSA and the other compared algorithms (ICSA, SCA, CSA and ABC) are shown in Figs.5 (otsu’s method) and 6 (kapur’s entropy) for star image with m = 5 threshold level. From these figures, it can be found that the proposed SCCSA algorithm achieved the best segmentation performance compared with other algorithms. Besides, sample of otsu’s and kapur’s based segmented result of images (i.e. airplane, peppers, lake and goldhill) using the hybridized SCCSA algorithm for m = 2–5 thresholds. Such figures show that, under different thresholds, the SCCSA showed strong segmentation outcomes for different images. Furthermore, these figures show that the segmented images are better for an increasing threshold Figs 6 and 7.
Quantitative results are compared and illustrated in Tables 4-10 as well as in Figs. 8-11 with four other state-of-the-art algorithms. For all the five algorithms, the optimal objective function values (i.e. for otsu’s and kapur’s) are reported in Table 4 over 30 evaluation runs for each image being tested. Since, the two methods are a maximization problem, each target function should be as high as possible to achieve the optimal threshold. It is apparent from Table 4, that all algorithms performed were almost equal in the increase of thresholds (from m = 2 to m = 5). In addition, for images tested, the SCCSA offers higher objective function values than all other algorithms for both methods. However, the otsu’s based obtained SCCSA objective function values for the pepper image were lower when compared with the ICSA algorithm for the m = 4 threshold level. Whereas, the kapur’s entropy results from the results of objective function values in the SCCSA on the hunter image was produced by a lower value than the ICSA algorithm when the threshold level was m = 5. This occurred due to the randomness of the different swarm approaches, the results may vary in some cases. Tables 5 and 6 sum up the chosen thresholds for the test images in the total range of the gray values obtained from the otsu’s and kapur’s approaches for determining the consistency of the optimum threshold values. The table results show that the dedicated threshold detection results are not exactly similar (i.e. this is due to the stochastic and random design of all algorithms) and that the values are in many cases more scattered and broader. Compared to other algorithms, the numerical results from the PSNR results of the proposed SCCSA algorithm are presented in Table 7. PSNR values are observed with increasing threshold values, from m = 2 to m = 5, as can be seen in Table 7. Moreover, Table 7 identifies several aspects. In otsu’s method, average PSNR values compared to SCCSA are improved by 26.17%, 46.16%, 65.26% and 96.69% respectively with ICSA, SCA, CSA and ABC. In the case of Kapur’s method, average PSNR values are compared with the SCCSA algorithm by 24.56% for ICSA, 48.57% for SCA, 69.37% for CSA and 96.08% for ABC algorithms.
The values of SSIM and FSIM are evaluated using eqs. (18 and 19) for each image of all algorithms with threshold numbers from 2 to 5 for the entropy methods of otsu’s and kapur’s. The obtained values of SSIM values is given in Table 8. The SSIM values for the image sample of boats as shown in Figs. 8 and 9 were obtained. These figures show that the SCCSA results in higher values than the rest of the algorithms, which means that the SCCSA algorithm is more sensitive to the threshold increase for the both methods. All other images tested have been observed with the same trend. Table 8 displays the FSIM values obtained. Then, the FSIM values for the sample of starfish image as depicted in Fig. 10 for the otsu’s method and Fig. 11 for kapur’s entropy are then tested for visual similarity between the original and the segmented images. With both methods, it is noteworthy that SCCSA produces higher FSIM values for all threshold levels. Similar findings were witnessed for all other images tested Table 9.
Calculating the CPU time required by any algorithm is important because real-time applications need rapid execution. Accordingly, the computational efficiencies of all algorithms are compared using the best CPU time (in seconds) required to converge on the solution as stated in in four different threshold levels is shown in Table 10. Since the comparison results of CPU time values in the proposed SCCSA are lower in both methods than those of ICSA, SCA, CSA and ABC algorithms. In regard of CPU time for SCCSA algorithm is primarily due to each search agent acquiring experience (exploration and exploitation mechanisms) from the population in the search region. This capability enables hybrid SCCSA to perform efficient searches within the search space and greatly reduce computation time. Although increasing the number of thresholds increases the CPU time of all algorithms, when compared to other algorithms, specifically the CPU time of SCCSA, it has the lowest growth time. The Mean values over 30 runs are provided by five algorithms for each image with threshold numbers from 2 to 5 in Table 11. In terms of mean, this parameter shows the average value of the objective function values during iterations, reflecting to some extent algorithm stability (Sun et al. 2017). The result of the Mean values is almost same when m = 2 and 3 threshold values. In SCCSA, when the m value is greater than 3, the mean value of the goal function is mostly higher than those of other algorithms. The proposed SCCSA therefore provides a more accurate segmentation of the images tested. In addition to checking the stability of the proposed SCCSA with four other algorithms, the values and standard deviation (i.e. STD) are calculated using Eq. (15) and given in Table 12. From the tabular findings, it was concluded that SCCSA apparently produced lower STD values more frequently with rest of other algorithms. The supported results are indicate that the SCCSA algorithm’s stability is better achieved.
Furthermore, a statistical based wilcoxon test is performed to compare the meaningful difference between the performances of five algorithms at a 5% significance level. Subsequently, the objective function values (both methods) of the SCCSA algorithm is compared with the other four algorithms, such as ICSA, SCA, CSA and ABC. The values of the two target functions are not considered to be significantly different in a null hypothesis. The alternative hypothesis takes into account both values and differences between the two methods. Typically adequate justification against the null hypothesis may be considered if p values are less than 0.05. The demonstrated test results of the wilcoxon test with p value for evaluation, and from Table 13, it is evident that SCCSA outperforms other algorithms in almost all test cases because of the p value <0.05, which proves to be more statistically significant. In addition, there is a considerable difference between SCCSA and the other four algorithms is observed. As a whole, the tabular findings of quantitative results and figures with proposed multilevel thresholding based SCCSA algorithm outperformed as compared with ICSA, SCA, CSA and ABC algorithms.
8 Conclusion and future work
In this work, we introduced a new hybrid sine cosine crow search algorithm for multilevel image thresholding using the objective functions of otsu’s and kapur’s. A standard 12 set of gray images were used for testing of proposed algorithm. The efficacy of the SCCSA algorithm was evaluated by testing and comparing algorithms (ICSA, SCA, CSA and ABC) for best threshold values, PSNR, SSIM, FSIM, and CPU time. Results show that the hybridized SCCSA algorithm can achieve very obvious superiority and competitive achievements in comparison to other algorithms in either method particularly in terms of qualitative and quantitative aspects. Further, the wilcoxon test results between SCCSA and other algorithms show that the difference with other algorithms is significant. Finally, the promising results showed that the proposed SCCSA hybrid algorithm is more feasible and easily implementable for gray image segmentation effectively. Although the findings are indicative of a good result with the proposed SCCSA algorithm, the aim of the analysis is not to generate a proposed algorithm that would be able to overcome all algorithms with the currently available algorithms, but to show that for this reason the SCCSA can be seen as an attracting alternative. Future work involves incorporating with other popular entropy-based segmentation methods such as Fuzzy entropy, Tsallis entropy, Minimal cross-entropy, Renyi entropy, Masi entropy and Shannon entropy for medical and satellite images.
References
Abualigah L, Al-Okbi NK, Elaziz MA, Houssein EH (2022) Boosting marine predators algorithm by Salp swarm algorithm for multilevel thresholding image segmentation. Multimed tools Appl 1–36. https://doi.org/10.1007/s11042-022-12001-3
Abualigah L, Ewees AA, Al-qaness MAA et al (2022) Boosting arithmetic optimization algorithm by sine cosine algorithm and levy flight distribution for solving engineering optimization problems. Neural Comput Applic 34:8823–8852. https://doi.org/10.1007/s00521-022-06906-1
Agrawal S, Panda R, Bhuyan S, Panigrahi BK (2013) Tsallis entropy based optimal multilevel thresholding using cuckoo search algorithm. Swarm Evol Comput 11:16–30. https://doi.org/10.1016/j.swevo.2013.02.001
Agrawal V, Rastogi R, Tiwari DC (2018) Spider monkey optimization: a survey. Int J Syst Assur Eng Manag 9:929–941. https://doi.org/10.1007/s13198-017-0685-6
Ahmadi M, Kazemi K, Aarabi A, Niknam T, Helfroush MS (2019) Image segmentation using multilevel thresholding based on modified bird mating optimization. Multimed Tools Appl 78:23003–23027. https://doi.org/10.1007/s11042-019-7515-6
Alwerfali HSN, Abd Elaziz M, Al-Qaness MAA et al (2019) A multilevel image thresholding based on hybrid salp swarm algorithm and fuzzy entropy. IEEE Access 7:181405–181422. https://doi.org/10.1109/access.2019.2959325
Askarzadeh A (2016) A novel metaheuristic method for solving constrained engineering optimization problems: crow search algorithm. Comput Struct 169:1–12. https://doi.org/10.1016/j.compstruc.2016.03.001
Aziz MAE, Ewees AA, Hassanien AE (2017) Whale optimization algorithm and moth-flame optimization for multilevel thresholding image segmentation. Expert Syst Appl 83:242–256. https://doi.org/10.1016/j.eswa.2017.04.023
Baby Resma KP, Nair MS (2021) Multilevel thresholding for image segmentation using krill herd optimization algorithm. J King Saud Univ - Comput Inf Sci 33:528–541. https://doi.org/10.1016/j.jksuci.2018.04.007
Bhandari AK, Kumar A, Singh GK (2015) Modified artificial bee colony based computationally efficient multilevel thresholding for satellite image segmentation using Kapur’s, Otsu and Tsallis functions. Expert Syst Appl 42:1573–1601. https://doi.org/10.1016/j.eswa.2014.09.049
Bhargava A, Bansal A (2018) Fruits and vegetables quality evaluation using computer vision: a review. J King Saud Univ - Comput Inf Sci https://doi.org/10.1016/j.jksuci.2018.06.002
Chakraborty F, Roy PK, Nandi D (2019) Oppositional elephant herding optimization with dynamic Cauchy mutation for multilevel image thresholding. Evol Intell 12:445–467. https://doi.org/10.1007/s12065-019-00238-1
Chen X, Huang H, Heidari AA, Sun C, Lv Y, Gui W, Liang G, Gu Z, Chen H, Li C, Chen P (2022) An efficient multilevel thresholding image segmentation method based on the slime mould algorithm with bee foraging mechanism: a real case with lupus nephritis images. Comput Biol Med 142:105179. https://doi.org/10.1016/j.compbiomed.2021.105179
Cuevas E, Sención F, Zaldivar D, Pérez-Cisneros M, Sossa H (2012) A multi-threshold segmentation approach based on artificial bee Colony optimization. Appl Intell 37:321–336. https://doi.org/10.1007/s10489-011-0330-z
Das S, Nayak GK, Saba L et al (2022) An artificial intelligence framework and its bias for brain tumor segmentation: a narrative review. Comput Biol Med 143:105273. https://doi.org/10.1016/j.compbiomed.2022.105273
Dehshibi MM, Sourizaei M, Fazlali M, Talaee O, Samadyar H, Shanbehzadeh J (2017) A hybrid bio-inspired learning algorithm for image segmentation using multilevel thresholding. Multimed Tools Appl 76:15951–15986. https://doi.org/10.1007/s11042-016-3891-3
Du E, Ives R, van Nevel A, She J-H (2011) advanced image processing for defense and security applications. EURASIP J Adv Signal Process 2010: https://doi.org/10.1155/2010/432972
Duan L, Yang S, Zhang D (2021) Multilevel thresholding using an improved cuckoo search algorithm for image segmentation. J Supercomput 77:6734–6753. https://doi.org/10.1007/s11227-020-03566-7
El Aziz MA, Ewees AA, Hassanien AE (2016) Hybrid swarms optimization based image segmentation. In: Hybrid soft computing for image segmentation. Springer International Publishing, Cham, pp 1–21
Ewees AA, Abd Elaziz M, Oliva D (2018) Image segmentation via multilevel thresholding using hybrid optimization algorithms. J Electron Imag 27:1. https://doi.org/10.1117/1.jei.27.6.063008
Fayaz S, Parah SA, Qureshi GJ (2022) Underwater object detection: architectures and algorithms – a comprehensive review. Multimed Tools Appl 81:20871–20916. https://doi.org/10.1007/s11042-022-12502-1
Gonzalez RC, Woods RE (2008) Digital image processing: international edition, 3rd edn. Pearson, Upper Saddle River, NJ
Grosan C, Abraham A (2007) Hybrid evolutionary algorithms: methodologies, architectures, and reviews. In: Hybrid evolutionary algorithms. Springer, Berlin Heidelberg, Berlin, Heidelberg, pp 1–17
Gupta S, Deep K (2020) Hybrid sine cosine artificial bee colony algorithm for global optimization and image segmentation. Neural Comput Applic 32:9521–9543. https://doi.org/10.1007/s00521-019-04465-6
Hammouche K, Diaf M, Siarry P (2010) A comparative study of various meta-heuristic techniques applied to the multilevel thresholding problem. Eng Appl Artif Intell 23:676–688. https://doi.org/10.1016/j.engappai.2009.09.011
Horng M-H (2010) Multilevel minimum cross entropy threshold selection based on the honey bee mating optimization. Expert Syst Appl 37:4580–4592. https://doi.org/10.1016/j.eswa.2009.12.050
Horng M-H, Liou R-J (2011) Multilevel minimum cross entropy threshold selection based on the firefly algorithm. Expert Syst Appl 38:14805–14811. https://doi.org/10.1016/j.eswa.2011.05.069
Jiang Z, Zou F, Chen D, Kang J (2021) An improved teaching–learning-based optimization for multilevel thresholding image segmentation. Arab J Sci Eng 46:8371–8396. https://doi.org/10.1007/s13369-021-05483-0
Kapur JN, Sahoo PK, Wong AKC (1985) A new method for gray-level picture thresholding using the entropy of the histogram. Comput Vis Graph Image Proc 29:273–285. https://doi.org/10.1016/0734-189x(85)90125-2
Karakoyun M, Gülcü Ş, Kodaz H (2021) D-MOSG: discrete multi-objective shuffled gray wolf optimizer for multi-level image thresholding. Eng Sci Technol Int J 24:1455–1466. https://doi.org/10.1016/j.jestch.2021.03.011
Khairuzzaman AKM, Chaudhury S (2017) Multilevel thresholding using grey wolf optimizer for image segmentation. Expert Syst Appl 86:64–76. https://doi.org/10.1016/j.eswa.2017.04.029
Khalilpourazari S, Pasandideh SHR (2020) Sine–cosine crow search algorithm: theory and applications. Neural Comput Applic 32:7725–7742. https://doi.org/10.1007/s00521-019-04530-0
Kotte S, Rajesh Kumar P, Injeti SK (2018) An efficient approach for optimal multilevel thresholding selection for gray scale images based on improved differential search algorithm. Ain Shams Eng J 9:1043–1067. https://doi.org/10.1016/j.asej.2016.06.007
Mahajan S, Mittal N, Pandit AK (2021) Image segmentation using multilevel thresholding based on type II fuzzy entropy and marine predators algorithm. Multimed Tools Appl 80:19335–19359. https://doi.org/10.1007/s11042-021-10641-5
Mlakar U, Potočnik B, Brest J (2016) A hybrid differential evolution for optimal multilevel image thresholding. Expert Syst Appl 65:221–232. https://doi.org/10.1016/j.eswa.2016.08.046
Mohan A, Poobal S (2018) Crack detection using image processing: a critical review and analysis. Alex Eng J 57:787–798. https://doi.org/10.1016/j.aej.2017.01.020
Mousavirad SJ, Ebrahimpour-Komleh H (2017) Multilevel image thresholding using entropy of histogram and recently developed population-based metaheuristic algorithms. Evol Intell 10:45–75. https://doi.org/10.1007/s12065-017-0152-y
Mousavirad SJ, Ebrahimpour-Komleh H (2020) Human mental search-based multilevel thresholding for image segmentation. Appl Soft Comput 97:105427. https://doi.org/10.1016/j.asoc.2019.04.002
Naji Alwerfali HS, AA Al-Qaness M, Abd Elaziz M et al (2020) Multi-level image thresholding based on modified spherical search optimizer and fuzzy entropy. Entropy (Basel) 22:328. https://doi.org/10.3390/e22030328
Otsu N (1979) A threshold selection method from gray-level histograms. IEEE Trans Syst Man Cybern 9:62–66. https://doi.org/10.1109/tsmc.1979.4310076
Ouadfel S, Taleb-Ahmed A (2016) Performance study of harmony search algorithm for multilevel thresholding. J Intell Syst 25:473–513. https://doi.org/10.1515/jisys-2014-0147
Ouadfel S, Taleb-Ahmed A (2016) Social spiders optimization and flower pollination algorithm for multilevel image thresholding: a performance study. Expert Syst Appl 55:566–584. https://doi.org/10.1016/j.eswa.2016.02.024
Rahkar Farshi T (2019) A multilevel image thresholding using the animal migration optimization algorithm. Iran J Comput Sci 2:9–22. https://doi.org/10.1007/s42044-018-0022-5
Renugambal A, Selva Bhuvaneswari K (2021) Kapur’s entropy based hybridised WCMFO algorithm for brain MR image segmentation. IETE J res 1–20. https://doi.org/10.1080/03772063.2021.1906765
Saranya K, Selva Bhuvaneswari K (2022) Semantic annotation of land cover remote sensing images using fuzzy CNN. Intell autom soft comput 33:399–414. https://doi.org/10.32604/iasc.2022.023149
Sarkar S, Sen N, Kundu A, das S, Sinha Chaudhuri S (2013) A differential evolutionary multilevel segmentation of near infra-red images using Renyi’s entropy. In: Advances in intelligent systems and computing. Springer, Berlin Heidelberg, Berlin, Heidelberg, pp 699–706
Sathya PD, Kayalvizhi R (2010) PSO-based Tsallis thresholding selection procedure for image segmentation. Int J Comput Appl 5:39–46. https://doi.org/10.5120/903-1279
Sathya PD, Kayalvizhi R (2011) Optimal multilevel thresholding using bacterial foraging algorithm. Expert Syst Appl 38:15549–15564. https://doi.org/10.1016/j.eswa.2011.06.004
Shen L, Fan C, Huang X (2018) Multi-level image thresholding using modified flower pollination algorithm. IEEE Access 6:30508–30519. https://doi.org/10.1109/access.2018.2837062
Singh Gill H, Singh Khehra B, Singh A, Kaur L (2019) Teaching-learning-based optimization algorithm to minimize cross entropy for selecting multilevel threshold values. Egypt Inform J 20:11–25. https://doi.org/10.1016/j.eij.2018.03.006
Tuba E, Alihodzic A, Tuba M (2017) Multilevel image thresholding using elephant herding optimization algorithm. In: 2017 14th International Conference on Engineering of Modern Electric Systems (EMES). IEEE
Yamini B, Sabitha R (2022) Image steganalysis: real-time adaptive colour image segmentation for hidden message retrieval and Matthew’s correlation coefficient calculation. Int J Inf Comput Secur 17:83. https://doi.org/10.1504/ijics.2022.121292
Ye Z, Zheng Z, Yu X, Ning X (2006) Automatic threshold selection based on ant colony optimization algorithm. In: 2005 International conference on neural networks and brain. IEEE
Ye Z-W, Wang M-W, Liu W, Chen S-B (2015) Fuzzy entropy based optimal thresholding using bat algorithm. Appl Soft Comput 31:381–395. https://doi.org/10.1016/j.asoc.2015.02.012
Yue X, Zhang H (2020) A multi-level image thresholding approach using Otsu based on the improved invasive weed optimization algorithm. Sig Imag Video Proc 14:575–582. https://doi.org/10.1007/s11760-019-01585-3
Zhou Y, Yang X, Ling Y, Zhang J (2018) Meta-heuristic moth swarm algorithm for multilevel thresholding image segmentation. Multimed Tools Appl 77:23699–23727. https://doi.org/10.1007/s11042-018-5637-x
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
The authors declare that they have no conflicts of interest to report regarding the present study.
Additional information
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Renugambal, A., Bhuvaneswari, K.S. & Tamilarasan, A. Hybrid SCCSA: An efficient multilevel thresholding for enhanced image segmentation. Multimed Tools Appl 82, 32711–32753 (2023). https://doi.org/10.1007/s11042-023-14637-1
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11042-023-14637-1