Next Article in Journal
Multi-Scale Aggregation Stereo Matching Network Based on Dense Grouping Atrous Convolution
Previous Article in Journal
Trajectory Planning in Robot Joint Space Based on Improved Quantum Particle Swarm Optimization Algorithm
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Novel Guided Box Filter Based on Hybrid Optimization for Medical Image Denoising

Department of Electronics and Communication Engineering, Maulana Azad National Institute of Technology, Bhopal 462003, India
*
Author to whom correspondence should be addressed.
Appl. Sci. 2023, 13(12), 7032; https://doi.org/10.3390/app13127032
Submission received: 18 May 2023 / Revised: 5 June 2023 / Accepted: 7 June 2023 / Published: 11 June 2023

Abstract

:
Medical image denoising is a crucial pre-processing task in the medical field to ensure accurate analysis of anomalies or sicknesses in the human body. Digital filters are popular for reducing undesired noise as they provide reliability, high accuracy, and reduced sensitivity to component tolerances compared to analog filters. However, conventional digital filter design approaches lack efficiency in achieving global optimization robustness. To overcome these incapabilities, this paper adopted bio-inspired optimization algorithms to offer viable digital filter designing tools because of their simple implementation and requirement of a few parameters to control their convergence. This research article explores a hybrid strategy that combines a novel guided decimation box filter (GDBF) with a hybrid cuckoo particle swarm optimization (HCPSO) algorithm to design a denoising filter for medical images. It is the first time a decimation box filter has been used for denoising, leading to novelty. The HCPSO algorithm is applied to obtain the filter parameters optimally. Medical images mostly suffer from four types of noises. The performance of the proposed filter is analyzed for these types of noise. To highlight the importance of parameter selection, the results of the proposed method are compared with other recently utilized bio-inspired genetic algorithms, such as PSO (particle swarm optimization), CS (cuckoo search), and FF (firefly). The superiority (potency) of the proposed method has been established by calculating the improvement in quality parameters such as the peak signal-to-noise ratio (PSNR), structure similarity index (SSIM), and feature similarity index (FSIM). The proposed filter achieved the highest PSNR (~35.7 dB), SSIM (~0.95), and FSIM (~0.92) and proved its numerical and visual quality efficacy over state-of-the-art models.

1. Introduction

The medical field has entered its digital era. The usage of digital image processing in the medical field has increased in the last two decades. It has been utilized in image acquisition, image transfer, noise removal, pre-processing, channel equalization, image restoration, interference identification, the detection of diseases, etc. In biomedical applications such as CT scans, X-rays, magnetic resonance imaging (MRI), etc., digital filters are commonly used [1,2]. Digital filters are applied in several application areas, such as denoising [3], super-resolution [4], image enhancement [5], and EEG signal processing [6]. Medical images are acquired by different methods such as X-rays, MRI, CT scans, and ultrasounds to identify a disease or its severity. Correct information leads to correct prognosis and treatment. Noise may occur in medical images during the capture phase. This can be caused by environmental impacts or faults in the image acquisition system, such as changes in sensor’s sensitivity with varying temperatures. It is quite a challenging task to eliminate noise from the captured medical images without knowledge of which type of noise has occurred. Gaussian noise, Poisson noise, salt and pepper noise (impulse noise), and speckle noise are some examples of noise that distorts the textural information in images.
There are different techniques for designing digital filters, and each one has its pros and cons. Conventional methods such as the least squares (LS) technique [7] are used to design a digital filter for error reduction, but it results in some discontinuity. To further minimize these problems, Chebyshev approximation-based filters were introduced [8]. The error surfaces that are produced by digital filter architectures are often multimodal with regard to the filter coefficients. Because of this characteristic, traditional derivative-based learning algorithms, such as least mean squares, have a high likelihood of being stuck in local minima when attempting to solve optimization problems of this kind. Traditional recursive approaches not only converge to a local minimum, but they also have difficulty with stability and a slow convergence rate and see their performance drastically worsen [9]. Therefore, bio-inspired algorithms are the best approach for better convergence towards local minima and global minima [10]. Ramon et al. [11] presented a model for modifying the traditional reconstruction filters for medical image denoising. However, the designed filter cannot handle quantization noise. Sridhar et al. [12] proposed an adaptive bilateral filter using the backtracking optimized search algorithm in which the sharpness of edges is considered as the optimization parameter. Bhonsle et al. [13] used enhanced grasshopper optimization for denoising medical images. However, this approach was computationally expensive when compared to edge-preserving smoothing. Then, Sam and Fred [14] designed hybrid filters with a combination of filters. The firefly technique was then used to evaluate the filtered output image of artificial neural network systems to determine the precise image information. The lack of internal memory was a drawback since it may cause an early convergence to the local optimum. Other hybrid-optimization-based filters are designed by combining the swarm-based dragonfly (DF) and modified firefly (MFF) algorithms [15]. Malekzadeh et al. [16] proposed an algorithm based on shared latent space specifically for PET images. Boudjelaba et al. [17] presented a hybrid genetic algorithm (HGA) for creating digital filters. HGA filters may incur the drawback of requiring additional memory and/or computation to produce a certain filter response characteristic. Another hybrid-optimization-based filter was designed by utilizing genetic and particle swarm optimization (PSO) [18]. The shift and spacing in the model space were optimized using a particle swarm technique [19]. Instead of partitioning the model space progressively into smaller meshes, this approach searches the model space using a set of particles. It has been used to quickly converge to the best spacing and shift for pairs of analytical functions. Dash et al. [20] designed three distinct kinds of digital linear phase multiband stop filters using the swarm and evolutionary methods. The filter used in the work has limitations in that it attenuates the frequencies that are below the cutoff range. Ababneh and Khodier [21] proposed the cuckoo search (CS) optimization technique to improve the magnitude and linearity of the phase response, leading to better denoising of medical images. The main issue in medical image denoising is to preserve the feature quality for disease diagnosis, such as tumor detection [22]. Some researchers have also presented hybrid bio-inspired algorithms [23,24,25,26,27] for image denoising. Javaid et al. [23] explored the use of a hybrid approach of bio-inspired algorithms such as cuckoo’s search and curvelet transform. Curvelet transform was adopted to represent the sparse pixel information and edges. Then, the CS algorithm was used to optimize the denoising coefficients while preserving the structural and morphological information of the images. Li et al. [28] introduced the guided digital filter. Motivated by these filters, the researcher used the digital filter for medical images such as retinal images [29], MRI [30], and ultrasound images [31]. Zhang et al. [32] then presented a hybrid CNN model for removing Gaussian noise. Vasudevan et al. [33] presented a hybrid approach modified cuckoo search algorithm. Asokan and Anitha [34] also hybridized the cuckoo search algorithm with a bilateral filter for medical image denoising. Sun et al. [35] presented PET image denoising using a deep-learning denoising method known as DeepRED. Gong et al. [36] presented unsupervised deep learning using deep neural networks (DNN) for MR image denoising. Miri et al. [37] used ant colony optimization (ACO) with two-dimensional discrete cosine transform for medical denoising. Satapathy and Das proposed medical denoising using Bi-dimensional Empirical Mode Decomposition (BEMD) [38]. S. A. Akar used a bilateral filter with a genetic algorithm (BF-GA) for MR image denoising [39]. Sudeep et al. [40] used the linear minimum mean square error method (LMMSE) for principal component analysis (PCA) to remove noise from an image. Therefore, motivated according to the research contributions provided by researchers, this paper explored bio-inspired optimization algorithms to provide edge-preserved denoising for medical images as a feasible solution. In this regard, the key contributions of this paper are:
  • This paper presented a novel hybrid optimization-guided decimation box filter for image denoising filters. Till now, a decimation box filter has never been used for denoising and this leads to novelty.
  • The designed HCPSO is application independent approach that is capable of handling multiple noise types, such as Gaussian, Poisson, Speckle, and salt and pepper noises.
  • The use of HCPSO in noise removal ensures improved efficiency, as HCPSO facilitates optimization.
  • The resulting analysis shows the ablation study on convergence criteria of different bio-inspired optimization algorithms. This paper also presents a result analysis with the variable noise level and decimation box size.
  • The proposed algorithm has low computational complexity because it only involves basic arithmetic operations on the image pixels.
Therefore, this paper aims to design a denoising filter for medical images using a novel decimation box filter guided using a bio-inspired optimization hybrid algorithm to reduce the error caused by different noises. The design of the filter and optimization algorithm is achieved in MATLAB. The complete framework is discussed. The proposed novel filter is tested on three different datasets and four different noises to show its better performance over other existing states-of-art denoising filters.
The remaining paper is divided into the following sections: Section 2 provides a brief description of digital FIR filters and the application of bio-inspired optimization algorithms for designing digital filters. Additionally, different noises present in medical images are discussed. Section 3 presents the proposed hybrid model to design an optimization-based guided decimation box filter (GDBF) for medical image denoising. Section 4 presents the implementation details and the results of the analysis for the implemented model. This section also presents the ablation study and comparative state-of-the-art models. Finally, in Section 5, the conclusion and future scope of the paper are presented.

2. Digital Filter as Bio-Inspired Optimization Problem

Multi-rate systems are those that function normally but sample data at a variety of different rates at various points during processing. The sampling frequency can change dynamically during signal processing in multi-rate systems [2]. Decimation and interpolation are the two primary procedures utilized by multi-rate systems. The process of decreasing the sampling frequency to a lower sample frequency that is distinct from the initial frequency by an integer value is referred to as decimation. The process of decimation is often referred to as down-sampling. Below, in Figure 1, the p-fold decimation filter is presented. The filter is designed using a low-pass filter (such as FIR filter) for anti-aliasing followed by p-fold decimators to suppress the frequency f s / 2 p , termed the Nyquist frequency. Every p t h sample is passed through the filter and others are discarded. Afterward, the sampling frequency is changed to f s / p   and returns output as y n , where f s is the sampling frequency of the input signal, i.e., x n .
The bio-inspired optimization algorithm aims to determine a set of coefficients ( c ), c R M , for achieving desired characteristics by specifically designed filters. The main objective of an optimization-based filter is to find and reduce the error between the filter’s ideal frequency response ( F I ) and the desired frequency response ( F D ) by updating the coefficient iteratively. Mathematically, it is represented as
E r r c ( e j ω ,   c ) = F I ( e j ω ) F D ( e j ω )
As calculated, E r r c is complex.
There are several conventional approaches for designing digital decimation filters, such as windowing techniques, but the limitation of this system is that it does not provide accurate control of transition bandwidth and cutoff frequencies. Another issue in digital filters is ripple and discontinuity near band edges [7]. The weighted Chebyshev approximation technique [8] can address issues related to local minima, slow convergence, and suboptimal results in conventional filter optimization methods. Researchers are now using bio-inspired optimization algorithms to achieve faster exploration and tuning of parameters for multiple filter requirements. The design of digital FIR filters through bio-inspired optimization algorithms involves minimizing an objective or error fitness function, and the choice of the fitness function plays a crucial role in achieving an ideal filter response. Recent research has shown significant progress in digital FIR filter design using bio-inspired optimization algorithms. In this section, this paper discussed the most promising bio-inspired optimization algorithms, such as particle swarm optimization (PSO) [19], cuckoo search (CS) optimization [21], and firefly optimization (FF) [15] for designing decimation filters.

2.1. Particle Swarm Optimization

The particle swarm algorithm was initially proposed to optimize nonlinear continuous functions [19]. It uses a group of particles, where each particle remembers the best solution it has found (the best position of an individual), and the algorithm tracks the optimal location for the entire group. The effectiveness of the particle swarm algorithm depends on the choices made during the process. The algorithm begins with a group of particles that have random starting positions and velocities in the n-dimensional parameter space. This collection of particles is made up of n different individuals or models. During each iteration, a particle’s movement is influenced by its previous best position p _ b e s t , and the global best is represented as g b e s t . The updating of velocity, v e l n , and position, p o s n , for each particle is mathematically expressed as
v e l n = ω * e l n + C 1 * r 1 n * ( p b e s t n p o s n ) + C 2 * r 2 n * ( g _ b e s t n p o s n )  
p o s n = p o s n + v e l n  
Here, inertia weight is represented by ω ; learning factors are represented as C 1   and   C 2 , respectively; these are used to determine the convergence speed towards local ( p _ b e s t n )   and global optimal ( g _ b e s t n ) value for the n t h particle in the respective iteration. For the optimal solution, ω ,   C 1 ,   and   C 2 decrease linearly. The overall processing of the PSO algorithm is represented in Algorithm 1. Once the optimal spacing and shift are obtained, the filter response is evaluated.
Algorithm 1. Particle Swarm Optimization
  Input:   Minimization   criteria   function   f ( X ) ,   the   domain   of   sampling   interval   or
the   spacing   is   represented   as   Δ   and   shift   represented   as   δ
   Output: Δ, δ
   Initialize :   p o s 0     r a n d o m   p o i n t s   i n   d o m a i n   o f   Δ   &   δ
   Initialize :   v e l 0     r a n d o m   v e l o c i t y
p _ b e s t     p o s 0
g _ b e s t     p o s b e s t [ a r g m i n   ( f ( p _ b e s t ) ) ]
   for i = 1, 2,…T do
   if   g _ b e s t does not change for imax iterations, then
   return   Δ ,   δ   g _ b e s t
   end if
    update   v e l n   and   p o s n according to Equations (2) and (3)
U p d a t e   I D     i s   S m a l l e r ( f ( X i ) , f ( p _ b e s t ) )
p _ b e s t   [ u p d a t e I D ]     X i [ u p d a t e I D ]
g _ b e s t p _ b e s t [ a r g m i n ( f ( p _ b e s t ) ) ]
   end for

2.2. Cuckoo Search Optimization

The cuckoo search (CS) algorithm is a metaheuristic global optimization approach inspired by the breeding habits of cuckoo species that steal eggs from other birds’ nests to hatch them [21]. Algorithm 2 describes the CS algorithm. The host bird will either quit the nest or discard the foreign egg if it is discovered (probability = p r o b a ). The cuckoo search (CS) algorithm is expected to decrease the number of nests over time. Still, abandoned nests are believed to be replaced by new nests built in different locations, thus maintaining the same number of nests over time and introducing diversity to the algorithm [23,24]. The CS algorithm requires a well-defined objective function, single or multi-objective, and constrained or unconstrained. The algorithm optimizes the objective function, starting with a random population for the nest location at i t r = 0 . Javaid et al. [23] applied the CS algorithm to design a digital filter for medical image denoising. The iteration of the CS algorithm starts at i t r = 0   by selecting a random population for the nest location. Then, updation of the nest location is performed with regard to time, and mathematically, it is represented as:
n e s t i t r = n e s t i t r 1 + α * S t e p i t r
where n e s t i t r and S t e p i t r   represent the nest location and step size for the current iteration, respectively. The scaling factor is expressed as α , whose value is greater than 0 and generally lies between 0.001 and 0.01. This value depends on the search space’s largest value. For designing digital filters, the CS algorithm searches the system coefficients having the following objective function:
o b j e c t i v e f u n c t i o n = min { 0 π ( ω | F D ( e j ω ) | ) 2 d ω }
The optimization problem dimension (represented as D i m M ) is also represented as the number of system coefficients, such as m i ,   n i ,   0 i O . Here, system order is represented as O . Mathematically, it is represented as
D i m M = 2 O + 2
Each nest location in the D i m M is considered a solution for the filter response.
Algorithm 2. Cuckoo Search Optimization
  Input:   Minimization   criteria   function   f ( X )
  Output: n e s t b e s t
   Generalize   the   initial   population   of   n     host   nest   n e s t i (i = 1,2, 3, …, n)
   While   i t r < max _ i t r   do
  Get a cuckoo randomly by levy flights
   Evaluate   f ( X )
   Chose   n e s t i t r   randomly   at   i t r = 0
   If   n e s t i   >   n e s t i 1 then
   replace   n e s t i 1 with a new solution.
  End if
  Worst nests are removed.
   Return   best   n e s t i
   Arrange   the   solutions   in   order   of   preference   and   determine   the   most   optimal   n e s t i
  End While

2.3. Firefly Optimization

Three main ideals make up the firefly algorithm [25,26]:
  • There is no such thing as a male or female firefly; all fireflies can attract mates.
  • Fireflies are attracted to bright objects, and this attraction weakens with increasing distance. If you have a pair of fireflies, the brightest one will attract the other.
  • A firefly’s brilliance is based on how well it does in an objective function.
Mathematically, brightness B n m   , and attraction A n m   are calculated as follows:
B n m = B 0 * e γ * α n m 2
A n m = A 0 * e γ * α n m 2
Here, B 0   and A 0 are the initial brightness and attraction, respectively. γ represents the coefficient for light absorption, and α represents the distance between m t h and n t h fireflies.
In this, fireflies with high brightness ( f f n ) attract fireflies with low brightness ( f f m ). Mathematically, this is represented as:
l o c n = l o c n + B n m ( l o c m l o c n ) + ϑ ( r a n d 0.5 )
Here, ϑ is represented as the step size. l o c n and l o c m represent the location of the n t h firefly and the m t h firefly. Algorithm 3 describes the firefly (FF) algorithm.
Algorithm 3. Firefly Optimization
  Input: Firefly Particle
   Output :   l o c n
   For   iteration   i t r = 1 , 2 , .   Do
   Create   a   sample   of   particles   as ,   q ( x m n | x m 1 n , Y n )
   Update   the   weight   as   w t m n = w t m 1 n * p * ( ( y m | x m n )
   Choose   q   with   maximum   w t m n     as   the   global   optimal   particle   q m b e s t .
  Update loc of the particle as Equation (9).
   Calculate   weight   as   w t m n of updated particle
   Estimate   the   state   s t m = m = 1 N W m N x m n
  End for

2.4. Noise Characteristics

Noise in medical images can have a detrimental effect on diagnostic accuracy and clinical decisions. The noise characteristics depend on several factors, including the imaging modality, parameters, and anatomical region being imaged. Understanding the noise characteristics in medical images is essential for improving image quality and ensuring accurate diagnoses. Some common types of noise in medical images are:
Gaussian noise: Gaussian noise is a type of statistical noise that can be artificially added to an image to simulate real-world noise. Gaussian noise typically affects the gray level z in digital images, characterized by its probability density function or normalized histogram to the gray level z . It follows a bell-shaped curve around the mean value μ and can significantly impact the quality of images, especially in regions with low contrast or subtle features. The probability density function ρ is represented as
ρ ( z ) = 1 σ 2 π e ( z μ ) 2 2 σ 2
Poisson noise: Poisson noise is a type of statistical noise that occurs in digital images as random variations in the intensity of pixels due to the counting of discrete events, such as photons or particles. This noise can significantly impact the quality of medical images and affect the accuracy of diagnosis, especially in low-light or low-contrast images. It is important to consider the specific characteristics of Poisson noise when selecting and optimizing noise reduction methods to preserve image detail and sharp edges. The Poisson noise variance η 2 ( x ) is characterized as
η 2 ( x ) = α x
Here, the Poisson noise parameter is α with respect to the original image x .
Salt and pepper Noise: Salt and pepper noise is a common image distortion in digital images, caused by errors during image acquisition or transmission. It is characterized by noisy pixels alternating between the minimum and maximum intensity values. It can be expressed mathematically as
f ( x ) = { i m i n                                         w i t h   p r o b a b i l i t y   p i m a x                                       w i t h   p r o b a b i l i t y   q u ( x )       w i t h   p r o b a b i l i t y   1 p q
Speckle Noise: Speckle noise is another image distortion that is commonly found in digital images. It is caused by random interference, resulting in random variations in brightness or darkness across the image. Noisy image I ( x ) is represented as
I ( x ) = x
Here, the speckle noise parameter is with respect to the original image x .

3. Proposed Methodology

Hybrid Optimization Based Image Denoising Filter

In this work, we propose a filter for medical images. The model is designed with hybrid bio-inspired algorithms with a digital filter for coefficient estimation. The block diagram of the designed medical image filter is shown in Figure 2.
The basic step of the proposed algorithm is dependent on a guided decimation box filter using a hybrid cuckoo particle swarm optimization model for medical image filters. In the first step, the input image (noisy) is taken, and its red, green, and blue sub-components are extracted. Further, each sub-band is passed through a low-pass filter. Here, the Butterworth low pass filter is used to filter noisy images by removing high-frequency noise from a digital image and preserving low-frequency components. The transfer function of LPF of order n is mathematically represented as
H ( u , v ) = 1 1 + [ ( u 2 + v 2 ) 2 / D o ] 2 n
Here, ( u 2 + v 2 ) 2 is the Euclidean distance between the origin and any point ( u , v ) in the input image. D o is the cutoff frequency. After LPF, a two-level discrete wavelet transform (2-DWT) is applied over all sub-components. Then, desired coefficients are selected among each sub-band correspondingly and passed through a decimation box filter of n × n size having n factor; for this, padding is performed on each sub-band. Then, noisy coefficients are extracted by using the designed hybrid cuckoo particle swarm optimization (HCPSO) algorithm. Then, thresholding functions are applied to find the Optimized Filter Coefficients (OFC) to obtain Rcoeff, Gcoeff and Bcoeff to remove noise from each component, respectively. The fitness function of the optimized solution is evaluated, and then the best solution or coefficient is evaluated. Later, coefficients respective to zero-padding locations are removed and passed through inverse discrete wavelet transform (IDWT) to generate a filtered image [27]. The entire proposed algorithm is presented in Algorithm 4.
Algorithm 4. Proposed Hybrid-Optimization-based Image Filter
   Input :   I x , y input noisy image
   Output :   O x , y output filtered image
  Begin
 1.   I x , y R G B   E x t r a c t i o n { I R ,   I G ,   I B }
 2.  For I = 1:3
 3.   Initialize   decimation   box   of   n × n size with n decimation factor
 4.   I i 2 D W T   I c o e f f { here ,   I c o e f f is the DWT coefficient}
 5.   I c o e f f n × n D I   { here ,   D I is the decimation box coefficient}
 6.   D I H C P S O D I o p t   { here ,   D I is the optimized filter coefficient}
 7.   D I o p t 2 I D W T { O i }
 8.  End
 9.   O R ,   O G ,   O B R G B   C o m b i n e { O x , y }
 10.    Return   O x , y
  End
First, an input image I x , y is considered and corrupted by introducing random noise with a noise factor N x , y . Then, the corrupted image I c ( x , y )   is represented as
I c ( x , y ) = I ( x , y ) + N ( x , y )
Different levels of noise are introduced by the variance in the noise. These filters are designed to remove this noise. Generally, bilateral filters are used for image denoising, but it shows computational complexity and sometimes introduce unwanted radiant reversal artifacts that cause image distortion. Therefore, these guided filters are used as digital image filters to denoise the image, I ^ ( x , y ) , but these filters are linear filters [28], which are represented as
I ^ ( x , y ) = w t ( x , y ) * G * I c ( x , y )
Here, w t ( x , y ) represents the kernel weight value for the decimation box used, and G is represented as guidance image G .
In terms of coefficients, the denoised images are represented as
I ^ ( x , y ) = i k * G x * j k
Here, i k and j k are linear coefficients at pixel k concerning guidance image G x . Filter aims to minimize the cost function (i.e., the difference between the original image and the denoised image) by regularizing parameters. The cost function, φ ( i k , j k ) , is represented as
φ ( i k , j k ) = x w k i k * G x + j k I ^ ( x , y ) 2 + ε i k 2
Here,
i k = 1 w x w k ( G x * I ^ ( x , y ) μ k I ^ ( x , y ) ) σ 2 + ε j k = I ^ ( x , y ) i k μ k
Here, the cost function is assumed as constant linear coefficients in the decimation box. The smoothness degree is represented as ε and w represents the decimation box. σ and μ k represent the variance and mean value of the decimation box, respectively.
In each decimation box, the denoised image is different for different pixels. Therefore, the average of these is taken. Like edge preservation, guided filtering is a feature. Additionally, it acts as a filter to make things more even. It labels as “flat” or “high variance” the areas of an image contaminated by noise. Pixels found to be in the exact center of flat patches have their values averaged out and replaced with new ones that have those average values. A pixel’s value does not change if it is found to be in the middle of a region with a lot of variation. The degree of smoothing, also called the regularisation parameter, is used to categorize areas into low-variance “flat patch” regions and high-variance “high variance” regions. If the variance of a given patch is larger than the regularization parameter’s value, then the patch is smoothed; otherwise, the variance is retained. Pixels on the far side of an image’s edge are given no importance by the guided filter kernel. The gradient filter is effective in eliminating the gradient reversal artifacts. Complexity increases as the kernel size grows. The output of a box filter can be obtained using the integral image method, and each summing operation is identical to a box filter.
To filter the noise-corrupted image most effectively, the appropriate smoothing degree is picked in the specified neighborhood. The degree of smoothing indicates a somewhat lenient limit on the neighborhood’s standard deviation. As depicted in Figure 3, some pixels are filtered as output. Let us assume an image of size P × Q . The input image is divided into n × n kernels, and the mean value of each kernel is the output of the decimation box. In this paper, the hybrid bio-inspired optimization approach is used to determine the filter coefficients for the image based on the amount of noise contained in the image. The guided filter is sized n × n based on decimation boxes with n downsampling ratio, which could be further optimized using HCPSO, as illustrated in Figure 3. When calculating the size of a decimation box filter, the time complexity is O ( m * N ) , where m is the size of the filter, and N is the total number of pixels. For filters with big kernels, this can lead to a significant increase in the amount of time required to calculate the filter’s output. If we utilize an integral image, we can compute box filters in O ( N ) time.
In this paper, the HCPSO algorithm is applied to optimize the coefficients of the decimation filter. The HCPSO algorithm is designed by combining the cuckoo search algorithm and particle swarm optimization algorithm that are capable of solving the nonlinear problems related to denoising constraints. The main idea for designing a hybrid model is to improvise the exploration search for obtaining optimal solutions by resolving the limitations of the CS and PSO algorithm. As PSO is the most popular optimization algorithm among researchers. It still has some limitations and easily falls into local optimal value under high-dimensional space. At the same time, the CS algorithm increases the cost during the iterative process. To overcome these drawbacks, the designed algorithm improves the PSO particles that are improved or optimized using the building nest of the CS algorithm. The designed flowchart is presented in Figure 4. In the initialization step, the number of particles, swarms, acceleration coefficients, weights, etc., and then lower and upper bounds for each particle are specified. The first generation is randomly initialized as a position P O S i = { p o s 1 ,   p o s 2 ,   ,   p o s n } . The fitness function f ( P O S i = f i ) is evaluated to obtain P b e s t and G b e s t ,   which are represented as
P b e s t i ( t + 1 ) = { p o s i ( t + 1 )         if   f ( p o s i ( t + 1 ) < p o s i ( t ) ) P b e s t i ( t )                                                             otherwise
G b e s t ( t + 1 ) = a r g m i n   ( P b e s t 1 ,   P b e s t 2 , . , P b e s t n )
In the HCPSO algorithm, Lévy fight is not included for building the nest population. This is achieved by P b e s t   obtained from the PSO algorithm. By applying this, some fraction of the worst nests W n e s t are left abandoned, and new good nests are selected for further use, as presented in Algorithm 5. In HCPSO, a new adaptive thresholding function is applied to update selection criteria. This is mathematically represented as
τ ( P b e s t , T r ) = { P b e s t T r 2 2 * P b e s t         P b e s t > T r 0.5 * P b e s t 3 T r 2                                                 P b e s t T r }
Here, P b e s t   is the best-selected nest value or the filter coefficient, and T r is the adaptive threshold value, which is updated in each iteration as the threshold is set to the minimum swarm parameter in all populations created.
Finally, velocity and positions are updated as follows:
v e l n ( t + 1 ) = ω * v e l n ( t ) + C 1 L e v y ( λ ) * ( p b e s t n ( t ) p o s n ( t ) ) + C 2   L e v y ( λ ) * ( g b e s t ( t ) p o s n ( t ) )
p o s n ( t + 1 ) = p o s n ( t ) + v e l n ( t + 1 )
To achieve the best Tr for the adaptive thresholding function, optimization techniques are used. The objective function, in this case, is to minimize the mean squared error (MSE). By employing optimization techniques, the goal is to find the values of the Tr that result in the lowest MSE.
Algorithm 5. HCPSO Optimization
  Input
   N p = Number of Particles (filter coefficients)
   N v = Number of variables
   I t r t m a x   = Maximum iterations
   Domain   of   the   sampling   interval   or   the   spacing   is   Δ   and   shift   is   δ
  Output:
   n e s t b e s t = b e st optimal solution
   Initialize :   p o s 0     r a n d o m   p o i n t s   i n   d o m a i n   o f   Δ   &   δ
   Initialize :   v e l 0     r a n d o m   v e l o c i t y
    P b e s t     p o s 0
    G b e s t     p o s b e s t [ a r g m i n   ( f ( P b e s t ) ) ]
   Update   t h e hybrid parameter using adaptive thresholding
  function (Equation (22))
   While   i t r < I t r t m a x   do
   Get   the   be s t   c u c koo   by   P b e s t
   Evaluate   f ( X )
   Choose   n e s t i t r   randomly   at   i t r = 0
   If   n e s t i   >   n e s t i 1 then
   replace   n e s t i 1 with a new solution;
  End if
  Worst nests are removed.
   Return   best   n e s t i
   Arrange   the   solutions   in   order   of   preference   and   determine   the   most   optimal   n e s t i
  End While

4. Results and Discussion

This section discusses the validation of simulation experiments for a proposed model. The experiments were conducted using MATLAB (R2020a) on an Intel(R) Core (TM) i5 with CPU 1.60 and 2.11 GHz with 2 GB graphics. Input images of size 192 × 192 were degraded with Gaussian noise of varying variance σ 2   ϵ   [ 0.01 0.09 ] , Poisson with a noise density of 0.05, salt and pepper with a noise density of 0.05, and speckle noise with a noise variance of 0.05, and then the proposed hybrid-optimization-based decimation box filters were used to remove the noise. The filters were trained for 100 epochs and performance metrics were used to evaluate the results. PSO, FF, CS, and proposed HCPSO optimization methods were compared in the experiments. For result analysis, medical image datasets are used that are described in the below sub-section.

4.1. Dataset Description

In this paper, three medical image datasets are used for result analysis: CHASEDB1 [29], MRI [30], and Ultrasound [31]. CHASEDB1 was collected from multi-ethnic schoolchildren [29]. This image library contains annotated blood vessel ground truths together with retinal images. The collection contains images with considerable variations in the amount of retinal pigmentation in the foreground. MRI consists of several brain MRI datasets, including simulated and actual images of healthy and diseased people [30]. The ultrasound contains images of 10 volunteers’ common carotid arteries (CCAs) with a range of weights (mean weight: 76.5 kg). The image database includes 84 longitudinal B-mode ultrasound images of CCA [31].

4.2. Performance Parameters

Performance parameters used in this research are discussed below:
Peak signal-to-noise ratio (PSNR): PSNR stands for the peak signal-to-noise ratio and is used to evaluate the image quality.
P S N R = 10   l o g 10 ( L 1 ) 2 M S E
Thus, L is an image’s maximum number of intensity levels that can exist.
M S E = 1 m n i = 0 m 1 i = o n 1 ( O ( i , j ) D ( i , j ) ) 2
Here, O ( i , j ) refers to the original image’s matrix data. D ( i , j ) refers to the filtered image’s matrix data, m , which is the number of pixel rows, and i denotes the row’s index within the image. Meanwhile, n denotes the number of pixel columns, and j denotes the index of that column inside the images.
Structural Similarity Index (SSIM): The Structural Similarity Index (SSIM) is a perceptual metric used to evaluate the degradation of image quality that may occur due to various image processing steps. Mathematically, SSIM is represented as
S S I M ( x , y ) = l ( x , y ) α · c ( x , y ) β ·   s ( x , y ) γ
Here, setting the weights { α , β , γ } to 1, the formula can be reduced to the form shown above. For three comparison measurements between the samples of x and y , luminance is given by l , contrast by c , and structure by   s .
Feature Similarity Index (FSIM): The low-resolution features or low-level features of the image are measured by another variable known as the Feature Similarity Index (FSIM). These features are assessed and prove how effective the human visual system is. Phase congruency ( P h c ), a local feature or major feature for FSIM, is used to assess it. The measurement has no dimensions. Next, a different variable is assessed using gradient magnitude ( G r m ). P h c   and G r m   work together in a complimentary manner to enhance the local image quality.
For P h c and G r m , low-resolution (LR) features f 1 ( x ) and high-resolution (HR) features f 1 ( x ) are computed between them to determine how comparable the features are. The similarity is assessed as follows:
S p h c ( x ) = 2 P h c 1 ( x ) * P h c 2 ( x ) + E P h c 1 2 ( x ) + P h c 2 2 ( x ) + E
Here, P h c 1 and P h c 1 are the phase congruencies for the LR and HR images, respectively, and S p h c is the phase congruency similarity. E is a constant that improves S p h c effectiveness.
Additionally, the evaluation of the similarity measures G r m 1 ( x ) and G r m 2   ( x ) between LR and HR, respectively, is as follows:
S G M ( x ) = 2 G r m 1 ( x ) * G r m 2 ( x ) + E G r m 1 2 ( x ) + G r m 2 2 ( x ) + E
Here, G r m 1   and G r m 2   are the gradient magnitudes of the LR and HR images, respectively, and E is the variable used to increase the stability of the model.

4.3. Result Analysis

In this section, first, a comparison is provided for the ablation study of the designed hybrid approach with other bio-inspired optimization approaches. This analysis emphasizes the behavior of hybrid cuckoo particle swarm optimization with decimation box filters concerning medical images. The learning parameters for each bio-inspired optimization algorithm are listed in Table 1.
Figure 5 shows the convergence analysis of optimization-based filters with different algorithms, such as PSO, firefly, cuckoo, and the proposed HCPSO model. The number of iterations taken is 100 epochs, and it shows the fitness value vs. the number of iteration curves. The hybrid model fitness value curve shows a better convergence curve. The graph of the designed hybrid approach shows retrieval of the best cost function.
Table 2 shows the optimal parameter values for GDBF + HCPSO with different algorithm parameters. The first set of parameters is related to the filter order, which determines the complexity of the filter. The values tested in this case are 20, 25, 30, and 35. The best value is obtained at order 30. The next set of parameters is the population size, such as 5, 10, 15, and 20. The corresponding PSNR values for these population sizes are 35.75, 35.79, 35.72, and 35.63, respectively. In this optimal population size was 10. Finally, the table includes the initial training parameter (Initial Tr) with values of 0.01, 0.02, and 0.03. The associated PSNR values are 35.79, 35.49, and 35.62, respectively. The optimal initial Tr was 0.01.
Figure 6 shows the visual representation after denoising. Hereafter, RGB decomposition, LPF, is applied to each component individually. Its outcome with a varying cutoff frequency D o is represented in Figure 6. Here, D o = 192 shows the best outcome. Then, it is decomposed using 2DWT, and coefficient optimization is performed using HCPSO. After optimization and noise coefficient removal, 2DWT reconstruction is performed, whose outcome is represented below. Finally, all DWT components are combined to visualize the final image. Below, Figure 6 represents stepwise image reconstruction.
Table 3 shows the performance analysis of conventional filters, such as the bilateral filter and FIR filters, with the proposed bio-inspired optimization algorithms, i.e., the HCPSO model. The number of images taken for testing was 25. Table 3 shows the performance analysis by considering PSNR, SSIM, and FSIM. The results analysis was performed on an input medical image of size 192 × 192. The input image is corrupted with noise, having variable variance ranging from 0.01 to 0.09. In Table 3, it is observed that the proposed HCPSO has achieved the highest PSNR, SSIM, and FSIM values. Therefore, from this analysis, it is observed that the designed hybrid HCPSO model shows fast and best convergence towards the best solution compared to conventional approaches.
Table 4 shows the performance analysis of bio-inspired optimization algorithms, i.e., PSO, firefly, cuckoo, and the proposed HCPSO model. The number of images taken for testing was 25. Table 4 shows the performance analysis by considering the PSNR, SSIM, and FSIM of the bio-inspired optimization algorithms. The results analysis was performed on an input medical image with a size of 192 × 192. The input image is corrupted with noise with variable variance ranging from 0.01 to 0.09. In Table 4, it is observed that the proposed HCPSO has achieved the highest PSNR, SSIM, and FSIM values. Therefore, from this analysis, it is observed that the designed proposed HCPSO model shows fast and best convergence towards the best solution compared to other bio-inspired algorithms. In contrast, the HPSO model also presented better edge preservation compared to others.
Table 5 shows the performance analysis of bio-inspired optimization algorithms, i.e., PSO, firefly, cuckoo, and the proposed HCPSO model in terms of the varying low-pass filter orders used. Table 5 shows the performance analysis by considering PSNR, SSIM, and FSIM of the bio-inspired optimization algorithms. The results analysis was performed on an input medical image with a size of 192 × 192. The input image is corrupted with noise with a variable variance of 0.01. Here, HCPSO optimization with a filter order of 30 achieved better results, i.e., PSNR = 35.727, SSIM = 0.929, and FSIM = 0.887. Therefore, in this analysis, it was observed that the best filter order was 30, in which the HCPSO algorithm achieved better performance compared to others. Overall, the HCPSO algorithm performed consistently well across all three image quality metrics and all filter orders, making it a promising bio-inspired optimization algorithm for image-filtering applications.
In Figure 7, the paper presents a visual comparison of bio-inspired algorithms, i.e., particle swarm optimization (PSO), firefly (FF) algorithm, cuckoo search (CS) optimization, and hybrid cuckoo particle swarm optimization (HCPSO) on all three datasets, as described above. For this, σ 2 is kept at 0.01.
Similarly, in Figure 8, the paper presents a visual comparison with the variable σ 2 . In both diagrams, it is seen that edges are preserved more in the designed HCPSO-based guided decimation box filter.
Figure 9 shows the performance of the HCPSO-based GDB filter on varying noise variance with the datasets CHSEDB1, MRI, and ultrasound. The variance varied from σ 2 = 0.01 to σ 2 = 0.09. PSNR, SSIM, and FSIM are the maximum for σ 2 = 0.01, i.e., 35.77, 0.926, and 0.899, respectively, for the CHASEDB1 dataset. PSNR, SSIM, and FSIM are the maximum for σ 2 = 0.01, i.e., 33.33, 0.925, and 0.915, respectively, for the MRI dataset. PSNR, SSIM, and FSIM are the maximum for σ 2 = 0.01, i.e., 35.63, 0.928, and 0.904, respectively, for the ultrasound dataset.
Similarly, Figure 10 shows the performance of the proposed HCPSO-based GDB filter on varying decimation sizes. For the CHASEDB1 dataset, PSNR, SSIM, and FSIM are the maximum for the decimation 2 × 2 ., i.e., 37.34, 0.951, and 0.9241, respectively. For the MRI dataset, PSNR, SSIM, and FSIM are the maximum for the decimation 2 × 2 ., i.e., 34.608, 0.946, and 0.9355, respectively. For the ultrasound dataset, PSNR, SSIM, and FSIM are maximum for the decimation 2 × 2 , i.e., 37.26, 0.957, and 0.9335, respectively. Given these results, the best result was obtained at a smaller size of the decimation box filter. For reliable and robust comparison among bio-inspired optimization-based digital filters, all input images were taken same on the same execution platform.
Figure 11 shows the performance of the proposed HCPSO-based GDB filter on varying input image sizes with different datasets, CHSEDB1, MRI, and ultrasound. The image size varied from 128 × 128, 192 × 192, 256 × 256, and 512 × 512. PSNR, SSIM, and FSIM are the maximum for the 512 × 512 image size, i.e., 37.135, 0.940, and 0.906, respectively, for the CHASEDB1 dataset. PSNR, SSIM, and FSIM are the maximum for the 512 × 512 image size, i.e., 35.964, 0.950, and 0.943, respectively, for the MRI dataset. PSNR, SSIM, and FSIM are the maximum for the 512 × 512 image size, i.e., 37.306, 0.952, and 0.924, respectively, for the ultrasound dataset.
Figure 12 shows the performance of the proposed HCPSO-based GDB filter on varying types of noise, such as Gaussian, Poisson, salt and pepper, and speckle with different datasets, including CHSEDB1, MRI, and ultrasound. The image size is taken as 192 × 192. PSNR, SSIM, and FSIM are the maximum for Poisson noise.
Figure 13 presents the time complexity analysis of the proposed HCPSO model for different noises. The average computational complexity of the model is ~1 s, which is quite diminished. Figure 14 presents the performance analysis of digital filters designed for spatial domain filters for images. In terms of the comparative state-of-the-art, the most popular models are considered, such as the Deep Convolutional Neural Network method (DNCNN) [32], adaptive cuckoo search optimization (AD-CSO) [33], adaptive modified cuckoo search optimization (AD-MCSO) [33], bilateral filter optimization using cuckoo search optimization (BF-CSO) [34], deep image prior combined with regularization by denoising (DeepRED) [35], enhanced GWO optimization [13], unsupervised deep learning (DNN) [36], ant colony optimization (ACO) [37], Bi-dimensional Empirical Mode Decomposition (BEMD) [38], a bilateral filter with a genetic algorithm (BF-GA) [39], the linear minimum mean square error method for principal component analysis (LMMSE-PCA) [40]. These existing state-of-the-art models are compared with the proposed HCPSO on approximate PSNR and SSIM values. The comparative graphs are also presented in Figure 14. Given the above graphs, it is clear that the proposed HCPSO provides better results in terms of PSNR and SSIM compared to the existing state-of-the-art models, as the PSNR is the quantitative performance evaluation parameter, while SSIM is the qualitative performance evaluation parameter. Therefore, it can be concluded that the designed HCPSO preserves the quality of the image after denoising. Table 6 presents the comparative state of the art for the noise-handling capability of algorithms. In the table, it is clear that the proposed HCPSO is more adaptive to all possible types of noise that may occur in medical images. Therefore, it proves that the proposed HCPSO is adaptable to existing artifacts and can handle future artifacts.

5. Conclusions

The presence of noise in a medical image makes it difficult to identify and analyze diseases. The traditional approach experiences losses and causes over-smoothing, demanding greater computational requirements. Therefore, there is a requirement for optimization approaches for medical image denoising, and medical image denoising is essential as a pre-processing step for any further diagnosis process. In this paper, a novel digital filter for medical image denoising is proposed using hybrid cuckoo particle search optimization with a decimation box filter for restoration from noisy images. This paper presents the resulting ablation study on different optimization algorithms. For the evaluation of results, the input medical images were corrupted with different noises and then filtered through a designed hybrid-optimization-based guided decimation box filter. The optimal coefficients and degree of smoothing were obtained. The result was observed with a variance in the noise, input image size, and decimation box. Apart from this, to validate the designed filter, its comparison was performed on some existing approaches for image denoising. The results prove that the developed model exhibits better performance in terms of quantitative measures. In the future, this work will be extended to some real-time applications.

Author Contributions

Conceptualization, D.G., K.K. and B.P.S.; Methodology, D.G.; Software, D.G.; Validation, B.P.S.; Formal Analysis, K.K.; Investigation, D.G.; Resources, B.P.S.; Data Curation, D.G.; Writing—Original Draft Preparation, D.G.; Writing—Review and Editing, D.G.; Visualization, D.G.; Supervision, K.K. and B.P.S. All authors have read and agreed to the published version of the manuscript.

Funding

There was no outside funding for this study.

Institutional Review Board Statement

There are no studies by the author using human subjects or animals in this article.

Informed Consent Statement

Not applicable.

Data Availability Statement

The databases are easily accessible and can be obtained through references mentioned in the data description subsection of the manuscript. The remaining contents and relevant details are included in the manuscript itself.

Conflicts of Interest

The author declares no conflict of interest.

References

  1. Vaidyanathan, P.P. Filter banks in digital communications. IEEE Circuits Syst. Mag. 2001, 1, 4–25. [Google Scholar] [CrossRef]
  2. Sheng, J.; Chen, T.; Shah, S.L. Optimal filtering for multirate systems. IEEE Trans. Circuits Syst. II Express Briefs 2005, 52, 228–232. [Google Scholar] [CrossRef]
  3. Ahamed, B.B.; Yuvaraj, D.; Priya, S.S. Image Denoising with Linear and Non-linear Filters. In Proceedings of the 2019 International Conference on Computational Intelligence and Knowledge Economy (ICCIKE), Dubai, United Arab Emirates, 11–12 December 2019; pp. 806–810. [Google Scholar] [CrossRef]
  4. Abbass, M.Y.; Kwon, K.C.; Alam, M.S.; Piao, Y.L.; Lee, K.Y.; Kim, N. Image super resolution based on residual dense CNN and guided filters. Multimed. Tools Appl. 2021, 80, 5403–5421. [Google Scholar] [CrossRef]
  5. Moran, S.; Marza, P.; Mcdonagh, S.; Parisot, S.; Slabaugh, G. DeepLPF: Deep Local Parametric Filters for Image Enhancement. Available online: https://data.csail.mit.edu/graphics/fivek/ (accessed on 4 March 2023).
  6. Li, F.; Xia, Y.; Wang, F.; Zhang, D.; Li, X.; He, F. Transfer learning algorithm of P300-EEG signal based on XDAWN spatial filter and Riemannian geometry classifier. Appl. Sci. 2020, 10, 1804. [Google Scholar] [CrossRef] [Green Version]
  7. Lim, Y.-C.; Lee, J.-H.; Chen, C.K.; Yang, R.-H. A weighted least squares algorithm for quasi-equiripple FIR and IIR digital filter design. IEEE Trans. Signal Process. 1992, 40, 551–558. [Google Scholar] [CrossRef]
  8. Shpak, D.J.; Antoniou, A. A Generalized Reméz Method for the Design of FIR Digital Filters. IEEE Trans. Circuits Syst. 1990, 37, 161–174. [Google Scholar] [CrossRef]
  9. Li, T.; Su, J.; Liu, W.; Corchado, J.M. Approximate Gaussian conjugacy: Parametric recursive filtering under nonlinearity, multimodality, uncertainty, and constraint, and beyond. Front. Inf. Technol. Electron. Eng. 2017, 18, 1913–1939. [Google Scholar] [CrossRef] [Green Version]
  10. Dwivedi, A.K.; Ghosh, S.; Londhe, N.D. Review and Analysis of Evolutionary Optimization-Based Techniques for FIR Filter Design. Circuits Syst. Signal Process. 2018, 37, 4409–4430. [Google Scholar] [CrossRef]
  11. Ramon, A.J.; Yang, Y.; Pretorius, P.H.; Johnson, K.L.; King, M.A.; Wernick, M.N. Improving Diagnostic Accuracy in Low-Dose SPECT Myocardial Perfusion Imaging with Convolutional Denoising Networks. IEEE Trans. Med. Imaging 2020, 39, 2893–2903. [Google Scholar] [CrossRef]
  12. Sridhar, B.; Sridhar, S.; Nanchariah, V.; Gayatri, K. Cluster Medical Image Segmentation using Morphological Adaptive Bilateral Filter based BSA Algorithm. In Proceedings of the 2021 5th International Conference on Trends in Electronics and Informatics (ICOEI), Tirunelveli, India, 3–5 June 2021; pp. 726–731. [Google Scholar] [CrossRef]
  13. Bhonsle, D.; Bagga, J.; Mishra, S.; Sahu, C.; Sahu, V.; Mishra, A. Reduction of Gaussian noise from Computed Tomography Images using Optimized Bilateral Filter by Enhanced Grasshopper Algorithm. In Proceedings of the 2022 Second International Conference on Advances in Electrical, Computing, Communication and Sustainable Technologies (ICAECT), Bhilai, India, 21–22 April 2022; pp. 1–9. [Google Scholar] [CrossRef]
  14. Sam, B.B.; Fred, A.L. Denoising Medical Images Using Hybrid Filter with Firefly Algorithm. In Proceedings of the 2019 International Conference on Recent Advances in Energy-efficient Computing and Communication (ICRAECC), Nagercoil, India, 7–8 March 2019; pp. 1–5. [Google Scholar] [CrossRef]
  15. Elhoseny, M.; Shankar, K. Optimal bilateral filter and Convolutional Neural Network based denoising method of medical image measurements. Measurement 2019, 143, 125–135. [Google Scholar] [CrossRef]
  16. Malekzadeh, M.; Song, T.A.; Dutta, J. PET Image Denoising Using Unsupervised Domain Translation. In Proceedings of the 2021 IEEE Nuclear Science Symposium and Medical Imaging Conference (NSS/MIC), Piscataway, NJ, USA, 16–23 October 2021. [Google Scholar] [CrossRef]
  17. Boudjelaba, K.; Ros, F.; Chikouche, D. An efficient hybrid genetic algorithm to design finite impulse response filters. Expert Syst. Appl. 2014, 41, 5917–5937. [Google Scholar] [CrossRef]
  18. Ababneh, J.I.; Bataineh, M.H. Linear phase FIR filter design using particle swarm optimization and genetic algorithms. Digit. Signal Process. 2008, 18, 657–668. [Google Scholar] [CrossRef]
  19. Zeng, L.; Li, J.; Liu, J.; Guo, R.; Chen, H.; Liu, R. Efficient Filter Generation Based on Particle Swarm Optimization Algorithm. IEEE Access 2021, 9, 22816–22823. [Google Scholar] [CrossRef]
  20. Dash, J.; Dam, B.; Swain, R. Optimal design of linear phase multi-band stop filters using improved cuckoo search particle swarm optimization. Appl. Soft Comput. J. 2017, 52, 435–445. [Google Scholar] [CrossRef]
  21. Ababneh, J.I.; Khodier, M.M. Design and Optimization of Enhanced Magnitude and Phase Response IIR Full-Band Digital Differentiator and Integrator Using the Cuckoo Search Algorithm. IEEE Access 2022, 10, 28938–28948. [Google Scholar] [CrossRef]
  22. Kulathilake, K.A.S.H.; Abdullah, N.A.; Sabri, A.Q.M.; Bandara, A.M.R.R.; Lai, K.W. A review on self-adaptation approaches and techniques in medical image denoising algorithms. Multimed. Tools Appl. 2022, 81, 37591–37626. [Google Scholar] [CrossRef]
  23. Javaid, Q.; Arif, M.; Shah, M.; Nadeem, M. A Hybrid Technique for De-Noising Multi-Modality Medical Images by Employing Cuckoo’s Search with Curvelet Transform. Mehran Univ. Res. J. Eng. Technol. 2018, 37, 29–48. [Google Scholar] [CrossRef] [Green Version]
  24. Yang, X.-S.; Deb, S. Cuckoo search: Recent advances and applications. Neural Comput. Appl. 2014, 24, 169–174. [Google Scholar] [CrossRef] [Green Version]
  25. Han, X.; Wu, B.; Wang, D. Firefly Algorithm with Disturbance-Factor-Based Particle Filter for Seismic Random Noise Attenuation. IEEE Geosci. Remote Sens. Lett. 2020, 17, 1268–1272. [Google Scholar] [CrossRef]
  26. Łukasik, S.; Żak, S. Firefly Algorithm for Continuous Constrained Optimization Tasks. In Computational Collective Intelligence. Semantic Web, Social Networks and Multiagent Systems; Springer: Berlin/Heidelberg, Germany, 2009; Volume 5796, pp. 97–106. [Google Scholar] [CrossRef]
  27. Kimlyk, M.; Umnyashkin, S. Image denoising using discrete wavelet transform and edge information. In Proceedings of the 2018 IEEE Conference of Russian Young Researchers in Electrical and Electronic Engineering (EIConRus), Moscow, St. Petersburg, Russia, 29 January–1 February 2018; pp. 1823–1825. [Google Scholar] [CrossRef]
  28. Li, Z.; Zheng, J.; Zhu, Z.; Yao, W.; Wu, S. Weighted guided image filtering. IEEE Trans. Image Process. 2015, 24, 120–129. [Google Scholar] [CrossRef]
  29. Fraz, M.M.; Remagnino, P.; Hoppe, A.; Uyyanonvara, B.; Rudnicka, A.R.; Owen, C.G.; Barman, S.A. An Ensemble Classification-Based Approach Applied to Retinal Blood Vessel Segmentation. IEEE Trans. Biomed. Eng. 2012, 59, 2538–2548. [Google Scholar] [CrossRef] [PubMed]
  30. Rueda, A.; Malpica, N.; Romero, E. Single-image super-resolution of brain MR images using overcomplete dictionaries. Med. Image Anal. 2013, 17, 113–132. [Google Scholar] [CrossRef] [PubMed]
  31. Ultrasound Image Database|SPLab. Available online: http://splab.cz/en/download/databaze/ultrasound (accessed on 20 December 2022).
  32. Zhang, K.; Zuo, W.; Chen, Y.; Meng, D.; Zhang, L. Beyond a Gaussian denoiser: Residual learning of deep CNN for image denoising. IEEE Trans. Image Process. 2017, 26, 3142–3155. [Google Scholar] [CrossRef] [Green Version]
  33. Vasudevan, N.; Nagarajan, V. Efficient Image De-Noising Technique Based on Modified Cuckoo Search Algorithm. J. Med. Syst. 2019, 43, 307. [Google Scholar] [CrossRef]
  34. Asokan, A.; Anitha, J. Adaptive Cuckoo Search based optimal bilateral filtering for denoising of satellite images. ISA Trans. 2020, 100, 308–321. [Google Scholar] [CrossRef]
  35. Sun, H.; Peng, L.; Zhang, H.; He, Y.; Cao, S.; Lu, L. Dynamic PET Image Denoising Using Deep Image Prior Combined with Regularization by Denoising. IEEE Access 2021, 9, 52378–52392. [Google Scholar] [CrossRef]
  36. Gong, K.; Han, P.; El Fakhri, G.; Ma, C.; Li, Q. Arterial spin labeling MR image denoising and reconstruction using unsupervised deep learning. NMR Biomed. 2022, 35, e4224. [Google Scholar] [CrossRef]
  37. Miri, A.; Sharifian, S.; Rashidi, S.; Ghods, M. Medical image denoising based on 2D discrete cosine transform via ant colony optimization. Optik 2018, 156, 938–948. [Google Scholar] [CrossRef]
  38. Satapathy, L.M.; Das, P. A New Biomedical Image Denoising method using an adaptive multi-resolution technique. WSEAS Trans. Syst. Control 2022, 17, 16–24. [Google Scholar] [CrossRef]
  39. Akar, S.A. Determination of optimal parameters for bilateral filter in brain MR image denoising. Appl. Soft Comput. 2016, 43, 87–96. [Google Scholar] [CrossRef]
  40. Sudeep, P.V.; Palanisamy, P.; Kesavadas, C.; Rajan, J. Nonlocal linear minimum mean square error methods for denoising MRI. Biomed. Signal Process. Control 2015, 20, 125–134. [Google Scholar] [CrossRef]
Figure 1. Decimation filter.
Figure 1. Decimation filter.
Applsci 13 07032 g001
Figure 2. Flowchart of medical image filtering using proposed novel guided decimation box filter.
Figure 2. Flowchart of medical image filtering using proposed novel guided decimation box filter.
Applsci 13 07032 g002
Figure 3. Guided decimation filter.
Figure 3. Guided decimation filter.
Applsci 13 07032 g003
Figure 4. Flowchart of hybrid cuckoo particle swarm optimization.
Figure 4. Flowchart of hybrid cuckoo particle swarm optimization.
Applsci 13 07032 g004
Figure 5. Convergence analysis of optimization-based filters.
Figure 5. Convergence analysis of optimization-based filters.
Applsci 13 07032 g005
Figure 6. Visual representation of denoising using HCPSO.
Figure 6. Visual representation of denoising using HCPSO.
Applsci 13 07032 g006
Figure 7. Visual comparison of different bio-inspired-optimization-based filters on (a) CHSEDB1 dataset, (b) MRI dataset, and (c) ultrasound dataset.
Figure 7. Visual comparison of different bio-inspired-optimization-based filters on (a) CHSEDB1 dataset, (b) MRI dataset, and (c) ultrasound dataset.
Applsci 13 07032 g007
Figure 8. Visual comparison of different bio-inspired optimization-based filters of variable σ 2 on (a) CHSEDB1 dataset, (b) MRI dataset, and (c) ultrasound dataset.
Figure 8. Visual comparison of different bio-inspired optimization-based filters of variable σ 2 on (a) CHSEDB1 dataset, (b) MRI dataset, and (c) ultrasound dataset.
Applsci 13 07032 g008aApplsci 13 07032 g008b
Figure 9. Performance of proposed HCPSO-based novel GDB filter for varying noise variance in terms of (a) PSNR, (b) SSIM, and (c) FSIM.
Figure 9. Performance of proposed HCPSO-based novel GDB filter for varying noise variance in terms of (a) PSNR, (b) SSIM, and (c) FSIM.
Applsci 13 07032 g009
Figure 10. Performance of proposed HCPSO-based GDB filter for varying decimation in terms of (a) PSNR, (b) SSIM, and (c) FSIM.
Figure 10. Performance of proposed HCPSO-based GDB filter for varying decimation in terms of (a) PSNR, (b) SSIM, and (c) FSIM.
Applsci 13 07032 g010
Figure 11. Performance of proposed HCPSO-based GDB filter for varying input image sizes in terms of (a) PSNR, (b) SSIM, and (c) FSIM.
Figure 11. Performance of proposed HCPSO-based GDB filter for varying input image sizes in terms of (a) PSNR, (b) SSIM, and (c) FSIM.
Applsci 13 07032 g011
Figure 12. Performance of proposed HCPSO-based GDB filter on different noises in terms of (a) PSNR, (b) SSIM, and (c) FSIM.
Figure 12. Performance of proposed HCPSO-based GDB filter on different noises in terms of (a) PSNR, (b) SSIM, and (c) FSIM.
Applsci 13 07032 g012
Figure 13. Computational time complexity during denoising.
Figure 13. Computational time complexity during denoising.
Applsci 13 07032 g013
Figure 14. Comparative state-of-the-art.
Figure 14. Comparative state-of-the-art.
Applsci 13 07032 g014
Table 1. Parameters for bio-inspired optimization algorithms.
Table 1. Parameters for bio-inspired optimization algorithms.
AlgorithmParameter
Particle swarm optimizationSize of particle = 20
No. of iterations = 100
Max inertia wt. = 0.95
Min inertia wt. = 0.4
Firefly algorithmSize of fireflies = 15
No. of iterations = 100
Absorption coefficient = 1
Light absorption coefficient = 1
Mutation value = 0.2
Cuckoo searchSize of nests = 15
No. of iterations = 100
Mutation probability = 0.1
Scaling factor = 1.5
Hybrid cuckoo particle swarm optimizationSize of particle = 15
Size of nests = 10
Max inertia wt. = 0.9
Min inertia wt. = 0.4
No. of iterations = 100
Mutation probability = 0.1
Scaling factor = 1.5
Table 2. Optimal parameters for HCPSO algorithm.
Table 2. Optimal parameters for HCPSO algorithm.
GDBF + HCPSOParameter ValuesPSNR
Filter Order2035.16
2535.30
3035.72
3535.16
Population Size535.75
1035.79
1535.72
2035.63
Initial Tr0.0135.79
0.0235.49
0.0335.62
Table 3. Comparative analysis of conventional filters with proposed bio-optimized filter with respect to noise variance.
Table 3. Comparative analysis of conventional filters with proposed bio-optimized filter with respect to noise variance.
VarianceBilateral FilterFIRHCPSO
PSNR0.0123.8029.1435.704
0.0317.4125.4633.981
0.0514.9423.6233.229
0.0713.5022.2232.967
0.0912.6421.2232.664
VarianceBilateral FilterLPFHCPSO
SSIM0.010.260.560.916
0.030.090.470.872
0.050.060.410.843
0.070.050.380.822
0.090.040.350.798
VarianceBilateral FilterLPFHCPSO
FSIM0.010.670.840.886
0.030.430.780.842
0.050.340.720.819
0.070.300.690.802
0.090.270.660.781
Table 4. Performance analysis of bio-inspired optimization algorithms with respect to noise variance.
Table 4. Performance analysis of bio-inspired optimization algorithms with respect to noise variance.
VariancePSOFFCSHCPSO
PSNR0.0134.52932.93134.57135.704
0.0331.96631.99732.76333.981
0.0532.01031.74332.68733.229
0.0730.40730.69931.32632.967
0.0930.86630.43531.27432.664
VariancePSOFFCSHCPSO
SSIM0.010.4960.4980.5550.916
0.030.5140.4280.5190.872
0.050.4830.4290.4940.843
0.070.4530.3650.4630.822
0.090.3780.3810.4340.798
VariancePSOFFCSHCPSO
FSIM0.010.6910.6440.6700.886
0.030.6830.6110.6450.842
0.050.6410.5960.6290.819
0.070.6040.5740.6180.802
0.090.6080.5650.5980.781
Table 5. Performance analysis of bio-inspired optimization algorithms with respect to filter order.
Table 5. Performance analysis of bio-inspired optimization algorithms with respect to filter order.
Filter OrderPSOFFCSHCPSO
PSNR2033.50933.09434.34235.162
2534.23933.09134.37035.300
3033.75833.10034.86835.727
3532.73031.77734.39435.167
Filter OrderPSOFFCSHCPSO
SSIM200.6960.6470.6930.924
250.7200.6370.6840.924
300.6390.6550.6780.929
350.7110.6440.6880.921
Filter OrderPSOFFCSHCPSO
FSIM200.5020.4940.5710.882
250.5310.4870.5830.882
300.4950.4770.5580.887
350.5330.4720.5860.878
Table 6. Comparative state of the art for noise-handling adaptation.
Table 6. Comparative state of the art for noise-handling adaptation.
RefAlgorithmApplication AreaImage TypeGaussianPoissonSalt and PepperSpeckle
[12]Backtracking Optimized Search AlgorithmMedicalCT××××
[13]Enhanced Grasshopper optimizationMedicalCT×××
[14]FireflyMedicalCT, X-ray, MRI×××
[15]Dragonfly (DF) and Modified FireflyMedicalMRI and CT ×××
[16]Domain TranslationMedicalPET×××
[32]DNCNNGeneral-×××
[33]Modified Cuckoo Search AlgorithmGeneral-×××
[35]DeepREDMedicalPET×××
Proposed HCPSOMedicalCT, X-ray, MRI, Ultrasound
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

Gautam, D.; Khare, K.; Shrivastava, B.P. A Novel Guided Box Filter Based on Hybrid Optimization for Medical Image Denoising. Appl. Sci. 2023, 13, 7032. https://doi.org/10.3390/app13127032

AMA Style

Gautam D, Khare K, Shrivastava BP. A Novel Guided Box Filter Based on Hybrid Optimization for Medical Image Denoising. Applied Sciences. 2023; 13(12):7032. https://doi.org/10.3390/app13127032

Chicago/Turabian Style

Gautam, Divya, Kavita Khare, and Bhavana P. Shrivastava. 2023. "A Novel Guided Box Filter Based on Hybrid Optimization for Medical Image Denoising" Applied Sciences 13, no. 12: 7032. https://doi.org/10.3390/app13127032

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

Article Metrics

Back to TopTop