Next Article in Journal
Symmetry Analysis in Construction Two Dynamic Lightweight S-Boxes Based on the 2D Tinkerbell Map and the 2D Duffing Map
Previous Article in Journal
A New Possible Way to Detect Axion Antiquark Nuggets
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Detection of COVID-19: A Metaheuristic-Optimized Maximally Stable Extremal Regions Approach

by
Víctor García-Gutiérrez
,
Adrián González
*,
Erik Cuevas
,
Fernando Fausto
and
Marco Pérez-Cisneros
Departamento de Ingeniería Electro-Fotónica, Universidad de Guadalajara (CUCEI), Blvd. Marcelino García Barragán #1421, Guadalajara 44430, Mexico
*
Author to whom correspondence should be addressed.
Symmetry 2024, 16(7), 870; https://doi.org/10.3390/sym16070870
Submission received: 29 April 2024 / Revised: 20 June 2024 / Accepted: 28 June 2024 / Published: 9 July 2024
(This article belongs to the Special Issue Symmetry and Metaheuristic Algorithms)

Abstract

:
The challenges associated with conventional methods of COVID-19 detection have prompted the exploration of alternative approaches, including the analysis of lung X-ray images. This paper introduces a novel algorithm designed to identify abnormalities in X-ray images indicative of COVID-19 by combining the maximally stable extremal regions (MSER) method with metaheuristic algorithms. The MSER method is efficient and effective under various adverse conditions, utilizing symmetry as a key property to detect regions despite changes in scaling or lighting. However, calibrating the MSER method is challenging. Our approach transforms this calibration into an optimization task, employing metaheuristic algorithms such as Particle Swarm Optimization (PSO), Grey Wolf Optimizer (GWO), Firefly (FF), and Genetic Algorithms (GA) to find the optimal parameters for MSER. By automating the calibration process through metaheuristic optimization, we overcome the primary disadvantage of the MSER method. This innovative combination enables precise detection of abnormal regions characteristic of COVID-19 without the need for extensive datasets of labeled training images, unlike deep learning methods. Our methodology was rigorously tested across multiple databases, and the detection quality was evaluated using various indices. The experimental results demonstrate the robust capability of our algorithm to support healthcare professionals in accurately detecting COVID-19, highlighting its significant potential and effectiveness as a practical and efficient alternative for medical diagnostics and precise image analysis.

1. Introduction

The COVID-19 pandemic has had a profound and multifaceted impact on societies across the globe, reshaping daily life, economic structures [1], and global health systems in unprecedented ways. In addition to the immediate health crisis, which has resulted in millions of infections and a significant number of deaths, the pandemic has triggered widespread social and economic disruptions. While necessary for public health, lockdowns and social distancing measures have led to job losses, business closures, and educational interruptions, exacerbating existing inequalities and presenting new mental health challenges [2]. The pandemic has had a far-reaching impact on society, with consequences that will be felt for years to come.
Classical COVID-19 diagnostics [3] rely on molecular tests, like RT-PCR, for early virus detection in individuals, and serological tests to identify past infections and assess immunity levels. While RT-PCR is crucial for quick isolation and treatment, serological testing helps us to understand vaccine effectiveness and population immunity. Despite their importance in managing the pandemic through informed public health decisions and clinical care, these methods face challenges such as limited testing capacity and the need for specialized equipment [4].
Considering the difficulties associated with conventional COVID-19 detection methods [5], the scientific community has explored alternative approaches, with the analysis of lung X-ray images emerging as a particularly promising option [6]. Despite its growing acceptance, the visual assessment of COVID-19 through radiographic images presents several challenges [7], primarily due to the subtle and highly variable radiographic features associated with the disease. The manifestations of COVID-19 in X-ray images often resemble other lung conditions, complicating the task of differentiating them based on visual examination [8]. This diagnostic challenge is further compounded by the presence of coexisting diseases, the overlap of symptoms among different conditions, and the variability in the expertise and experience of radiologists [9]. Such factors collectively contribute to the complexity of achieving an accurate diagnosis through radiographic visual analysis, emphasizing the need for enhanced diagnostic tools and methodologies.
The utilization of image segmentation methodologies represents a significant advancement in the visual analysis of lung X-ray images, particularly in assisting with the detection of COVID-19 [10]. These methodologies are crucial in enabling the precise delineation and isolation of areas affected by the virus, thus facilitating an accurate evaluation of disease magnitude and severity. Image segmentation provides essential quantitative insights that support clinical decisions, treatment strategizing, and the tracking of patient progress [11]. Such techniques significantly enhance the capability to distinguish COVID-19 and other pneumonia-related conditions from unaffected lung tissue, minimizing the likelihood of diagnostic errors. The incorporation of automated segmentation processes not only augments the efficiency and consistency of analyses but also delivers critical assistance to healthcare professionals [12]. This support is instrumental for the prompt and precise identification of pneumonia cases, contributing to superior patient management and outcomes.
The need for segmenting COVID-19-related anomalies in chest X-rays or radiographs has driven the adoption of image processing and computer vision techniques [13]. These techniques involve using thresholding to differentiate infected tissues from healthy ones based on pixel intensity variations, edge detection to define lesion boundaries, and region growing to group together pixels with similar attributes. Recently, researchers have employed machine learning methods, including convolutional neural networks (CNNs), to automate the segmentation process in pneumonia diagnosis [14]. CNNs are trained on labeled datasets to identify patterns and features indicative of pneumonia [15], allowing for accurate and efficient segmentation [16]. By integrating these approaches, researchers and healthcare professionals can achieve reliable and precise segmentation of COVID-19 abnormalities in radiographic images [17]. UNet [18] is a popular CNN architecture used primarily for image segmentation, particularly in the field of medical image analysis. Its original design consists of an encoder and a decoder with a contracting path and an expansive path. Variants of UNet have been created to enhance the original architecture and adapt it to different segmentation tasks. Some notable variants include UNet++, ResUNet [19], and DenseUNet [20]. Several methods based on CNN and deep learning techniques have also been proposed for the detection of pulmonary diseases, such as [21,22]. Although CNN and deep learning methods have been effective in segmenting COVID-19 abnormalities in X-rays or chest radiographs, they have some notable limitations. CNNs typically require a significant amount of labeled training data, which can be scarce and costly to obtain, especially for rare pneumonia cases [23,24]. Additionally, CNNs may struggle with generalization when applied to diverse patient populations or different imaging settings, potentially leading to inconsistent segmentation results.
Alternative methods for segmenting X-ray images for COVID-19 detection often utilize metaheuristic algorithms [25,26]. These algorithms turn the segmentation problem into an optimization challenge, enabling the efficient exploration of various configurations until the best results are found. To evaluate the segmentation outcomes, an objective function is constructed to compare different solutions. Many COVID-19 detection systems that employ metaheuristic techniques are combined with deep-learning neural networks [27]. In these instances, the optimization focuses on determining the neural network parameters that yield the most effective segmentation results, with the objective function measuring the sum of errors between each training image and its segmented output. Various approaches using metaheuristic methods have been proposed in the literature, including Particle Swarm Optimization (PSO) [28], the Grey Wolf Optimizer (GWO) [29], the Firefly Algorithm (FF) [30], Genetic Algorithms (GA) [31], Cuckoo Search (CS) [32], Jellyfish Search (JS) [33], the Marine Predator Algorithm (MPA) [34], the Whale Optimization Algorithm (WOA) [35], artificial ecosystem optimization by means of fitness–distance balance (FDBAEO) [36], and the standard symbiotic organism search with the fitness–distance balance method (FDBSOS) [37]. Although these methods show promise, the process of collecting and labeling thousands of images with the help of human experts is time-consuming. Additionally, the limited availability of images often makes it challenging to gather a sufficiently large dataset for effective training.
Maximally stable extremal regions (MSER) [38] is a region detection method used in computer vision, designed to identify regions that remain consistent, or maximally stable, over a range of threshold values. These regions often correspond to meaningful objects or parts of objects within an image. MSER excels at detecting features in images where objects and the background have different intensities [39], making it challenging for other methods to identify them. In mathematical or physical contexts, symmetry refers to an object or system remaining unchanged under a specific set of operations. The MSER algorithm leverages this principle by detecting regions within images that maintain consistent properties despite variations in environmental conditions. This ability allows MSER to identify areas invariant to changes in scaling and lighting, enhancing its robustness in detecting significant features across various conditions. Such stability and invariance make MSER particularly effective in computer vision tasks [40] where consistent feature detection is crucial, regardless of external changes. Despite its effectiveness, configuring the MSER method’s parameters to achieve optimal region identification can be challenging [41]. These characteristics have led to MSER being used in diverse applications, including line structure detection [42], anomaly identification [43], and region detection [44].
The challenge in applying MSER for image segmentation, however, lies in their various input parameters, which are usually indicated by the user (including the step size for the intensity thresholds to test, the maximum area variation allowed for the algorithm to label a region as stable, or the minimum/maximum number of pixels required for a region to be considered “relevant”). As one may expect, the selection of these parameters yields different detection results, which are hard to judge without some congruent criterion; this is what prompts us to interpret this parameter setup problem as an optimization problem, in which MSER parameters are treated as decision variables related to a minimization problem, which considers both the image entropy “ H ” and the cluster quality index “ C ” of output images produced as a result of a given parameter setup (as illustrated in Section 4.2). With this new insight into the problem, we are allowed to use a wide variety of optimization algorithms (including metaheuristic methods, which have shown great results over a wide range of problems) to find optimal configurations of MSER parameters for different image cases (in our case, lung X-ray images).
Thus, the novelty of our proposed approach may be summarized as follows:
  • The interpretation of the parameter selection problem in MSER-based image segmentation as an optimization problem (including the definition of an appropriate objective function);
  • Proposing metaheuristic algorithms for solving the previously mentioned optimization problem;
  • The application of both of the points mentioned above to lung X-ray image segmentation as a means to facilitate diagnosis (with a special interest in COVID-19).
The rest of this paper is organized as follows: Section 2 describes the maximally stable extremal regions (MSER) algorithm. Section 3 discusses the metaheuristic methods used in this study. Section 4 presents the proposed approach. Section 5 discusses the experimental results. Section 6 discusses the complexity time and the accuracy in terms of the success rate. Finally, Section 7 presents the conclusions.

2. Maximally Stable Extremal Regions (MSER)

In this section, we explore the fundamental principles of the maximally stable extremal regions (MSER) algorithm [38], which forms the basis of our method for region detection. The MSER technique is based on a process similar to watershed segmentation, aimed at distinguishing regions of interest within a grayscale image. To formalize our discussion, let us consider a grayscale image I , defined by the function I : Ω [ 0 , , 255 ] , where Ω = [ 1 , , M ] × [ 1 , , N ] comprises all possible coordinates within the image. In the course of the MSER method, the intensity threshold t is adjusted from an initial value to a final value within the range of [ 0 , , 255 ] . This threshold serves to classify image pixels into two distinct groups: B (black), representing pixels with intensity values below the threshold, and W (white), representing those above it. By means of this binary classification, the MSER algorithm effectively pinpoints and isolates regions of the image that exhibit maximal stability across various threshold levels, thereby facilitating precise and accurate region detection.
As the threshold t is systematically adjusted from the minimum to the maximum intensity values, the composition of the two sets, B (black) and W (white), undergoes significant transformation. Initially, with t set at its minimum, all pixel positions are classified under W , rendering B empty, and the image appears entirely black. Upon gradually increasing t , isolated white spots begin to materialize within the black expanse, progressively expanding and coalescing as t further lowers. This dynamic expansion of white regions continues until, approaching the minimum threshold value, the once disjointed white areas unify into a single expanse, culminating in a fully white image—indicating that all pixels have transitioned to set W , leaving B devoid of any elements. Figure 1 illustrates this evolutionary process, showcasing the gradual changes in the image across various threshold levels, from dominantly black values to an entirely white one, marking the full spectrum of the thresholding effect.
The primary objective of the algorithm [39] is to identify regions within the image that exhibit maximal stability over the broadest possible range of threshold intervals. This concept is visually elucidated through the representation of a 3D image in Figure 2a, where the focus is placed on a profile or line that demonstrates intensity variations across a singular dimension. As depicted in Figure 2b, the contour—integral to the region earmarked for detection—endures across multiple intensity levels ( t 0 t f ) before becoming fully enveloped. The aggregation of these levels, constituting the interval for this specific profile, exemplifies a region of exceptional stability. Essentially, these regions are characterized by their ability to maintain their structural integrity over a wide range of intensity thresholds, signifying their significance and potential as stable features within the image. This approach underscores the algorithm’s capacity to pinpoint areas of interest that are not only prominent but also remarkably consistent, making them invaluable for subsequent analysis or processing steps.
The core of the MSER method lies in evaluating the stability of these extremal regions as the threshold varies. A region is deemed maximally stable if its relative area changes minimally over a sequence of threshold levels, indicating a high level of robustness against changes in lighting, perspective, and other imaging conditions. This stability criterion is quantitatively assessed, with the algorithm selecting those regions that meet predefined stability thresholds over the widest possible range of intensity values. The output of the MSER algorithm is a set of regions that are candidates for further analysis or feature extraction, chosen for their distinctiveness and stability, making them highly suitable for tasks such as object recognition, image matching, and tracking.
Maximally stable extremal regions (MSER) are areas of an image, which only insignificantly vary under threshold changes. Formally, a binarized region Q ( t ) is considered an extremal region if the growth rate function q ( t ) produces a high value. The rate function is modeled as follows:
q t = d d t   ( Q t ) Q ( t )
where d d t ( · ) represents the derivate of the region area over the threshold value t , and Q ( t ) symbolizes the number of pixels that the region Q t involves.
The MSER algorithm operates with several parameters that control completely its behavior and performance. Adjusting these parameters allows for tuning the MSER detector to better suit specific applications or types of images. The main parameters typically include Delta ( ), Minimum Area ( M i n A r e a ), Maximum Area ( M a x A r e a ), Max Variation ( M a x V a r i a t i o n ), Min Diversity ( M i n D i v e r s i t y ), and Edge Blur Size ( E d B l u ).
Delta ( ) determines the step size between intensity thresholds used to extract the extremal regions. A smaller delta value leads to more finely sampled thresholds, potentially detecting more regions but also increasing computational cost. M i n A r e a specifies the minimum size of detected regions. This parameter helps in filtering out regions that are too small and that might be considered noise and not meaningful features. It is usually set as a percentage of the total image area. M a x A r e a defines the maximum size of detected regions, preventing the selection of overly large regions that may encompass significant portions of the image. Like the minimum area, this is often specified as a percentage of the total image area. M a x V a r i a t i o n controls the variation in intensity within a region. It is a threshold for the stability criterion, where regions with a variation larger than this threshold are discarded. This parameter helps in distinguishing between stable regions and those that are too heterogeneous or not sufficiently cohesive. M i n D i v e r s i t y is used to filter out similar regions that are too close to each other in terms of their size. It ensures that the detected regions are diverse by eliminating those that are nearly identical, which helps in reducing redundancy among detected features. E d B l u determines the size of the kernel used for blurring the edges of the image before processing. Blurring can help in reducing the impact of noise and minor texture variations on the detection of extremal regions.
While the algorithm demonstrates good results, its efficacy is significantly influenced by the configuration of its parameters [45]. Achieving optimal results necessitates experimenting with a broad spectrum of parameter values, a process that can be both time-consuming and labor-intensive. This trial-and-error approach requires meticulous adjustment and testing of various combinations to identify the settings that best align with the desired performance criteria.

3. Metaheuristic Methods

A metaheuristic method [25] is a high-level problem-solving approach that applies heuristic strategies to explore and exploit the search space of complex optimization problems efficiently. These methods are designed to find good enough solutions to hard optimization problems within a reasonable timeframe, where finding the optimal solution might be impractical due to the problem’s size or complexity or the computational resources required [46]. No single metaheuristic algorithm can outperform all others across all possible problems. This inherent limitation underlies the reason why a wide array of metaheuristic techniques exist, each tailored to leverage specific problem structures or to embody unique search strategies. Consequently, different methods exhibit varying degrees of efficacy depending on the nature and characteristics of the problem at hand. For this reason, it is important to identify the metaheuristic method that presents the best results depending on the problem to be optimized. Popular examples of metaheuristic methods include Particle Swarm Optimization (PSO) [47], the Firefly Method (FF) [48], the Grey Wolf Optimizer (GWO) [49], and Genetic Algorithms (GA) [50]. Each of these methods employs a different strategy to navigate the search space, balancing between the exploration of new regions and the exploitation of known good areas to avoid local minima and strive toward globally acceptable solutions. In the following, these metaheuristic methods are described, as they are used to identify the best method for detecting anomalies presented in an X-ray image by the MSER method.

3.1. Particle Swarm Optimization (PSO)

The Particle Swarm Optimization (PSO) [47] method is a metaheuristic technique inspired by the social behavior of birds flocking or fish schooling. It is used to solve optimization problems by simulating a swarm of particles (or agents) that explore the search space to find optimal solutions. In PSO, each particle represents a potential solution to the optimization problem and moves through the search space influenced by its own experience and that of neighboring particles.
The search strategy of PSO is governed by two main equations. The velocity update equation and the position update equation. These equations determine how particles adjust their trajectories based on their experiences and those of their neighbors. The velocity update equation v i for each candidate solution i is modeled as follows:
v i k + 1 = w · v i k + c 1 · r 1 · ( p b e s t , i x i ( k ) ) + c 2 · r 2 · ( g b e s t x i ( k ) )
where v i k + 1 represents the velocity of particle i at iteration k + 1 , w is the inertia weight that controls the impact of the previous velocity on the current one, v i k is the velocity of particle i at iteration k , c 1 and c 2 are acceleration coefficients that control the influence of the personal best position ( p b e s t , i ) and the global best position ( g b e s t ) on the velocity update. r 1 and r 2 are random numbers between 0 and 1, x i ( k ) is the current position of particle i at iteration k . On the other hand, the position update equation for the candidate solution i is computed as follows:
x i k + 1 = x i k + v i k + 1
This equation updates the position for the next iteration ( k + 1 ) based on its current position x i k and its newly calculated velocity v i k + 1 . This step simulates the movement of the particle through the search space, allowing it to explore new areas for potential solutions.

3.2. Firefly Method (FF)

The Firefly Algorithm (FF) [48] is a metaheuristic optimization technique inspired by the flashing behavior of fireflies. The FF uses this behavior to move fireflies toward brighter (better) solutions, exploring the search space to find the global optimum. The search strategy of the FF Algorithm is primarily based on two key models: the attraction model and the movement equation.
The attractiveness of a firefly is determined by its solution quality (brightness), which decreases as the distance from other fireflies increases. The attractiveness β of a firefly can be modeled as follows:
β ( r ) = β 0 e γ r 2
where β 0 is the attractiveness at zero distance (i.e., its maximum value), γ is the light absorption coefficient that controls the decrease in light intensity, and r is the Euclidean distance between two solutions (fireflies).
The movement of a solution (firefly) toward another more attractive (brighter) firefly is governed by the following equation:
x i k + 1 = x i k + β r x j k x i k + α ( r a n d 1 2 )
where x i k + 1 is the position of the candidate solution i at time k + 1 , x i k and x j k are the positions of firefly i and another more attractive firefly j at time k , respectively, α is a parameter that adds a stochastic component to the movement, allowing exploration of the search space, r a n d is a random number generated from a uniform distribution in the range [0,1], and ½ ensures that the random movement can be in any direction. The combination of these equations allows fireflies to explore the search space by moving toward brighter individuals, simulating the natural attraction behavior observed in fireflies. This movement strategy, coupled with the stochastic components, enables the Firefly Algorithm to balance exploration and exploitation effectively, making it capable of finding global optima across a wide range of optimization problems.

3.3. Grey Wolf Optimizer (GWO)

The Grey Wolf Optimizer (GWO) [49] is a metaheuristic optimization algorithm inspired by the social hierarchy and hunting behavior of grey wolves in the wild. Grey wolves are known for their leadership structure and cooperative strategy during hunting, which the GWO algorithm mimics to solve optimization problems. The algorithm models grey wolves’ social hierarchy into four categories: Alpha ( α ), Beta ( β ), Delta ( δ ), and Omega ( ω ), where Alpha represents the best solution, followed by Beta and Delta as the second and third best solutions, respectively. The rest of the candidate solutions are considered Omega wolves.
Each wolf i updates its position x i relative to the position of the prey x p (the current best solution) using the following equations:
x i k + 1 = x p k A · D D = C · x p k x i k
where x i k + 1 is the position of the wolf i in the next iteration, x p k is the position of the prey, A and C are coefficient vectors, D is the distance between the wolf i and the prey p , and k is the current iteration.

3.4. Genetic Algorithms (GA)

Genetic Algorithms (GA) [50] are a class of evolutionary algorithms that mimic the process of natural selection and genetics to solve optimization and search problems. Each potential solution, often referred to as an individual, is encoded typically as a string of bits, characters, or numbers. The fundamental operations that involve the search strategy of GA are selection, crossover, and mutation.
Selection is an operation that mimics the survival of the fittest principle from natural selection. Individuals are selected based on their fitness (how well they solve the problem at hand) to reproduce and pass their genes to the next generation.
Crossover is an operation used to combine the genetic information of two parents to generate new offspring. This process introduces diversity into the population and allows for the creation of potentially better solutions.
Mutation introduces random changes to individual genes in an offspring to maintain genetic diversity within the population. It helps prevent the algorithm from becoming too homogeneous and getting stuck in local optima.

3.5. Artificial Ecosystem Optimization by Means of Fitness–Distance Balance (FDBAEO)

The artificial ecosystem optimization by means of the fitness–distance balance (FDBAEO) [36] model is a nature-inspired optimization algorithm tailored for engineering design optimization. It emulates the interactions and dynamics of natural ecosystems to explore and exploit the search space efficiently. In FDBAEO, candidate solutions, emulating species in an ecosystem, undergo processes such as reproduction, competition, and cooperation. The key aspect of this model is the balance between fitness (how good a solution is) and distance (how different a solution is from others), which helps in maintaining diversity and avoiding local optima. This balance is crucial for the algorithm’s global search capability and robustness. The most important equations in FDBAEO include the fitness evaluation function, f ( x ) , which quantifies the quality of a solution x , and the fitness–distance balance equation defined as follows:
F D B i = α · f x i + β · D ( x i )
where α and β are weighting factors, and D ( x i ) represents the distance of solution x i from others in the population. These equations drive the selection and evolution processes, ensuring that the population evolves toward optimal solutions while maintaining diversity.

3.6. The Standard Symbiotic Organism Search with the Fitness–Distance Balance Method (FDBSOS)

The FDB-based symbiotic organism search (FDBSOS) [37] is an advanced optimization technique that enhances the standard symbiotic organism search algorithm by integrating the fitness–distance balance (FDB) method. This hybrid approach aims to improve solution diversity and avoid premature convergence by balancing the fitness of solutions with their distance from one another. In the context of SOS, organisms (candidate solutions) interact through mutualism, commensalism, and parasitism phases, mimicking natural symbiotic relationships to evolve towards optimal solutions. The FDB method enhances this process by ensuring that selected organisms are both high-quality and diverse. To ensure that only the best individuals participate in the process, various selection mechanisms are used to select the best elements. These operations not only allow to obtain the best individuals but also promote diversity, thus avoiding premature convergence.

4. The Proposed Method

In this section, the methodology and computational framework of our proposed approach are described in detail, focusing on the utilization of the maximally stable extremal regions (MSER) method for the identification of anomalous regions indicative of COVID-19. The effectiveness of the MSER technique in delineating these characteristic regions is significantly influenced by the precise configuration of its parameters, which are intrinsically image-specific. Given this dependency, the task of region detection via MSER evolves into an optimization challenge, with the primary objective being the identification of an optimal set of MSER parameters. These parameters are essential for enhancing the algorithm’s capability to accurately identify relevant regions within the image. To achieve this, an objective function is utilized, designed to quantitatively assess the quality and representativeness of the detected regions, thereby guiding the optimization process toward the most effective parameter configuration for the MSER algorithm. This approach ensures a systematic and data-driven mechanism to maximize the algorithm’s efficiency in detecting regions potentially associated with the COVID-19 disease.

4.1. Problem Statement

In the proposed approach, the parameters of the MSER algorithm, once initialized, are iteratively modified by a metaheuristic optimization algorithm until the optimal value for the identification of abnormalities attributed to COVID-19 disease in X-ray images is reached.
The MSER algorithm operates with six parameters that completely control its behavior and performance. These parameters involve the Delta ( , x 1 ), Minimum Area ( M i n A r e a , x 2 ), Maximum Area ( M a x A r e a , x 3 ), Max Variation ( M a x V a r i a t i o n , x 4 ), Min Diversity ( M i n D i v e r s i t y , x 5 ), and Edge Blur Size ( E d B l u , x 6 ). Under these conditions, the decision variables are the six that will be represented by the vector x = ( x 1 , x 2 , x 3 , x 4 , x 5 , x 6 ) . To optimize these parameters, it is important to explore the entire configuration space. To perform this exploration, it is necessary to know the bounds within which the search space is constrained.
The minimal value of can be as low as one, indicating that the algorithm will evaluate every possible threshold level. Its upper limit is generally set based on practical considerations to avoid processing unnecessary threshold levels. A common upper limit might be around 25, as higher values might skip meaningful thresholds and reduce the sensitivity of the feature detection.
The values of the parameters M i n A r e a and M a x A r e a are expressed as percentages of the total image area. M i n A r e a could be as low as 0 % (in practice, a small positive percentage avoids detecting noise as a feature). The maximal value of M i n A r e a is often not more than 1 5 % of the total image area to avoid filtering out too many potential features. The minimal value of M a x A r e a is set slightly above M i n A r e a to ensure a range of area sizes are considered. Often, it might start at 1 5 % of the image area. The maximal value of M a x A r e a is set to a value within 50 % of the image area to prevent the selection of overly large, non-discriminative regions.
If the minimal value of M a x V a r i a t i o n is close to 0, it indicates a very strict requirement for region stability. In practice, a typical upper limit of M a x V a r i a t i o n might be around 0.5, as higher values would permit too much variation within a region, reducing the specificity of the feature detection.
The minimal value of M i n D i v e r s i t y is 0, indicating no requirement for diversity among detected regions (not commonly used, as it defeats the purpose of the parameter). Its maximal value can be up to one, with values closer to one enforcing greater diversity between the selected regions.
The E d B l u represents the size of the blur kernel, which is typically chosen based on the resolution of the image and the scale of features of interest. The minimal value E d B l u of is a kernel of 3 × 3 , whereas its maximal value is 9 × 9 .
Therefore, the objective of the proposed method is to identify the global solution for a nonlinear problem based on the formulation of an optimization problem, described as follows:
M i n i m i z e   J ( x )   x = ( x 1 , x 2 , x 3 , x 4 , x 5 , x 6 ) R 6 S u b j e c t   t o   x X
where J : R 6 R is a s i x -dimensional nonlinear function, and X represents the search space defined by 1 x 1 25 ,   0 x 2 5 ,   1 x 3 50 ,   0 x 4 0.5 ,   0 x 5 1 and x 6 3 , 5 , 7 , 9 .

4.2. Objective Function

The objective function plays a pivotal role, as it quantitatively evaluates the quality of potential solutions, serving as a guiding metric for the optimization process. The objective function assigns a value to each possible solution, reflecting how well it meets the optimization criteria. This valuation enables the differentiation between more and less desirable solutions, guiding the search toward the optimal solution by systematically comparing the outcomes of various candidate solutions. In optimization algorithms, particularly in metaheuristic methods, the objective function is crucial for directing the exploration and exploitation phases, ensuring that the algorithm’s adjustments to solution parameters are consistently aimed at improving the function’s value.
To measure the quality of the regions segmented by the MSER method generated by each set of parameters, an objective function J is defined that measures the quality of this segmentation. The objective function combines the value of the entropy H and the quality of the clustering of the segmented regions C .
The entropy H is used as a measure of the information content or the variability of pixel intensities within a region [51]. A correct division of regions typically features homogenous regions, where the pixel values are very similar, leading to lower entropy values. Conversely, poorly segmented regions, characterized by a mix of various pixel values, exhibit higher entropy due to the increased randomness and complexity in the distribution of pixel intensities. The entropy of an image is evaluated using an expression that quantifies the unpredictability or randomness of the pixel intensity levels. For region detection, the entropy H of a region can be calculated using the following expression:
H = i = 0 L 1 p ( i ) · l o g 2 ( p ( i ) )
where L is the number of intensity levels in the image (for an 8-bit grayscale image L = 256 ), p i represents the normalized histogram or the probability of occurrence of intensity level i within the identified region, l o g 2 denotes the logarithm to base 2, aligning with the information theory concept of entropy measured in bits.
The quality of the clustering C [42] is a metric that is important in evaluating the quality of image segmentation or the detected regions, as segmentation can be viewed as a form of clustering where pixels are grouped based on their similarities. This metric assesses how well the segmentation algorithm groups similar pixels together and separates dissimilar ones across different segments. To measure the quality of clustering in our approach, we will use the following expression:
C = i = 1 k x R i x μ i 2 α i = 1 k 1 j = i + 1 k μ i μ j 2
where R 1 , , R k denotes the set of regions identified by the MSER algorithm, k represents the total number of regions, and R i contains the pixels within region i . Here, x refers to an image pixel, and μ i is the centroid of region i . The notation · symbolizes the Euclidean distance, and α , a regularization parameter, adjusts the trade-off between intra-cluster compactness and inter-cluster separation (with a typical value of 0.6). In Equation (1), the objective of the first term is to minimize the total squared distances between each data point and the centroid of its respective cluster, thereby promoting highly compact clusters. Conversely, the second term, which is subtracted from the first, aims to maximize the distances between the centroids of different clusters, thus ensuring that each cluster is distinctly separated from the others. Therefore, the lower the value of C , the better the quality of the segmentation.
Once the entropy H and clustering quality C are defined, the objective function J used in our approach combines both elements as follows:
J = m i n ( H , C )
The combination of entropy and clustering quality metrics provides a dual perspective on segmentation quality. They allow for a balanced evaluation that not only focuses on the consistency of pixel intensities within each segment but also on the overall effectiveness of the segmentation in dividing the image into meaningful, well-defined parts.

4.3. Computational Procedure

In our proposed approach, the MSER method is used to detect anomalies in an X-ray image caused by COVID-19. For their correct detection, the optimal parameters of the algorithm are obtained through an optimization process. In order to identify the best metaheuristic optimization algorithm to solve this problem, four different methods have been proposed that use Particle Swarm Optimization (MSER-PSO), the Firefly Method (MSER-FF), the Grey Wolf Optimizer (MSER-GWO), Genetic Algorithms (MSER-GA), artificial ecosystem optimization and fitness–distance balance (MSER-FDBAEO), and the standard symbiotic organism search with the fitness–distance balance method (MSER-FDBSOS).
Typically, our methodology begins with the generation of an initial population of N candidate solutions x 1 , , x N . Each solution x i represents a set of parameters x i = ( x 1 , i , , x 6 , i ) that configurate the MSER method. These candidate solutions are then iteratively improved through various mechanisms depending on the used metaheuristic technique (PSO, FF, GWO, GA, FDBAEO, or FDB-SOS). Throughout the process, metaheuristics employ strategies to avoid getting trapped in local optima and to ensure a comprehensive search of the space. This is often achieved through adaptive mechanisms that adjust the search dynamics based on feedback from the current search state. Each iteration of the algorithm evaluates candidate solutions using the objective function J that quantifies how close a parameter set is to the optimal result. The iterative process continues until a stopping criterion is met, which could be a set number of iterations, a convergence threshold, or other problem-specific conditions. Figure 3 shows a representation of the process performed by the proposed methodology.

5. Experimental Results

In this section, we explore the experiments designed to evaluate the effectiveness of our methodology in detecting COVID-19 anomalies in X-ray images. These experiments involved a detailed analysis of visual characteristics and performance metrics using a dataset of various lung radiographs. We performed a comparative study to assess the efficacy of our approach. Due to space limitations, we present results from a subset of the dataset (extracted from https://www.kaggle.com accessed on 12 September 2022), specifically five digital lung images: three from healthy individuals and two from COVID-19 patients. Figure 4 shows the images that have been selected. In Figure 4, images 1–3 are images of healthy individuals and images 4 and 5 are images corresponding to individuals with COVID-19, which contain abnormalities.
In our experiments, we explored the effectiveness of combining the MSER method with four distinct metaheuristic algorithms—Particle Swarm Optimization (PSO) [47], Firefly (FF) [48], the Grey Wolf Optimizer (GWO) [49], Genetic Algorithms (GA) [50], artificial ecosystem optimization and fitness–distance balance (FDBAEO) [36], and the standard symbiotic organism search with the fitness–distance balance method (FDBSOS) [37]. This combination resulted in the creation of four detectors, MSER-PSO, MSER-FF, MSER-GWO, MSER-GA, MSER-FDBAEO, and MSER-FDBSOS. For comparative analysis, each metaheuristic method was configured with specific parameters, as detailed in Table 1. These parameter settings were selected based on recommendations from existing literature, where they are cited as enabling the best performance of the respective methods. Each metaheuristic was configured with the parameters listed in Table 1, which were selected because they allow the optimal performance to be reached according to their respective literature. This strategic configuration ensures that each combined approach utilizes optimized settings to effectively evaluate the detection capabilities of the MSER method enhanced by each metaheuristic algorithm. In Table 1, the FDBAEO and FDBSOS algorithms include a large number of parameters. Their values have been set to the same values suggested by their authors, as recorded in their own references.
In our comparative analysis, all metaheuristic methods were standardized to use the same number of search agents, specifically N = 20 , to ensure fairness and consistency across different algorithm performances. All experiments for this study were carried out utilizing MATLAB R2022b as the main computational platform. These experiments were executed on a computer system that featured an Intel Core i7 processor operating at 2.60 GHz, alongside 32 GB of RAM and an RTX 2070 graphics processing unit.
The experimental results of this study are divided into two main sections to evaluate the detection methods comprehensively. In the first section (Section 5.1), we performed a visual comparison of the image results to assess their visual consistency and coherence. This qualitative analysis is essential for evaluating the perceptual quality and efficacy of each detection method to produce visually meaningful and consistent results. The main objective of this evaluation was to accurately detect anomalies associated with COVID-19 in the images. In the subsequent section (Section 5.2), we shift the focus to quantitative assessment, where we compare the numerical results derived from the experiments. Here, we employ well-established indices to assess the quality and accuracy of the detection outcomes. This quantitative approach provides objective performance metrics, enabling precise evaluation of the efficacy of each method based on key image quality indicators. By integrating both visual and numerical assessments, our goal was to provide a comprehensive evaluation of the detection methodologies being tested, presenting a balanced view of their overall capabilities.

5.1. Visual Evaluation

In this subsection, we conduct a visual analysis of the results obtained from each algorithm under review. Our primary goal in this comparative study is to explore the effectiveness of the detection methods in accurately identifying regions showing anomalies related to COVID-19. The core of this visual comparison is to evaluate whether these methods can coherently and meaningfully pinpoint the lung areas impacted by COVID-19. To aid in this examination, Figure 5 and Figure 6 have been compiled to display the outcomes produced by the four algorithms across the five images used in our experiments. This visual representation allows for a direct and detailed assessment of the detection results, providing insights into each method’s capability to accurately capture and delineate the affected regions within the images.
Figure 5 displays the results achieved by the MSER-PSO, MSER-FF, MSER-GWO, MSER-GA, MSER-FDBAEO, and MSER-FDBSOS detection methods over healthy images. The original images depicted do not exhibit completely opaque areas but rather showcase many details that obscure the visualization of the underlying lung structures. This characteristic is typically indicative of healthy lung tissue, which is a common feature observed in the absence of abnormalities linked to viral infections like COVID-19. In radiographs of healthy lungs, such as those illustrated in Figure 5, the areas appear less dense and opaque compared to what is seen in cases of ground-glass opacities, where lung tissue becomes more solid due to the accumulation of fluids and inflammatory cells. Given these conditions, none of the methods—MSER-PSO, MSER-FF, MSER-GWO, MSER-GA, MSER-FDBAEO, and MSER-FDBSOS—detect abnormalities indicative of lung infection. Instead, all algorithms identify very small and granular regions that do not correspond to infected areas, demonstrating their current limitations in distinguishing affected lung tissue under these specific imaging conditions. In the images, the different colors represent the detected regions. Since in our method, the MSER algorithm, is executed many times until the optimal detection parameters are found, the regions appear with a different color, but the color has no special meaning.
Figure 6 presents the outcomes from the detection methods applied to radiographs of patients infected with COVID-19. These images feature opaque areas, which allow for a complete visualization of the underlying lung structures—a characteristic commonly observed in viral infections such as COVID-19. These opacities signify regions of inflammation and fluid accumulation, where the lung tissue becomes denser and more solid due to these pathological changes. Consequently, these areas exhibit increased homogeneity, particularly within the lung regions, due to the uniformity in density and opacity. Notably, all detection methods—MSER-PSO, MSER-FF, MSER-GWO, MSER-GA, MSER-FDBAEO, and MSER-FDBSOS—effectively identify the affected lung areas, confirming their utility in recognizing signs typical of COVID-19 infection. Among these, the MSER-FDBAEO and MSER-FDBSOS methods demonstrate the best visual results, showcasing their superior capability in accurately depicting the infected lung tissue in the provided radiographs.

5.2. Numerical Evaluation

Metaheuristic optimization algorithms are methods devised to solve optimization problems by deploying some specific search strategy, which could be very different from one algorithm to another. The differences in the search strategies deployed by each individual metaheuristic have always led to speculation about their performance over a wide range of different problems. There are many cases in the current literature where it has been demonstrated that some metaheuristics perform better over certain kinds of problems, whereas for others, they led to unfavorable results. When discussing the solutions delivered by metaheuristic optimization algorithms, one should always consider these as approximations to the optimal solution rather than a true optimal solution, and how well these solutions approximate the optimal solution is strongly dependent on how well a metaheuristic’s search strategy adapts to a given problem. With that being said, the difference in the parameter configurations found by each algorithm lies in the “quality” of the resulting segmented image, which is evaluated in terms of the objective function presented in Section 4.2 (The Entropy/Cluster Quality Function “ J ”). As per our experiments, the FDBSOS metaheuristic is the one that shows better minimization results over the proposed problem; thus, it should be assumed that the parameter configuration found by this method is the best among those delivered by all tested algorithms. The experiments were run 40 times for each method, and these statistical results are shown in Table 2.
To conduct a numerical assessment of the image detection results, we utilized a comprehensive suite of established quality indices, providing an objective measure of performance. This study incorporated a diverse array of metrics [52,53,54,55] to ensure a thorough evaluation of the detection quality and accuracy. The indices selected include the Peak Signal-to-Noise Ratio ( P S N R ), Normalized Absolute Error ( N A E ), Normalized Cross Correlation ( N C C ), Structural Similarity Index ( S S I M ), Feature Similarity Index ( F S I M ), Universal Image Quality Index ( U I Q I ), Quality Index Based on Local Variance ( Q I L V ), and Homogeneity Assessment of Region Roughness (HARR). Each of these metrics has been chosen for their demonstrated reliability in quantitatively and objectively assessing the quality of detection in images. By employing these metrics, we are able to precisely gauge the accuracy and fidelity of the detection outcomes, providing a solid and unbiased basis for evaluating the performance of the detection algorithms used in our study. This rigorous approach ensures that we can effectively compare and analyze the capabilities of different detection methods under consistent evaluation criteria.
To calculate the different indexes, an original image, defined as I 0 , is considered, whose dimensions are M × N . This image is used as the input of all detection methods. As a result, an image I D with the detected regions is generated. Various indexes are utilized to assess the discrepancies between the image that has been processed, I D , with detected regions and an image referred to as the ground truth, I G T , which is manually detected by human experts.
The Peak Signal-to-Noise Ratio ( P S N R ) is a widely accepted metric for evaluating the quality of detection in an image. It measures the amount of noise or distortion present in the image, in relation to ground truth image. A higher P S N R value indicates a lower degree of distortion or error, which suggests that the segmented image closely resembles the original. The PSNR is calculated as follows:
R M S E = i = 1 M j = 1 N I G T i , j I D i , j M · N P S N R = 20 l o g 10 255 R M S E
The performance index N A E is a quantitative metric used to assess the accuracy of image segmentation techniques. It evaluates the precision of detection by comparing the processed image I D to a reference or ground truth image I G T . This metric is particularly useful for determining how close the detection result is to the actual desired output. The value of the N A E is computed as follows:
N A E = i = 1 M j = 1 N I G T i , j I D i , j i = 1 M j = 1 N I G T i , j
The N C C is used to measure the similarity between two images—typically, the reference image (or ground truth I G T ) and the produced image I D . The N C C is especially useful in scenarios where precise alignment and similarity to a reference image are crucial. The values of the N C C range from 0 to 1. Zero indicates that the detected regions in I D do not align or correlate at all with the reference image I G T .
The value of one indicates that I D perfectly matches I G T in terms of their spatial intensity patterns. The value of the NCC is determined as follows:
N C C = i = 1 M j = 1 N ( I G T i , j μ G T ) · ( I D i , j μ D ) i = 1 M j = 1 N ( I G T i , j μ G T ) 2 · ( I D i , j μ D ) 2
where μ G T and μ D represent the mean values of the images I G T and I D , respectively. The S S I M method is a robust metric employed to evaluate the detection produced by the four methods in this study. The S S I M evaluates the structural similarity between the produced image I D and a reference image I G T . It considers several key factors, including luminance, contrast, and structure, to assess how effectively the segmented image preserves crucial structural information inherent in the reference image. A higher S S I M score signifies closer correspondence between the processed and reference images, signifying superior segmentation quality. The S S I M was computed as follows:
S S I M = 2 μ G T · μ D + C 1 2 σ G T · σ D + C 2 ( μ G T 2 + μ D 2 + C 1 )   ( σ G T 2 + σ D 2 + C 2 )
where σ D and σ G T corresponds to the standard deviation of images I D and I G T , respectively. C 1 and C 2 are two constants ( C 1 = C 2 = 0.065 ). The F S I M served as a metric to assess the quality of the segmented images. The F S I M evaluates structural and textural information within the processed image, which is achieved by comparing it to a reference image. In contrast to conventional metrics that predominantly consider luminance and structural factors, the F S I M places a strong emphasis on capturing the perceptual quality of a segmented image. A higher F S I M score denotes a closer resemblance between the processed image and reference image, indicating superior segmentation quality concerning the preservation of vital visual features and textures.
The U I Q I is a statistical metric used to evaluate the quality of a processed image by comparing its values with a reference or ground truth image. This index is also known as the Quality Index based on data correlation. The U I Q I is calculated using the following formula:
U I Q I = 4 · σ D , G T · μ G T · μ D ( μ G T 2 + μ D 2 )   ( σ G T 2 + σ D 2 )
where σ D , G T is the covariance between the processed I D and ground truth I G T images.
The Q I L V is designed to assess the quality of a processed image. This index is specifically useful for evaluating how well the detected regions preserve the local variance characteristics of the original image when compared to a reference or ground truth segmentation.
Q I L V = σ D , G T σ D 2 σ G T 2
The performance index H A R R is used to evaluate the homogeneity and roughness of the detected regions in an image. The H A R R assesses how uniformly textures or patterns are represented within segmented areas and how smoothly or roughly these areas transition in the context of the entire image. A low H A A R value means better quality of detected images, while a high value means worse quality.
In the experiments, each metaheuristic algorithm is employed to calibrate the MSER method. Given that metaheuristic algorithms are based on stochastic principles, the solutions they find can vary slightly with each execution. This variability is a characteristic of metaheuristic approaches, highlighting their capacity to explore diverse areas of the search space and potentially discover different yet valid parameter configurations for optimal calibration of the MSER method. To reduce the stochastic effect, the results are analyzed after running each algorithm 30 times on the same image. Table 3 presents a comprehensive comparison of the numerical results obtained by applying four different algorithms to five images labeled 1–5. The numerical values correspond to the averages found during the 30 executions. The performance indices used to evaluate the algorithms include the P S N R , N C C ,   S S I M , F S I M , U I Q I ,   a n d   Q I L V , where a closer approximation to one indicates superior performance. Conversely, indices such as the N A E and H A R R are more favorable when they approach zero, reflecting better accuracy in the detection process. According to the data summarized in Table 2, effective results across these indices suggest the detection of COVID-19. This inference is drawn from the ability of the MSER method to identify the lungs and other critical regions accurately, demonstrating a high degree of similarity between the algorithmically processed image and the reference image segmented by human experts. When the performance indices achieve better values, it indicates a probable diagnosis of COVID-19 in the patient. If the values are low, conversely, it suggests that the image is from a healthy patient without detectable anomalies.
The data presented in Table 3 clearly demonstrate that the MSER-FDBAEO and MSER-FDBSOS algorithms consistently outperform the other methods across a variety of evaluation metrics. Specifically, in terms of the P S N R ,   N A E , and N C C indices, these methods achieve the highest scores, indicating minimal distortion or error and thus a more accurate representation of the original image in the segmented version. Furthermore, the MSER-PSO and MSER-FF methods excel in the S S I M and F S I M indices, which evaluate the preservation of essential structural information that closely aligns with the reference image. This underscores their superior segmentation quality. In addition, MSER-FDBAEO and MSER-FDBSOS lead in the indices U I Q I ,   Q I L V , and H A R R , demonstrating an enhanced ability to maintain critical visual features and textures between the segmented and reference images, highlighting their advanced segmentation capabilities. These strong performance indicators collectively underscore the efficacy and reliability of the MSER-FDBAEO and MSER-FDBSOS methods in handling complex image segmentation tasks. In comparison, the MSER-PSO and MSER-FF methods rank second-best, showing commendable segmentation quality but not reaching the levels of MSER-FDBAEO and MSER-FDBSOS. Meanwhile, MSER-GA and MSER-GWO consistently perform the poorest, revealing significant shortcomings compared to the other methods. This comprehensive analysis not only highlights the superior performance of MSER-FDBAEO and MSER-FDBSOS but also provides valuable insights into the strengths and weaknesses of each method within the context of image detection, clearly illustrating the distinct advantages of each approach.
Three of the most important indices for measuring the quality of detected regions are P S N R ,   S S I M , and F S I M . Together, these metrics allow us to evaluate the image quality in terms of its main characteristics. To extend our analysis, we assessed the distribution of these three indices. Figure 7 illustrates these distributions for the (a) P S N R , (b) S S I M , and (c) F S I M indices. The distributions represent how each index is spread, with each algorithm’s index calculated as an average over 30 independent runs on each image. According to Figure 7a, the MSER-FDBAEO and MSER-FDBSOS methods clearly exhibit the highest P S N R values, indicating superior performance compared to the other methods. Figure 7b shows that the MSER-FDBAEO and MSER-FDBSOS algorithms also achieve better distribution and higher values in terms of the S S I M index, outperforming the other methods. Similarly, Figure 7c demonstrates that the MSER-FDBAEO and MSER-FDBSOS algorithms maintain the best numerical values for the F S I M index. These results collectively indicate that the MSER-FDBAEO and MSER-FDBSOS methods consistently produce the best performance across the P S N R ,   S S I M , and F S I M indices. The MSER-PSO and MSER-FF methods rank second, while the MSER-GWO and MSER-GA methods show the poorest distribution and numerical values.
The outstanding performance of the MSER-FDBAEO and MSER-FDBSOS methods can be attributed to the robust detection capabilities inherent in the maximally stable extremal regions (MSER) technique. These capabilities are significantly enhanced by precisely tuning the MSER parameters through metaheuristic optimization methods. It is important to note that not all metaheuristic algorithms deliver the same level of performance, as their effectiveness largely depends on the specific nature of the optimization problem and the characteristics of the search space involved. Consequently, our experiments have demonstrated that the FDBAEO and FDBSOS algorithms are particularly well-suited for this application. These methods excel in adapting to the complexities of the search space associated with optimizing the MSER parameters, leading to more accurate and reliable identification of anomalies in the images. This suitability makes FDBAEO and FDBSOS preferred choices for enhancing the detection strength of the MSER method in identifying features associated with COVID-19 in X-ray images.
Among all the indices used in this study, the F S I M index stands out as one of the most important because it evaluates both the structural and textural information of the processed image. This means it effectively measures the overall quality of the image produced with the detected regions. To statistically evaluate the performance of the methodologies compared in our study, we employed the Friedman ranking test [55]. The Friedman ranking test is a non-parametric statistical test, ideal for comparing and ranking multiple methods across various datasets or scenarios, especially when the normality assumption of the data is not met. This test provides a robust alternative to parametric tests like ANOVA. In the Friedman test, each method is ranked based on its performance within each dataset, with the best-performing method receiving a rank of 1, the second-best a rank of 2, and so on. If two methods exhibit identical performance, they are assigned the average of the ranks they would have occupied. Table 4 presents the results of the Friedman analysis, which takes into account the F S I M index values from Table 3. According to these results, the MSER-FDBAEO method achieves the best performance, followed by MSER-FDBSOS, while the other methods receive lower rankings, indicating poorer performance.

6. Time Analysis and Accuracy

This section extends the analysis to evaluate the performance of integrating MSER with various metaheuristic algorithms. The evaluation includes a detailed discussion of the computational time required by MSER and each metaheuristic algorithm. Additionally, the accuracy of each approach is assessed in terms of its success rate. This comprehensive analysis will provide insights into both the efficiency and effectiveness of the combined methods, highlighting the trade-offs between computational cost and detection accuracy.
All metaheuristic techniques produce new solutions using a diverse range of processes, from straightforward to intricate, each with varying computational requirements. Due to their stochastic components and complex structures, traditional complexity analysis is not practical for metaheuristic algorithms. To evaluate the efficiency of each method, an experiment was conducted in which each method was run with MSER on each image. The time taken in seconds to obtain the result was recorded. To reduce the impact of randomness, each function’s execution was repeated 30 times. The averaged inverted time values over all functions and their 30 executions are depicted in Figure 8. This analysis offers a comparative understanding of the computational efficiency of each method, emphasizing the differences in performance across different algorithms.
An analysis of Figure 8 reveals that the MSER-FDBAEO and MSER-FDBSOS methods achieve the shortest processing times, ranging between 34 and 36 s. This indicates that these approaches have highly efficient search mechanisms, enabling swift exploration of the search space. In contrast, the MSER-FF, MSER-GWO, and MSER-GA methods exhibit average processing times between 38 and 42 s, indicating a moderate level of efficiency. Finally, the MSER-PSO method has the longest processing time, exceeding 45 s, suggesting that while it may offer high accuracy, it does so at the cost of greater computational effort.
The success rate ( S R ) is a critical metric used to evaluate the performance of a classification process. It is defined as the percentage of correctly classified instances out of the total instances evaluated. This metric provides a straightforward measure of the classifier’s accuracy, indicating how well the model can identify the correct category or class for each instance. In the context of evaluating classification processes, the success rate plays a pivotal role as it directly reflects the model’s effectiveness in making accurate predictions. A high success rate implies that the classifier reliably distinguishes between different classes, which is essential for applications where precise classification is crucial. Conversely, a low success rate suggests that the model struggles to correctly classify instances, indicating a need for further refinement or alternative approaches. Therefore, the success rate serves as a fundamental indicator of a classification system’s overall performance and reliability.
Table 5 presents the success rate ( S R ) in the percentages of each metaheuristic approach combined with the MSER algorithm. According to the data, the MSER-FDBAEO and MSER-FDBSOS methods achieve the highest detection success rates for anomalous regions indicative of COVID-19. The MSER-PSO and MSER-FF methods exhibit average classification performance, while the MSER-GWO and MSER-GA methods have the lowest success rates. This indicates that MSER-FDBAEO and MSER-FDBSOS are the most effective in accurately identifying anomalous regions, whereas MSER-GWO and MSER-GA are less reliable in this classification task.

7. Conclusions

This study introduces a novel algorithm designed to detect abnormalities in X-ray images indicative of COVID-19 infection. This approach employs the maximally stable extremal regions (MSER) method for the precise detection of abnormal regions characteristic of the disease. To improve the accuracy of the MSER method, we employ an optimization process facilitated by a metaheuristic algorithm to select the optimal set of parameters for MSER. This optimization is achieved by examining various parameter configurations, where the effectiveness of each configuration is assessed based on an objective function that evaluates the entropy generated and the homogeneity within the detected regions.
We have evaluated our methodology utilizing a variety of metaheuristic algorithms—Particle Swarm Optimization (PSO), the Grey Wolf Optimizer (GWO), Firefly (FF), Genetic Algorithms (GA), artificial ecosystem optimization by means of fitness–distance balance (FDBAEO), and the standard symbiotic organism search with the fitness–distance balance method (FDBSOS)—to identify the most effective approach for our purposes. One of the significant advantages of our methodology is its efficiency; it does not necessitate the intensive process of collecting a large dataset of training images and meticulously labeling them to establish ideal outcomes. This is a notable characteristic of methods reliant on deep learning, which typically require extensive datasets and substantial computational resources for training. Our approach, instead, considers the inherent capabilities of metaheuristic algorithms to optimize the parameters of our detection system directly, thereby simplifying the preparatory stages and accelerating the overall process of anomaly detection in images. This makes our methodology not only effective but also more accessible and less resource-intensive, offering a practical alternative in scenarios where rapid deployment and ease of implementation are crucial.
Our proposed method has been extensively tested across multiple images, with its detection quality evaluated using several indices. The results from these tests show that our algorithm has a strong ability to support healthcare professionals in accurately detecting COVID-19, demonstrating its great potential and effectiveness.
Future research should explore a broader range of metaheuristic methods to determine which ones most effectively calibrate the MSER algorithm for detecting anomalous regions. Expanding the variety of metaheuristic algorithms tested could uncover more efficient and accurate calibration techniques. Additionally, extending the study to include more refined analytical tools would enhance the evaluation of each metaheuristic method’s capabilities. These advanced analytical elements would provide deeper insights into the effectiveness of different methods in improving region detection, ultimately leading to more precise and reliable outcomes.

Author Contributions

Conceptualization, A.G.; methodology, F.F. and M.P.-C.; software, V.G.-G.; validation, A.G., E.C. and F.F.; formal analysis, A.G., E.C. and F.F.; investigation, V.G.-G. and M.P.-C.; resources, V.G.-G. and M.P.-C.; data curation, V.G.-G. and M.P.-C.; writing—original draft preparation, V.G.-G., A.G., E.C. and F.F.; writing—review and editing, A.G., E.C. and F.F.; visualization, A.G., E.C. and F.F.; supervision, A.G.; project administration, A.G.; All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

Data available on request from the authors.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Mishra, N.P.; Das, S.S.; Yadav, S.; Khan, W.; Afzal, M.; Alarifi, A.; Kenawy, E.-R.; Ansari, M.T.; Hasnain, S.; Nayak, A.K. Global impacts of pre- and post-COVID-19 pandemic: Focus on socio-economic consequences. Sens. Int. 2020, 1, 100042. [Google Scholar] [CrossRef] [PubMed]
  2. van Mulukom, V.; Pummerer, L.J.; Alper, S.; Bai, H.; Čavojová, V.; Farias, J.; Kay, C.S.; Lazarevic, L.B.; Lobato, E.J.; Marinthe, G.; et al. Antecedents and consequences of COVID-19 conspiracy beliefs: A systematic review. Soc. Sci. Med. 2022, 301, 114912. [Google Scholar] [CrossRef] [PubMed]
  3. Pascarella, G.; Strumia, A.; Piliego, C.; Bruno, F.; Del Buono, R.; Costa, F.; Scarlata, S.; Agrò, F.E. COVID-19 diagnosis and management: A comprehensive review. J. Intern. Med. 2020, 288, 192–206. [Google Scholar] [CrossRef] [PubMed]
  4. Zhai, P.; Ding, Y.; Wu, X.; Long, J.; Zhong, Y.; Li, Y. The epidemiology, diagnosis and treatment of COVID-19. Int. J. Antimicrob. Agents 2020, 55, 105955. [Google Scholar] [CrossRef] [PubMed]
  5. Jamshaid, H.; Zahid, F.; Din, I.U.; Zeb, A.; Choi, H.G.; Khan, G.M.; Din, F.U. Diagnostic and Treatment Strategies for COVID-19. AAPS Pharmscitech 2020, 21, 222. [Google Scholar] [CrossRef] [PubMed]
  6. Rahman, T.; Khandakar, A.; Qiblawey, Y.; Tahir, A.; Kiranyaz, S.; Kashem, S.B.A.; Islam, M.T.; Al Maadeed, S.; Zughaier, S.M.; Khan, M.S.; et al. Exploring the effect of image enhancement techniques on COVID-19 detection using chest X-ray images. Comput. Biol. Med. 2021, 132, 104319. [Google Scholar] [CrossRef] [PubMed]
  7. Feki, I.; Ammar, S.; Kessentini, Y.; Muhammad, K. Federated learning for COVID-19 screening from Chest X-ray images. Appl. Soft Comput. 2021, 106, 107330. [Google Scholar] [CrossRef] [PubMed]
  8. López-Cabrera, J.D.; Orozco-Morales, R.; Portal-Diaz, J.A.; Lovelle-Enríquez, O.; Pérez-Díaz, M. Current limitations to identify COVID-19 using artificial intelligence with chest X-ray imaging. Health Technol. 2021, 11, 411–424. [Google Scholar] [CrossRef] [PubMed]
  9. Ahishali, M.; Degerli, A.; Yamac, M.; Kiranyaz, S.; Chowdhury, M.E.H.; Hameed, K.; Hamid, T.; Mazhar, R.; Gabbouj, M. Advance Warning Methodologies for COVID-19 Using Chest X-Ray Images. IEEE Access 2021, 9, 41052–41065. [Google Scholar] [CrossRef]
  10. Benmalek, E.; Elmhamdi, J.; Jilbab, A. Comparing CT scan and chest X-ray imaging for COVID-19 diagnosis. Biomed. Eng. Adv. 2021, 1, 100003. [Google Scholar] [CrossRef]
  11. Shen, J.; Zhang, C.J.P.; Jiang, B.; Chen, J.; Song, J.; Liu, Z.; He, Z.; Wong, S.Y.; Fang, P.-H.; Ming, W.-K. Artificial Intelligence Versus Clinicians in Disease Diagnosis: Systematic Review. JMIR Public Heal. Surveill. 2019, 7, e10010. [Google Scholar] [CrossRef] [PubMed]
  12. Enshaei, N.; Oikonomou, A.; Rafiee, M.J.; Afshar, P.; Heidarian, S.; Mohammadi, A.; Plataniotis, K.N.; Naderkhani, F. COVID-rate: An automated framework for segmentation of COVID-19 lesions from chest CT images. Sci. Rep. 2022, 12, 3212. [Google Scholar] [CrossRef] [PubMed]
  13. Arun Prakash, J.; Asswin, C.R.; Dharshan Kumar, K.S.; Dora, A.; Ravi, V.; Sowmya, V.; Gopalakrishnan, E.A.; Soman, K.P. Transfer learning approach for pediatric pneumonia diagnosis using channel attention deep CNN architectures. Eng. Appl. Artif. Intell. 2023, 123, 106416. [Google Scholar] [CrossRef]
  14. Kaya, Y.; Gürsoy, E. A MobileNet-based CNN model with a novel fine-tuning mechanism for COVID-19 infection detection. Soft Comput. 2023, 27, 5521–5535. [Google Scholar]
  15. Chen, S.; Ren, S.; Wang, G.; Huang, M.; Xue, C. Interpretable CNN-Multilevel Attention Transformer for Rapid Recognition of Pneumonia From Chest X-Ray Images. IEEE J. Biomed. Health Informatics 2023, 28, 753–764. [Google Scholar] [CrossRef] [PubMed]
  16. Sanghvi, H.A.; Patel, R.H.; Agarwal, A.; Gupta, S.; Sawhney, V.; Pandya, A.S. A deep learning approach for classification of COVID and pneumonia using DenseNet-201. Int. J. Imaging Syst. Technol. 2022, 33, 18–38. [Google Scholar] [CrossRef] [PubMed]
  17. AnbuDevi, M.K.A.; Suganthi, K. Review of Semantic Segmentation of Medical Images Using Modified Architectures of UNET. Diagnostics 2022, 12, 3064. [Google Scholar] [CrossRef] [PubMed]
  18. Zhou, Z.; Siddiquee, M.M.R.; Tajbakhsh, N.; Liang, J. UNet++: Redesigning Skip Connections to Exploit Multiscale Features in Image Segmentation. IEEE Trans. Med. Imaging 2019, 39, 1856–1867. [Google Scholar] [CrossRef] [PubMed]
  19. Diakogiannis, F.I.; Waldner, F.; Caccetta, P.; Wu, C. ResUNet-a: A deep learning framework for semantic segmentation of remotely sensed data. ISPRS J. Photogramm. Remote Sens. 2020, 162, 94–114. [Google Scholar] [CrossRef]
  20. Li, X.; Chen, H.; Qi, X.; Dou, Q.; Fu, C.W.; Heng, P.A. H-DenseUNet: Hybrid densely connected UNet for liver and tumor segmentation from CT volumes. IEEE Trans. Med. Imaging 2018, 37, 2663–2674. [Google Scholar] [CrossRef]
  21. Aiadi, O.; Khaldi, B. A fast lightweight network for the discrimination of COVID-19 and pulmonary diseases. Biomed. Signal Process. Control. 2022, 78, 103925. [Google Scholar] [CrossRef]
  22. Basu, A.; Sheikh, K.H.; Cuevas, E.; Sarkar, R. COVID-19 detection from CT scans using a two-stage framework. Expert Syst. Appl. 2021, 193, 116377. [Google Scholar] [CrossRef] [PubMed]
  23. Xue, X.; Chinnaperumal, S.; Abdulsahib, G.M.; Manyam, R.R.; Marappan, R.; Raju, S.K.; Khalaf, O.I. Design and Analysis of a Deep Learning Ensemble Framework Model for the Detection of COVID-19 and Pneumonia Using Large-Scale CT Scan and X-ray Image Datasets. Bioengineering 2023, 10, 363. [Google Scholar] [CrossRef] [PubMed]
  24. Cuevas, E.; Rodríguez, A. Metaheuristic Computation with MATLAB®; Informa UK Limited: London, UK, 2020. [Google Scholar]
  25. Ztürk, H.T.; Kahraman, H.T. Meta-heuristic search algorithms in truss optimization: Research on stability and complexity analyses. Appl. Soft Comput. 2023, 145, 110573. [Google Scholar] [CrossRef]
  26. Riaz, M.; Bashir, M.; Younas, I. Metaheuristics based COVID-19 detection using medical images: A review. Comput. Biol. Med. 2022, 144, 105344. [Google Scholar] [CrossRef] [PubMed]
  27. Júnior, D.A.D.; da Cruz, L.B.; Diniz, J.O.B.; da Silva, G.L.F.; Junior, G.B.; Silva, A.C.; de Paiva, A.C.; Nunes, R.A.; Gattass, M. Automatic method for classifying COVID-19 patients based on chest X-ray images, using deep features and PSO-optimized XGBoost. Expert Syst. Appl. 2021, 183, 115452. [Google Scholar] [CrossRef] [PubMed]
  28. Gopatoti, A.; Vijayalakshmi, P. CXGNet: A tri-phase chest X-ray image classification for COVID-19 diagnosis using deep CNN with enhanced grey-wolf optimizer. Biomed. Signal Process. Control 2022, 77, 103860. [Google Scholar] [CrossRef] [PubMed]
  29. Khadija, B. Automatic detection of COVID-19 using CNN model combined with Firefly algorithm. In Proceedings of the 2022 8th International Conference on Optimization and Applications (ICOA), Sestri Levante, Italy, 6–7 October 2022; pp. 1–4. [Google Scholar]
  30. Gülmez, B. A novel deep neural network model based Xception and genetic algorithm for detection of COVID-19 from X-ray images. Ann. Oper. Res. 2023, 328, 617–641. [Google Scholar] [CrossRef]
  31. Naik, M.K.; Swain, M.; Panda, R.; Abraham, A. Novel Square Error Minimization-Based Multilevel Thresholding Method for COVID-19 X-Ray Image Analysis Using Fast Cuckoo Search. Int. J. Image Graph. 2024, 24, 2450004. [Google Scholar] [CrossRef]
  32. Ramkumar, M.; Gowtham, M.; Jamaesha, S.S.; Vigenesh, M. Attention induced multi-head convolutional neural network organization with MobileNetv1 transfer learning and COVID-19 diagnosis using jellyfish search optimization process on chest X-ray images. Biomed. Signal Process. Control. 2024, 93, 106133. [Google Scholar] [CrossRef]
  33. Liu, B.; Nie, X.; Li, Z.; Yang, S.; Tian, Y. Evolving deep convolutional neural networks by IP-based marine predator algorithm for COVID-19 diagnosis using chest CT scans. J. Ambient. Intell. Humaniz. Comput. 2024, 15, 451–464. [Google Scholar] [CrossRef] [PubMed]
  34. Rachel, R.B.; Nehemiah, H.K.; Singh, V.K.; Manoharan, R.M.V. Diagnosis of Covid-19 from CT slices using Whale Optimization Algorithm, Support Vector Machine and Multi-Layer Perceptron. J. X-ray Sci. Technol. 2024, 32, 253–269. [Google Scholar] [CrossRef]
  35. Mahdy, A.; Shaheen, A.; El-Sehiemy, R.; Ginidi, A. Artificial ecosystem optimization by means of fitness distance balance model for engineering design optimization. J. Supercomput. 2023, 79, 18021–18052. [Google Scholar] [CrossRef]
  36. Kahraman, H.T.; Aras, S.; Gedikli, E. Fitness-distance balance (FDB): A new selection method for meta-heuristic search algorithms. Knowledge-Based Syst. 2020, 190, 105169. [Google Scholar] [CrossRef]
  37. Nistér, D.; Stewénius, H. Linear time maximally stable extremal regions. In Proceedings of the Computer Vision–ECCV 2008: 10th European Conference on Computer Vision, Marseille, France, 12–18 October 2008; Proceedings, Part II 10. Springer: Berlin/Heidelberg, Germany, 2008; pp. 183–196. [Google Scholar]
  38. Lee, M.H.; Park, I.K. Performance evaluation of local descriptors for maximally stable extremal regions. J. Vis. Commun. Image Represent. 2017, 47, 62–72. [Google Scholar] [CrossRef]
  39. Matas, J.; Chum, O.; Urban, M.; Pajdla, T. Robust wide-baseline stereo from maximally stable extremal regions. Image Vis. Comput. 2004, 22, 761–767. [Google Scholar] [CrossRef]
  40. Martins, P.; Carvalho, P.; Gatta, C. On the completeness of feature-driven maximally stable extremal regions. Pattern Recognit. Lett. 2016, 74, 9–16. [Google Scholar] [CrossRef]
  41. Chang, H.; Li, D.; Zhang, X.; Cui, X.; Fu, Z.; Chen, X.; Song, Y. Real-time height measurement with a line-structured-light based imaging system. Sensors Actuators A Phys. 2024, 368, 115164. [Google Scholar] [CrossRef]
  42. Arul, U.; Arun, V.; Rao, T.P.; Baskaran, R.; Kirubakaran, S.; Hussan, M.I.T. Effective Anomaly Identification in Surveillance Videos Based on Adaptive Recurrent Neural Network. J. Electr. Eng. Technol. 2024, 19, 1793–1805. [Google Scholar] [CrossRef]
  43. Atlas, L.G.; Arjun, K.; Kumar, K.S.; Dhanaraj, R.K.; Nayyar, A. Deep learning enabled hemorrhage detection in retina with DPFE and splat segmentation in fundus images. Biomed. Signal Process. Control. 2024, 88, 105692. [Google Scholar] [CrossRef]
  44. Tohidi, N.; Rustamov, R.B. Short overview of advanced metaheuristic methods. Int. J. Tech. Phys. Probl. Eng. (IJTPE) 2022, 14, 84–97. [Google Scholar]
  45. Joyce, T.; Herrmann, J.M. A review of no free lunch theorems, and their implications for metaheuristic optimisation. Nat. -Inspired Algorithms Appl. Optim. 2018, 744, 27–51. [Google Scholar]
  46. Eberhart, R.C.; Kennedy, J. A new optimizer using particle swarm theory. In Proceedings of the 6th International Symposium on Micro Machine and Human Science 1995, Nagoya, Japan, 13–16 March 1995; pp. 39–43. [Google Scholar]
  47. Johari, N.F.; Zain, A.M.; Noorfa, M.H.; Udin, A. Firefly Algorithm for Optimization Problem. Appl. Mech. Mater. 2013, 421, 512–517. [Google Scholar] [CrossRef]
  48. Mirjalili, S.; Mirjalili, S.M.; Lewis, A. Grey wolf optimizer. Adv. Eng. Softw. 2014, 69, 46–61. [Google Scholar] [CrossRef]
  49. Lambora, A.; Gupta, K.; Chopra, K. Genetic algorithm-A literature review. In Proceedings of the 2019 International Conference on Machine Learning, Big Data, Cloud and Parallel Computing (COMITCon), Faridabad, India, 14–16 February 2019; pp. 380–384. [Google Scholar]
  50. Zhang, H.; Fritts, J.E.; Goldman, S.A. Entropy-based objective evaluation method for image segmentation. In Storage and Retrieval Methods and Applications for Multimedia 2004; SPIE: Bellingham, WA, USA, 2003; Volume 5307, pp. 38–49. [Google Scholar]
  51. Ben-David, S.; Ackerman, M. Measures of clustering quality: A working set of axioms for clustering. In Proceedings of the Advances in Neural Information Processing Systems 21, Proceedings of the Twenty-Second Annual Conference on Neural Information Processing Systems, Vancouver, BC, Canada, 8–11 December 2008; pp. 121–128. [Google Scholar]
  52. Müller, D.; Soto-Rey, I.; Kramer, F. Towards a guideline for evaluation metrics in medical image segmentation. BMC Res. Notes 2022, 15, 210. [Google Scholar] [CrossRef]
  53. Taha, A.A.; Hanbury, A.; del Toro, O.A.J. A formal method for selecting evaluation metrics for image segmentation. In Proceedings of the 2014 IEEE International Conference on Image Processing (ICIP), Paris, France, 27–30 October 2014; pp. 932–936. [Google Scholar]
  54. Kumar, S.N.; Lenin Fred, A.; Ajay Kumar, H.; Sebastin Varghese, P. Performance metric evaluation of segmentation algorithms for gold standard medical images. In Recent Findings in Intelligent Computing Techniques: Proceedings of the 5th ICACNI 2017, Goa, India, 1–3 June 2017; Springer: Singapore, 2018; Volume 3, pp. 457–469. [Google Scholar]
  55. Friedman, M. A Comparison of Alternative Tests of Significance for the Problem of m Rankings. Ann. Math. Stat. 1940, 11, 86–92. Available online: http://www.jstor.org/stable/2235971 (accessed on 1 June 2024). [CrossRef]
Figure 1. Evolutionary process, showcasing the gradual changes in the image across various threshold levels.
Figure 1. Evolutionary process, showcasing the gradual changes in the image across various threshold levels.
Symmetry 16 00870 g001
Figure 2. Process of varying the threshold values that define a region as stable. (a) 3D representation of the image and (b) interval of threshold values from which a profile is stable.
Figure 2. Process of varying the threshold values that define a region as stable. (a) 3D representation of the image and (b) interval of threshold values from which a profile is stable.
Symmetry 16 00870 g002
Figure 3. Representation of the process performed by the proposed methodology.
Figure 3. Representation of the process performed by the proposed methodology.
Symmetry 16 00870 g003
Figure 4. Images used in the computational experiments; images 1–3 are images of healthy individuals and images 4 and 5 are images corresponding to individuals with COVID-19.
Figure 4. Images used in the computational experiments; images 1–3 are images of healthy individuals and images 4 and 5 are images corresponding to individuals with COVID-19.
Symmetry 16 00870 g004
Figure 5. Results achieved by the MSER-PSO, MSER-FF, MSER-GWO, and MSER-GA detection methods over healthy images.
Figure 5. Results achieved by the MSER-PSO, MSER-FF, MSER-GWO, and MSER-GA detection methods over healthy images.
Symmetry 16 00870 g005
Figure 6. Results from the detection methods applied to radiographs of patients infected with COVID-19.
Figure 6. Results from the detection methods applied to radiographs of patients infected with COVID-19.
Symmetry 16 00870 g006
Figure 7. Distributions for the (a) P S N R , (b) S S I M , and (c) F S I M indices.
Figure 7. Distributions for the (a) P S N R , (b) S S I M , and (c) F S I M indices.
Symmetry 16 00870 g007
Figure 8. Averaged computational time invested by each approach.
Figure 8. Averaged computational time invested by each approach.
Symmetry 16 00870 g008
Table 1. Parameter configuration of the metaheuristic techniques used in combination with MSER.
Table 1. Parameter configuration of the metaheuristic techniques used in combination with MSER.
AlgorithmParameters
PSO [47] N = 20 , c 1 = 2 , c 2 = 2 , ω = 0.4
FF [48] N = 20 , γ = 0.5 , β 0 = 1 , α = 0.5
GWO [49] N = 20 , a = ( 2,0 )
GA [50] N = 20 , p c = 0.9 , p m = 0.9 , selection method = roulette
FDBAEO [36]The parameter values have been configured according to [r1]
FDBSOS [37]The parameter values have been configured according to [r1]
Table 2. Numerical results for the objective function.
Table 2. Numerical results for the objective function.
Image 1Image 2Image 3Image 4Image 5
FFAVG2.78 × 10−32.74 × 10−32.79 × 10−32.73 × 10−32.72 × 10−3
STD2.76 × 10−32.74 × 10−32.79 × 10−32.73 × 10−32.72 × 10−3
MEDIAN1.20 × 10−31.10 × 10−31.40 × 10−31.00 × 10−31.90 × 10−3
GAAVG2.28 × 10−32.17 × 10−32.28 × 10−32.28 × 10−32.17 × 10−3
STD1.76 × 10−48.82 × 10−41.76 × 10−41.76 × 10−48.82 × 10−4
MEDIAN2.20 × 10−32.10 × 10−32.20 × 10−32.20 × 10−32.10 × 10−3
PSOAVG2.78 × 10−32.74 × 10−32.79 × 10−32.73 × 10−32.72 × 10−3
STD2.76 × 10−32.74 × 10−32.79 × 10−32.73 × 10−32.72 × 10−3
MEDIAN1.20 × 10−31.10 × 10−31.40 × 10−31.00 × 10−31.90 × 10−3
GWOAVG2.28 × 10−32.17 × 10−32.28 × 10−32.28 × 10−32.17 × 10−3
STD1.76 × 10−48.82 × 10−41.76 × 10−41.76 × 10−48.82 × 10−4
MEDIAN2.20 × 10−32.10 × 10−32.20 × 10−32.20 × 10−32.10 × 10−3
FDBAEOAVG1.08 × 10−31.08 × 10−31.31 × 10−31.31 × 10−31.10 × 10−3
STD1.10 × 10−41.10 × 10−42.79 × 10−52.79 × 10−51.10 × 10−4
MEDIAN1.00 × 10−31.00 × 10−31.30 × 10−31.30 × 10−31.10 × 10−3
FDBSOSAVG1.08 × 10−31.31 × 10−31.31 × 10−31.31 × 10−31.31 × 10−3
STD1.10 × 10−42.79 × 10−52.79 × 10−52.79 × 10−52.79 × 10−5
MEDIAN1.00 × 10−31.30 × 10−31.30 × 10−31.30 × 10−31.30 × 10−3
Table 3. Numerical results obtained by applying four different algorithms to five images labeled 1–5.
Table 3. Numerical results obtained by applying four different algorithms to five images labeled 1–5.
Image P S N R N A E N C C S S I M F S I M U I Q I Q I L V H A R R
MSER-PSOImage 122.400.39720.89980.83200.87110.78840.60900.8420
Image 220.200.39400.88880.81730.84120.73790.68300.8810
Image 321.980.38200.70920.82440.83100.79880.68400.8822
Image 424.160.26300.98630.96440.98270.98450.89880.4261
Image 524.300.28720.99400.94420.94220.98840.89200.4620
Averaged22.600.34460.89560.87640.89360.85960.75330.6986
MSER-FFImage 123.180.37940.80420.79200.83400.66990.67420.8800
Image 223.990.40870.78200.78300.87200.77200.76400.8840
Image 323.610.38640.70370.89400.87400.66370.76300.8840
Image 423.630.24000.90400.86190.91990.88400.87400.5820
Image 524.500.24090.89870.88490.94480.86870.86980.5920
Averaged22.680.33100.81850.84310.88880.77160.78900.7644
MSER-GWOImage 120.460.77610.78880.72200.74530.84020.79980.7840
Image 221.990.74120.77870.74400.74270.73000.79930.7920
Image 321.790.78410.67400.78400.74450.80000.79940.7979
Image 422.400.40270.87630.89030.89300.90200.87980.4244
Image 523.790.41710.82770.89060.94420.90080.89770.4261
Averaged22.080.62420.78910.80610.81390.83460.83520.6448
MSER-GAImage 119.400.57100.64200.60400.63900.60880.69900.8840
Image 219.730.59000.54900.69000.64400.63700.69930.9920
Image 319.210.58200.62400.57200.64200.69840.68830.8840
Image 422.850.37200.71200.79000.84590.80840.88970.5720
Image 522.370.30000.79620.80400.86660.83400.89990.5261
Averaged20.710.48300.66460.69200.72750.71730.77520.7716
MSER-FDBAEOImage 123.200.42400.90870.98490.94280.76970.81980.7810
Image 223.630.42000.97400.96190.91290.78400.81400.7220
Image 323.610.42860.99370.92400.87200.86220.718300.7910
Image 423.990.41080.90100.94300.97200.83000.76400.2820
Image 523.180.47790.90420.93200.83200.84020.77420.4200
Averaged23.520.43220.93630.94910.91630.81720.77800.5992
MSER-FDBSOSImage 123.100.32400.47870.88490.94280.83970.79980.8710
Image 223.620.42000.84400.87190.92190.72420.79300.8420
Image 323.610.42860.97370.92420.97400.86220.78420.8310
Image 423.990.41080.88100.98300.97030.86000.83400.8420
Image 523.180.37790.80420.89020.82200.89020.89420.8200
Averaged23.510.39220.79630.91080.90620.83520.80100.8412
Table 4. Friedman test ranking results of the F S I M values from Table 3.
Table 4. Friedman test ranking results of the F S I M values from Table 3.
AlgorithmRankingMean Value
MSER-FDBAEO15.607121
MSER-FDBSOS25.201473
MSER-PSO34.892410
MSER-FF44.552140
MSER-GWO53.788974
MSER-GA63.571401
Table 5. The success rate ( S R ) in the percentages of each metaheuristic approach combined with the MSER algorithm.
Table 5. The success rate ( S R ) in the percentages of each metaheuristic approach combined with the MSER algorithm.
AlgorithmSR
MSER-FDBAEO94.25%
MSER-FDBSOS92.14%
MSER-PSO89.62%
MSER-FF85.68%
MSER-GWO70.11%
MSER-GA65.74%
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

García-Gutiérrez, V.; González, A.; Cuevas, E.; Fausto, F.; Pérez-Cisneros, M. Detection of COVID-19: A Metaheuristic-Optimized Maximally Stable Extremal Regions Approach. Symmetry 2024, 16, 870. https://doi.org/10.3390/sym16070870

AMA Style

García-Gutiérrez V, González A, Cuevas E, Fausto F, Pérez-Cisneros M. Detection of COVID-19: A Metaheuristic-Optimized Maximally Stable Extremal Regions Approach. Symmetry. 2024; 16(7):870. https://doi.org/10.3390/sym16070870

Chicago/Turabian Style

García-Gutiérrez, Víctor, Adrián González, Erik Cuevas, Fernando Fausto, and Marco Pérez-Cisneros. 2024. "Detection of COVID-19: A Metaheuristic-Optimized Maximally Stable Extremal Regions Approach" Symmetry 16, no. 7: 870. https://doi.org/10.3390/sym16070870

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

Article Metrics

Article metric data becomes available approximately 24 hours after publication online.
Back to TopTop