2 Mais Atual
2 Mais Atual
RESEARCH ARTICLE
* mohongwei2023@163.com
a1111111111
Abstract
a1111111111 In the field of image processing, common noise types include Gaussian noise, salt and pep-
a1111111111
a1111111111 per noise, speckle noise, uniform noise and pulse noise. Different types of noise require dif-
a1111111111 ferent denoising algorithms and techniques to maintain image quality and fidelity.
Traditional image denoising methods not only remove image noise, but also result in the
detail loss in the image. It cannot guarantee the clean removal of noise information while
preserving the true signal of the image. To address the aforementioned issues, an image
OPEN ACCESS
denoising method combining an improved threshold function and wavelet transform is pro-
posed in the experiment. Unlike traditional threshold functions, the improved threshold func-
Citation: Li B, Cong Y, Mo H (2024) Image
denoising method integrating ridgelet transform tion is a continuous function that can avoid the pseudo Gibbs effect after image denoising
and improved wavelet threshold. PLoS ONE 19(9): and improve image quality. During the process, the output image of the finite ridge wave
e0306706. https://doi.org/10.1371/journal. transform is first combined with the wavelet transform to improve the denoising perfor-
pone.0306706
mance. Then, an improved threshold function is introduced to enhance the quality of the
Editor: Hua Wang, Victoria University, AUSTRALIA reconstructed image. In addition, to evaluate the performance of different algorithms, differ-
Received: December 29, 2023 ent densities of Gaussian noise are added to Lena images of black, white, and color in the
Accepted: June 19, 2024 experiment. The results showed that when adding 0.010.01 variance Gaussian noise to
black and white images, the peak signal-to-noise ratio of the research method increased by
Published: September 6, 2024
2.58dB in a positive direction. The mean square error decreased by 0.10dB. When using the
Copyright: © 2024 Li et al. This is an open access
algorithm for denoising, the research method had a minimum denoising time of only 13ms,
article distributed under the terms of the Creative
Commons Attribution License, which permits which saved 9ms and 3ms compared to the hard threshold algorithm (Hard TA) and soft
unrestricted use, distribution, and reproduction in threshold algorithm (Soft TA), respectively. The research method exhibited higher stability,
any medium, provided the original author and with an average similarity error fluctuating within 0.89%. The above results indicate that the
source are credited.
research method has smaller errors and better system stability in image denoising. It can be
Data Availability Statement: All relevant data are applied in the field of digital image denoising, which can effectively promote the positive
within the manuscript and its Supporting
development of image denoising technology to a certain extent.
Information files.
information acquisition, the noise can affect the image blurring, distortion, and even loss of
important information [1, 2]. This also means that the quality of digital images will directly
affect the accuracy of information transmission in the image, so it is necessary to perform cer-
tain denoising processing on the image before using digital images [3]. How to denoise images
has become a difficult problem, which has attracted the attention of many scholars. Scholars
have proposed statistical filtering and adaptive filtering methods to denoise images. In addi-
tion, Khmag A et al. proposed an image denoising method based on improved wavelet trans-
form (WT) to improve the main structure of the original model image. This method could
remove noise from natural images corrupted by Gaussian white noise and compress image sig-
nals. The results showed that the performance of this algorithm was significantly better than
other algorithms [4]. Khmag A et al. proposed to implement pre-classification using clustering
based on invariant moments and hidden Markov models to capture the wavelet transform
dependence between additive Gaussian white noise pixels and their neighbors. Experimental
results show that this method has great advantages in terms of peak signal-to-noise ratio and
structural similarity under higher noise levels [5]. At the same time, some scholars have pro-
posed that traditional methods such as standardization, enhancement (randomization), and
data aggregation training can be used to overcome the standardization risks and modal differ-
ences in traditional denoising methods. However, when using these methods, it cannot be
guaranteed that the obtained images can retain complete image information. The flourishing
development of artificial intelligence technology provides a new direction for the innovation
of image denoising technology. Hard threshold algorithm (Hard TA), and Soft threshold algo-
rithm (Soft TA) are commonly used threshold processing functions in signal processing. The
Hard TA refers to the threshold that cannot be exceeded by the detected data. The Soft TA
refers to specifying a range of changes for the detected data. Semi-soft threshold algorithm
(Semi-Soft TA) is a combination of Soft TA and Hard TA, which can maintain continuity near
the threshold point, but there is a slope below the threshold point. The above three parameters
play a crucial role in the effectiveness of image denoising, which can be collectively referred to
as the improved threshold function. The improved threshold function is a continuous function
that can effectively remove the interference of noise in images during image processing. This
experiment proposes an image denoising method that integrates an improved threshold func-
tion and WT, aiming to removing noise information from the image and fully preserving the
image information.
The contribution of this research is mainly in two aspects. Firstly, aiming at the problems
existing in the traditional image denoising algorithm when dealing with complex noise types,
it adopts the fused improved threshold function and WT, and combined with WT and ridge
algorithm. Therefore, the denoising algorithm can better adapt to images with different noise
types. Secondly, the setting method of threshold algorithm is improved, which further
improves the denoising quality in the image denoising.
The research has four parts. The first is a literature review on image denoising methods that
integrate improved threshold functions with WT. It mainly introduces the application of the
improved threshold and WT algorithm in other fields, as well as the research history of image
denoising. The second part has two sections. The first section mainly introduces the core algo-
rithm of the fusion algorithm and the method of obtaining key parameters. The second section
introduces the optimization methods of the fusion algorithm and the running ideas of the
algorithm. The third part has two sections. The first section discusses the denoising perfor-
mance of the fusion algorithm in different demand environments such as color images, black
and white images, and fingerprint images. The second section mainly introduces the stability,
computational speed, and application performance of the algorithm in complex environments
with fused noise. The fourth part summarizes the first three parts, and analyzes the specific
performance of the fusion algorithm and the shortcomings in the research process.
2. Related work
WT, as a change analysis method, can effectively remove the correlation between different
extracted features. It has fast computing speed, which is favored by scholars. S. Ramakanth
and other scholars designed a new algorithm based on continuous WT to achieve automatic
target recognition using jet engine modulated radar signals. It is applied to simulated signals
affected by noise. Coiflet and complex Morlet wavelets are used for research. Compared with
the improved Hilbert Huang Transform, the improved algorithm has better performance [6].
Khmag A et al. also proposed a nonlinear filtering method based on a two-step switching
scheme to eliminate salt-and-pepper noise and additive Gaussian white noise [7]. Khmag A
and Ramli’s team also used a combination of wavelet denoising algorithm and statistical prin-
cipal component analysis algorithm to denoise images. This algorithm integrates (PCA) to
exploit the subjective and objective quality of the observed images produced by the filtering
process [8]. Y. Xu et al. used an improved empirical WT initialized multi-scale fluctuation dis-
persion entropy method to study the characteristics in active distribution network (ADN)
models under grid connection, interruption, and islanding conditions. Disturbance signals in
high permeability ADN were detected and classified. The research results indicated that the
improved method had robustness and good accuracy [9]. Gao L et al. proposed a signal denois-
ing method that combined mathematical morphology and wavelet adaptive threshold to accu-
rately diagnose ECG signals. The signal-to-noise ratio was used to adjust the threshold
parameters, and mathematical morphology was used to eliminate low-frequency noise. Then
an innovative denoising method was obtained. The results showed that the root mean square
difference and signal-to-noise ratio of this algorithm were significantly improved. The denois-
ing effect was significant [10].
As the mainstream way of information dissemination nowadays, digital image transmission
has received a lot of attention and research on the noise processing. Khare S K et al. used adap-
tive tunable Q-WT for automatic selection when studying emotional recognition of EEG sig-
nals. Grey Wolf Optimization was applied to obtain the optimal tuning parameters. Compared
with traditional methods, the improved method had strong advantages in accuracy, computa-
tional speed, and other aspects [11]. Qiao W et al. adopted a combination prediction model
based on WT, short-term memory, and stacked automatic encoder when dealing with strategic
planning issues in power generation. The research results indicated that the model had higher
prediction accuracy and faster prediction speed [12]. FU Q et al. proposed an image denoising
method based on an improved threshold function to eliminate the deviation between different
threshold functions. The improved threshold function was combined to process low-frequency
noise and reconstruct the image. The results showed that the PSNR of this algorithm was sig-
nificantly improved by about 5%. The mean square error (MSE) was significantly reduced,
and the performance was superior [13]. M. Begum’s team proposed a digital image encryption
method based on discrete cosine transform and wavelet transform to ensure the security of
images during network transmission. During the process, Arnold mapping is used to encrypt
the transmitted image, followed by generating the image through multiple operations. The
results indicate that the improved method has good performance and can effectively enhance
security [14]. H. Xu et al. adopted a new method based on structural matrix restoration on
reducing noise in hyperspectral images. The research results indicated that it exceeded other
methods in visual and quantitative indicators such as PSNR and spectral angular distance
(SAD) [15].
In summary, high noise levels have a negative impact on image quality, resulting in blurred
image details, unclear edges, etc., thereby reducing the image perception quality. It may also
cause the effective information in the image to be submerged or destroyed, and even lead to
important details in the image can not be accurately identified and utilized. Image denoising
has high research value. Currently, a large number of scholars have participated in the research
on this issue. However, few scholars have combined improved threshold functions with
wavelet algorithms to solve image denoising. Therefore, an image denoising method combin-
ing improved threshold function and WT is used to improve the quality of reconstructed
images. Combining the improved threshold function with WT algorithm, it is expected to
improve the denoising ability of the algorithm by combining the excellent performance of the
two algorithms in image denoising. The improved threshold function can better adapt to the
noise variety of the image, and can adjust the relevant parameters to adjust the threshold selec-
tion range according to the actual situation. The WT algorithm greatly improves the denoising
ability of the fusion algorithm by segmenting the image.
parts complement each other and are related to each other. Image processing can be mainly
divided into four steps. Firstly, the images are collect and obtain. Then the selected technology
is used to denoise the image. Different image information is segmented and relevant informa-
tion is fused. Finally, image processing is implemented. Compression and encoding are used
to achieve image denoising effect. The denoised image can better reflect the objective data and
real information of the original image, providing strong support for image analysis and under-
standing processes. The WT is extensively applied in the image denoising, which has good
denoising effects. However, traditional wavelet algorithms still have discontinuity at the
threshold point of the Hard TA. The Soft TA has drawbacks such as deviation from the real
signal. Therefore, improvements are made to the threshold and threshold function [17]. The
output image of the finite ridge transform and the improved threshold wavelet algorithm are
combined to improve the denoising performance. The specific flowchart of ridge wave trans-
formation is shown in Fig 2.
In Fig 2, the ridgelet transform can be mainly divided into two steps, namely Radon trans-
form and WT. Specifically, after obtaining an original image, the subspace domain image is
used to undergo ridgelet transformation to obtain the image ridgelet coefficients (containing
noise). Then, the coefficients higher than the threshold are retained. The coefficients lower
than the threshold are removed. The ridgelet transform of the final image is inversely trans-
formed into a spatial domain image. If the transformed image has warping distortion, it needs
to be removed by Vienna transformation. The experiment assumes that ψ(t) represents a one-
dimensional wavelet, then the two-dimensional ridgelet can be expressed as Eq (1).
1=2
ca;b;y ¼ a cððx1 cosy þ x2 siny bÞ=aÞ ð1Þ
In Eq (2), the conic curve function is converted into an integral. f(x) is the weight parameter
change function in the direction of y. The continuous Radon transformation of the two-
dimensional function can be obtained by the two-dimensional ridge-wave transformation.
The continuous Radon transform and discrete form of the two-dimensional ridge-wave trans-
form can be expressed, as shown in Eq (3).
8 Z
< R ðy; tÞ ¼ f ðxÞdðx1 cosy þ x2 siny tÞdx
f
R2 ð3Þ
:
Rðn; mÞ ¼ jF ðn; mÞj jF ðn 1; mÞj jF ðn þ 1; mÞj jF ðn; m 1Þj jF ðn; m þ 1Þj
In Eq (4), ca;b ðtÞ ¼ a 1=2 cððt bÞ=aÞ. ψa,b(t) is the Fourier transform form of one-dimen-
sional ridge waves. The one-dimensional ridged wave in the form of Fourier transform refers
to the spectrum obtained after the one-dimensional signal is Fourier transformed, which rep-
resents the distribution of the signal in the frequency domain [19]. One-dimensional ridged
wave transform based on Fourier transform frequency domain analysis method, by calculating
the spectrum amplitude and phase information of the signal, the frequency characteristics and
periodic structure of the signal can be revealed. One-dimensional ridge transform can high-
light the ridge structure and suppress other frequency components by Fourier transform and
spectrum processing, such as threshold processing or spectrum amplitude filtering, and can
extract the ridge structure and edge information in the signal. The result obtained by substitut-
ing two-dimensional ridged wave into the two-dimensional functional ridged wave transform
is shown in Eq (5).
Z Z
CRTf ða; b; yÞ ¼ ca;b ðtÞf ðxÞdðx1 cosy þ x2 siny tÞdtdx ð5Þ
R2 R
In Eq (5), the final ridge transformation expression can be obtained by performing Radon
transformations on the obtained transformation expressions. The specific form of this expres-
sion is shown in Eq (6).
D E Z
CRTf ða; b; yÞ ¼ ca;b ðtÞ; Rf ðy; tÞ ¼ ca;b ðtÞRf ðy; tÞdt ð6Þ
R
In Eq (6), ψ(�) is a projection of the one-dimensional wavelet in the θ direction. The ridge
wave transformation process is as follows. The transformation method obtained by performing
Radon transform first and then WT processing. The image size I(i,j) is p × p. p represents a
prime number. The transformation definition of finite Radon is shown in Eq (7).
1 X
rk ½l� ¼ pffiffi Iði; jÞ ð7Þ
p ði;jÞ2L
k;l
In Eq (7), Lk,l represents a straight line. The slope is k and the intercept is l. This line is
shown in Eq (8).
8 n o
>
< Lk;l ¼ ði; jÞ : j ¼ ki þ lðmodpÞ; i 2 Zp ; k 2 Z
n o ð8Þ
>
: Lp:l ¼ ði; jÞ : j 2 Zp
In Eq (8), the finite Radon transform is considered as the sum of pixel values of lines in dif-
ferent directions. rk(l) is the matrix of ridge wave transformation. The image has multiple
blocks. It is expressed as a term in the matrix. There are p+1 directions in the matrix. Each
direction covers p pixel values. Therefore, the ridge transform matrix can cover the entire pixel
of the image, and then perform WT on each column in the matrix, resulting in finite ridge
coefficients. By performing Radon transform and WT on the initial image, the processed
image is obtained. Among them, the inverse transform signal obtained through finite Radon
transform is a very important part of the signal reconstruction process. This part needs to be
obtained through finite ridge inverse transformation. The definition of the finite back projec-
tion operator is shown in Eq (9).
8
>
> 1 X
< Iði; jÞ ¼ pffipffi
> rk ðlÞ; ði; jÞ 2 Zp2
ðk;lÞ2Pi;j
ð9Þ
>
> n o
>
: P ¼ ðk; lÞ : l ¼ j kiðmodpÞk 2 Z [ fðp; iÞg
i;j p
In Eq (9), I(i,j) stands for the pixel value at the corresponding coordinate of the image. rk(l)
stands for the finite Radon coefficient. Based on this method, the finite back projection opera-
tor is restored to the original image. The finite Radon transform uses modular p-operation,
which sometimes leads to the "wrapping" in the image. The output image shows streaks, which
affect the output image quality. Therefore, the main improvement direction for the ridge algo-
rithm is to reduce the surround phenomenon of the algorithm and improve the quality of the
output image.
original denoised signal. The signal is f ðtÞ ¼ sðtÞ þ nðtÞ. s(t) refers to the original signal. n(t)
refers to the noise. Taking this signal as an example, discrete sampling is performed on the sig-
nal to obtain the discrete signal. The WT coefficients of f(t) can be obtained. The specific form
is shown in Eq (10).
j X
N 1
Wf ðj; kÞ ¼ 22 f ðnÞcð2j n kÞ ð10Þ
n¼0
In Eq (10), the calculation method for Wf(j,k) is relatively complex. ψ(t) is the analytical
expression. Therefore, the WT coefficients are transformed through a dual scale equation. The
original coefficient of change is transformed, as shown in Eq (11).
(
Sf ðj þ 1; kÞ ¼ Sf ðj; kÞ∗hðj; kÞ
ð11Þ
Wf ðj þ 1; kÞ ¼ Sf ðj; kÞ∗gðj; kÞ
In Eq (11), h stands for the low-pass filter of the scaling function φ(t). g is a high-pass filter
for the ψ(t). Sf(0,k) stands for the initial signal. Sf(j,k) stands for the approximation coefficient
on the j scale. Wf(j,k) stands for the wavelet coefficient. After obtaining a recursive implemen-
tation method for the coefficient, the equation is reconstructed. The specific form of the recon-
structed WT is shown in Eq (12).
Sf ðj ~ kÞ þ W ðj; kÞ∗~
1; kÞ ¼ Sf ðj; kÞ∗hðj; g ðj; kÞ ð12Þ
f
In Eq (12), the coefficient is ωj,k. After performing discrete WT of signal f(k), the coeffi-
cients consist of two parts. s(k) stands for the real signal, corresponding to the coefficient Ws(j,
k). The noise n(k) corresponds to the coefficient Wn(j,k). At this point, the construction of WT
equation is completed. After obtaining the denoised image output by WT, ridge wave trans-
form is used to denoise the image. The outputs of the last two algorithms are fused to improve
the denoising effect. The denoising method using ridge transform is similar to WT. Namely,
threshold processing is performed through finite ridge coefficients to get ridge transformation
coefficients obtained from noise and signal transformation. Ridged denoising is applied to
reduce image noise and improve signal-to-noise ratio. The specific process is as follows. Firstly,
the image is preprocessed, and the image size is adjusted to the prime size. Next, the image is
decomposed by finite ridge transform and the ridge coefficient is obtained. Then, the ridge
coefficient is filtered by setting the threshold to remove the noise in the image. Finally, the
processed ridged coefficients are synthesized into reconstructed images by using the inverse
transformation of finite ridged waves. After the reconstructed image is obtained, the image
can be processed using the Wiener filter to reduce the surround effect that may be caused by
the ridge denoising, which further enhances the image quality. In the wavelet threshold
denoising, setting the threshold value is a very important step, which will directly affect the
quality of the image after denoising. The classical threshold selection methods include univer-
sal threshold method, SUREShrink threshold method, heuristic threshold method and mini-
max threshold method. The most extensively applied method is the universal threshold. The
selected method is simple, which has been widely used in practical life. After determining the
threshold selection method, the TA is used to obtain the threshold. Among them, Hard TA
and Soft TA are the most common methods. The specific expression is shown in Eq (13).
8
oj;k ; joj;k j � T
>
>
>
>
>
>
> ^ ¼
o
> j;k
>
<
f 0; joj;k j < T
>
> 8
>
> < sgnðoj;k Þðoj;k TÞ; joj;k j � T
>
>
>
> ^ ¼
o ð13Þ
>
: j;k :
0; joj;k j < T
traditional universal threshold method to reduce noise can lead to excessive denoising, result-
ing in the information being removed as noise. The quality of denoised images decreases.
Among them, the image reconstructed by the Hard TA generates pseudo Gibbs lines due to
discontinuity at the threshold points, resulting in image oscillation. The Soft TA has a constant
difference between the denoised signal and the real signal, which leads to blurring and quality
degradation of the reconstructed output image. In order to overcome such shortcomings, a
more effective and applicable TA is constructed based on the understanding of the limitations
and shortcomings of traditional TA, in-depth understanding of mathematical principles, and
in-depth thinking and exploration of practical problems, as shown in Eq (14).
8 2T
>
> oj;k þ T ; oj;k � T
>
> T
>
> expðj j
n
1Þ þ 1 þ n
>
> oj;k
>
>
>
>
>
> nþ1
< 2sgnðoj;k Þjoj;k j
^ j;k ¼ h
o oj;k n i ; joj;k j < T ð14Þ
>
> expðj j 1Þ þ 1 þ n T n
>
> T
>
>
>
> 2T
>
> oj;k T þ ; oj;k � T
>
> T
>
> n
: expðj j 1Þ þ 1 þ n
oj;k
In Eq (14), n stands for the adjustment parameter. The improved TA combines the charac-
teristics of Hard TA and Soft TA to enhance the flexibility of threshold changes. It has better
noise reduction performance for larger scale images. The improved Hard TA and Soft TA are
shown in Fig 5.
In Fig 5, the improved TA still maintains continuity at ±T. When adjusting parameter
n = 0, the denoised wavelet coefficients will not change. When the adjustment coefficient
approaches positive infinity, the form of the denoised wavelet coefficient is shown in Eq (15).
8
> o þ T; oj;k � T
< j;k
^ j;k ¼ 0; joj;k j < T
o ð15Þ
>
:
oj;k T; oj;k � T
In Eq (15), the improved TA can change the wavelet parameters of the TA as the adjustment
parameters change. Increasing the value of the adjustment parameter can gradually bring the
TA closer to the Soft TA. Adjusting parameters not only makes the improved TA continuous,
but also reduces the mathematical processing difficulty. It also adjusts the adjustability of the
parameters. By repeatedly fitting, the optimal denoising effect is obtained through optimiza-
tion. WT is highly effective in describing the singularity. However, there is a lack of ability to
describe lines. Therefore, the WT in image denoising inevitably leads to blurring and distor-
tion of the image. Ridge wave transform has better performance than WT in processing
images, edges, or linear contours. Compared with WT, ridge transform can provide sparse
representation of edges, thus better preserving the linear features of the image. The specific
content of the segmented ridge denoising algorithm is shown in Fig 6.
In Fig 6, the first step is to divide the image into equally sized square blocks. Then, the size
of each small square block is converted to a prime size. The ridge wave transform decomposi-
tion is applied. A threshold is selected for denoising based on each square block. Finally, each
square block is reconstructed using inverse ridge wave transform. The denoised square blocks
are restored to their original size, and then concatenated to obtain a complete image. From
this, the steps of the algorithm can be obtained, which includes a total of 7 steps. (1) The noise
image of size N × N is divide into square image blocks of size b × B (b<N), so that these small
image blocks do not overlap with each other. The position of each small square image block in
the original image is recorded. (2) The bi-linear interpolation is reused to transform the square
image block into p × P size (where p is the minimum prime greater than b). (3) The ridge wave
transformation is performed on each square image block to retain the ridge wave coefficient
matrix for each block. (4) A threshold is selected based on the ridge coefficient matrix of each
square image block and the denoising processing is performed. (5) The processed ridge wave
coefficients are subjected to inverse ridge wave transformation to preserve the processed
square blocks and restore all square blocks to their original sizes. (6) These blocks are restored
to their original positions and glued together to form a complete image. (7) Wiener filters are
used to filter denoised images to reduce the influence of "surrounding" effects. To achieve bet-
ter denoising results in image denoising tasks, the wavelet thresholding and ridge transform
processing are combined. The specific fusion process is shown in Fig 7.
Fig 7. A hybrid algorithm based on improved threshold function and wavelet transform.
https://doi.org/10.1371/journal.pone.0306706.g007
In Fig 7, the combination steps of wavelet threshold algorithm and ridge wave algorithm
are as follows. Firstly, the noise is added to the original image. Then, the improved wavelet
threshold method is applied to denoise the noisy image. It is applied to the segmented ridge
wave transformation method for denoising noisy images. Finally, the denoised images
obtained by the two methods are selected with appropriate wavelet bases for wavelet decompo-
sition. The low-frequency and high-frequency wavelet coefficients are extracted, respectively.
The high-frequency and low-frequency parts of two sets of coefficients are added and summed,
and then the average value is taken to obtain a new set of high-frequency and low-frequency
coefficients. Finally, by applying the inverse WT, the fused image can be obtained. When
denoising images, the structure, smoothness and denoising time of the image will be affected
to a certain extent. Therefore, the denoising time, structural changes of the image after denois-
ing, image smoothness, and similarity error are studied. The performance of the four algo-
rithms is compared with objective performance indicators (the calculation is very simple, and
the experiment does not provide special calculation formulas here).
4. Result analysis
As one of the mainstream information dissemination methods, the research on denoising
technology of digital image propagation has always received a lot of attention from scholars.
To specifically reflect the performance of the image processing technology that combines the
improved TA and WT, the improved algorithm is compared with traditional image denoising
algorithms. The denoising performance in different images and noise situations is statistically
analyzed to verify the superiority.
academic institutions, such as the SIPi image database of the University of Southern California
(USC), as well as public domain resources on the Internet.
To ensure the smooth progress of the experiment, all experiments are conducted in a uni-
fied simulation environment. The parameters are set as follows. The CPU is Intel Xeon Gold
6230 20-Core Processor, 2.1 GHz. The network is 10Gbps Ethernet. The storage is 1TB NVMe
SSD. The server is Ubuntu Server 20.04 LTS. The development environment is Python. The
image processing software is the MATLAB platform. The data management tool is PostgreSQL
software. The system learning framework is PyTorch.
Gaussian noise with a variance of 0.01 is added to two test images in the experiment. Gauss-
ian noise with large noise variance usually has poor denoising effect. A higher noise variance
means that the noise signal strength is larger, which makes the noise more difficult to identify
and separate in the original signal.Traditional algorithms such as HTA, STA, Semi-Soft TA,
Mean algorithm (MA), Median algorithm (MeA), and improved threshold fusion
wavelet algorithms are used for image denoising. The objective evaluation indicators are
applied to assess the denoising effect of the image. Fig 8 displays the specific evaluation results.
In Fig 8, a black and white image with 0.01 variance Gaussian noise is denoised. The PSNR
of the fusion algorithm increased by 2.58dB, 2.31dB, 1.98dB, 1.59dB, and 1.15dB compared to
the HTA, STA, Semi-Soft TA, MA, and MeA, respectively. The MSE decreases by 0.05%,
0.10%, 0.04%, 0.06%, and 0.05%, respectively. When the amplitude of the noise increased to
0.03, the PSNR increased by 1.84%, 2.21%, 1.85%, 1.56%, and 1.71%. The MSE decreased by
0.07%, 0.10%, 0.05%, 0.05%, and 0.04%, respectively. The fusion algorithm has shown signifi-
cant improvement in both PSNR and MSE values. The traditional methods and fusion algo-
rithms are tested using color Lena images. The specific indicator gap is shown in Fig 9.
Fig 8. Comparison results of PSNR and MSE of gray images under different algorithms.
https://doi.org/10.1371/journal.pone.0306706.g008
Fig 9. Comparison results of PSNR and MSE of color images under different algorithms.
https://doi.org/10.1371/journal.pone.0306706.g009
In Fig 9, when using different algorithms to process Gaussian noise with a difference of
0.01 in the image, the PSNRs of the fusion algorithm, Hard TA, Soft TA, Semi Soft TA, MA,
and MeA were 74.25%, 71.70%, 71.94%, 72.26%, 72.66%, and 73.08%, respectively. The MSE
of the fusion algorithm was 0.21. In addition, when the amplitude of Gaussian noise increased
to 0.03, compared to traditional methods, the PSNR of the hybrid algorithm increased by
1.87%, 2.21%, 1.85%, 1.54%, and 1.68%, respectively. The MSE decreased by 0.06dB, 0.11dB,
0.05dB, 0.07dB, and 0.04dB, respectively. By comparing the above results, the PSNR of the
fusion algorithm significantly increased, while the value of MSE significantly decreased. This
also indicates that there is a small difference between the reconstructed image and the original
image. The difference between the predicted and actual values is also small, resulting in better
image quality. At the same time, the hybrid algorithm can be widely used for denoising opera-
tions on black and white images and color images. The denoising effect is very good.
All three fingerprint images are added with a mixture of Gaussian and salt and pepper
noise, with a noise density of 0.01. The denoising evaluation indicators of traditional methods
and fusion algorithms are displayed in Table 1.
Table 1 shows the denoising effect of fingerprint images with added noise. The fusion algo-
rithm is compared with other algorithms. Taking the denoising effect of fingerprint images
with serial number 1 as an example, the PSNR values increased by 3.35%, 2.01%, 2.68%, 2.51%,
and 1.80%, respectively. The MSE decreased by 0.23%, 0.13%, 0.21%, 0.13%, and 0.11%,
respectively. For sequence 1, the FOM of the Hard TA and Soft TA was 49.36 and 58.69,
respectively, while the FOM of the fusion algorithm was 83.52, indicating that the fusion algo-
rithm had better overall performance compared to the Hard TA and Soft TA. For sequence 1,
the MAE of the Soft TA was 3.34, while the fusion algorithm was 1.25, which showed that the
fusion algorithm could obtain higher prediction accuracy when denoising the fingerprint
image. The fusion algorithm still shows excellent performance for mixed noise mixed in fin-
gerprint images. This is mainly because the experimental design method introduces Hard TA
and Soft TA. The results are obtained after calculation. The values of the evaluation indicators
obtained after denoising are better than those of several other algorithms, proving that the
image denoising method that combines the improved threshold algorithm and the WT algo-
rithm can maintain high denoising performance when processing single noise or mixed noise
images. After studying the impact of image color and noise type on the performance of denois-
ing algorithms, from the structural similarity of images, the denoising performance of different
algorithms is studied. The specific evaluation indicators are shown in Table 2.
In Table 2, taking the image with serial number 1 as an example, the fusion algorithm out-
performed the Hard TA, Soft TA, Semi Soft TA, and MA by 0.973, 0.967, 0.922, and 0.979,
respectively. By comparison, the fusion algorithm had the smallest MSE, the highest PSNR,
and the highest structural similarity. This also indicates that the details of the denoised image
obtained by using fusion algorithms are more fully preserved. The image contours are
smoother, and the image clarity is also higher. To explore the smoothness of the fusion algo-
rithm’s output images, nine classic detection algorithms are selected. 1000 natural images are
selected from the standard test image library MSRA1000 to group and calculate the smooth-
ness of the output images. The study statistically analyzes the denoising performance and
image smoothness of various methods by manually marking the results. The precision and
Table 1. Denoising evaluation indicators for fingerprint images using different algorithms.
Image sequence number Evaluating indicator/dB Hard TA Soft TA Semi-Soft TA Mean algorithm Median algorithm Fusion algorithm
1 PSNR 71.13 72.04 71.57 71.82 72.21 73.53
MSE 0.0049 0.0037 0.0041 0.0039 0.0040 0.0024
FOM 49.36 58.69 77.51 68.32 71.21 83.52
MAE 4.53 3.34 2.96 3.68 2.36 1.25
2 PSNR 70.31 70.83 70.59 71.52 72.20 73.58
MSE 0.0060 0.0051 0.0055 0.0041 0.0042 0.0031
FOM 48.48 61.71 75.25 70.20 69.13 78.64
MAE 4.32 3.18 3.01 3.02 2.58 1.18
3 PSNR 70.71 71.25 71.07 72.22 72.30 73.74
MSE 0.0054 0.0050 0.0049 0.0038 0.0041 0.0023
FOM 50.24 65.89 72.84 75.85 74.56 79.63
MAE 3.96 2.93 3.28 3.27 2.81 1.27
https://doi.org/10.1371/journal.pone.0306706.t001
recall of each algorithm are also calculated. The P-R curve was plotted. The specific P-R curves
are shown in Fig 11.
In Fig 11, in addition to the RC algorithm based on global contrast, the fusion algorithm,
whether in local or global contrast, exceeded the traditional methods. The P-R curve also
shows that the Fusion algorithm has smoother changes, stable image output performance, and
significant performance improvement than existing methods. Meanwhile, in different applica-
tion environments, the noise density of the target image that denoising algorithms face varies.
Traditional HTA, STA, Semi-Soft TA, and fusion algorithms are selected for comparison. The
MSRA1000 data set is selected as the task data set. This data set is a standard test gallery for
visual saliency detection, covering a variety of scenes, such as natural scenery, urban street
scenes, indoor environments, etc. This data set is provided by Microsoft Research Asia,
MSRA, containing 1,000 high-quality color images and their corresponding saliency annota-
tions. These images are divided into 10 levels, with 100 images as one level, gradually increas-
ing the number of tests. The average structural similarity of each level is calculated. The
specific situation obtained is shown in Fig 12.
Fig 12(A) shows the SSIM values obtained by different algorithms. As the amount of data
changes, the SSIM values of all algorithms change with different amplitudes. During the entire
process of changing the amount of data, the SSIM value of the fusion algorithm remained near
98.3%. The SSIM values of other algorithms were significantly less than 98.3%. Fig 12(B)
shows the MSE values obtained by different algorithms running on the MSRA database data
set. When the amount of data reached 300 images, the fusion algorithm had the smallest MSE,
with a value of 0.114. At this time, the MSE of Hard TA and Soft TA were greater than the
MSE of the fusion algorithm, with values of 0.158 and 1.361, respectively, much larger than the
fusion algorithm. From the above results, the image obtained by using the fusion algorithm
had a high SSIM value and a low MSE value, that is, the distortion of the obtained image is
small, and the denoised image is closer to the clear image. The difference is smaller. After
examining the robustness of the algorithm, it is also necessary to analyze the calculation time
of the algorithm. The MSRA1000 images in the standard test gallery are used as the test set.
The 100 natural images are divided into 10 groups. The groups are denoised and statistically
denoised. The time spent in the process and the time spent on denoising by different methods
are shown in Fig 13.
In Fig 13, the fusion algorithm performs well in denoising time consumption. Among
them, the minimum denoising time was only 13ms. Compared to the HTA and the STA, it
saved 9ms and 3ms respectively. The improved algorithm combining threshold algorithm and
wavelet algorithm had high training efficiency. Afterwards, the denoising application
effectiveness of the denoising algorithm was tested. Therefore, in the standard test library
MSRA1000, 1000 natural images are randomly selected and divided them into 20 groups. The
denoised image is compared with the standard image to determine the similarity change. The
specific algorithm application effect is shown in Fig 14.
If the similarity error value in Fig 14 is low, the quality of the image or video is good. From
Fig 14, the similarity error of the Fusion algorithm proposed in this study was relatively low, in
which the lowest similarity error was 0.1 and the average similarity error was 0.89. The average
similarity error values of Hard TA and Soft TA were 2.63 and 1.95. This suggests that the
fusion threshold algorithm performs better in preserving image or video quality. The reason
may be that the fusion threshold algorithm can better maintain the integrity of image details in
the denoising by integrating WT technology and threshold processing strategy. This means
that the fusion algorithm can effectively reduce noise and reduce the loss of image informa-
tion. In view of this, the image denoising technology combining threshold algorithm and
wavelet algorithm shows excellent performance in output denoising image quality, denoising
calculation speed, and algorithm stability. It can better adapt to complex and ever-changing
noise environments. The algorithm has higher universality. Compared to traditional image
denoising algorithms, the fusion algorithm has stronger comprehensive denoising perfor-
mance and higher stability. It can better meet the current performance requirements of image
denoising technology.
Finally, a random image is selected from the Lena image data set. The pink noise of σ = 20
is added to the original image. In addition, the image denoising methods (Affine Non Local
Bayes, ANLB) of mixed affine and non local Bayes algorithms [25] are compared with the con-
structed experimental hybrid algorithm. The obtained image denoising results are shown in
Fig 15.
In Fig 15, the ANLB method produced more false textures in the flat areas of the denoising
results. The edges were slightly distorted, while the hybrid algorithm had advantages in both
aspects. Through subjective and objective analysis, it can be concluded that the hybrid algo-
rithm has a better noise removal effect, which produces clearer images. Then the experimental
methods in references [24, 25] were selected to compare the denoising effects with the con-
structed method, as shown in Fig 16 for details.
As can be seen from Fig 16, compared with the multi-level image denoising method based
on wavelet transform in reference [24] and the image denoising method based on Caputo dif-
fusion equation in reference [25], the image denoising technology based on fusion threshold
algorithm and wavelet algorithm designed in this study is better in the output denoising pic-
ture quality. The reason may be that this method tries to keep the integrity of image details
while removing Gaussian noise, and can achieve remarkable results in reducing mean square
error and improving peak signal-to-noise ratio.
5. Conclusion
The purpose of image denoising is to better eliminate the noise information in the image while
retaining the true signal of the image. To solve this problem, the research proposes an image
denoising method based on improved threshold function and WT. The experiment combines
the WT and finite ridgelet transform to jointly improve the output noise reduction perfor-
mance of the image. An improved threshold function is used to reconstruct the image to
improve the image quality. From the data results, after adding Gaussian noise with a variance
of 0.01 to the image, the PSNR of the image obtained by the fusion algorithm increased by
more than 1.10%. The MSE was significantly reduced by 0.06%. In terms of denoising running
time, the fusion algorithm had the lowest running time, which was only 13ms. Compared to
the Hard TA and Soft TA, it saved 9ms and 3ms respectively. In the comparison of SSIM val-
ues of different algorithms, the SSIM value of the fusion algorithm was stable at around 98.3%
during the entire process. In practical applications, the image obtained through the hybrid
algorithm is clearer and has less edge distortion texture. The above results show that the image
texture obtained after denoising by the fusion algorithm is displayed more clearly and the
denoising effect is better. However, it should be noted that the data set involved in the experi-
ment does not cover all possible noise types. Future work will be extended to more types of
noise, verifying the denoising efficiency and effectiveness of the fusion algorithm on a wider
data set.
Supporting information
S1 Dataset.
(DOC)
Author Contributions
Data curation: Bingbing Li, Hongwei Mo.
Software: Yao Cong.
Writing – original draft: Bingbing Li.
References
1. Khmag A., "Natural digital image mixed noise removal using regularization Perona-Malik model and
pulse coupled neural networks," Soft Comput., vol. 27, no. 21, pp. 15523–15532, Sep. 2023, https://
doi.org/10.1007/s00500-023-09148-y
2. Zhang Q., Xiao J., Tian C., Lin J. C., and Zhang S., "A robust deformed convolutional neural network
(CNN) for image denoising," CAAI, vol. 8, no. 2, pp. 331–342, Jun. 2022, https://doi.org/10.1049/cit2.
12110
3. AsemKhmag A. R. R., Hashim S. J., and Al-Haddad S. A. R., “Review of Image Denoising Algorithms
Based on the Wavelet Transformation,” International Journal of Advanced Trends in Computer Science
and Engineering (IJATCSE), ISSN, pp. 2278–3091, 2014, https://doi.org/10.3390/app13031837
4. Khmag A., Hashim S. J., Al-Haddad S. A. R., "Review of Image Denoising Algorithms Based on the
Wavelet Transformation," Int. J. Adv. Trends Comput. Sci. Eng. (IJATCSE), 2014, ISSN: 2278-3091.
5. Khmag A., Al Haddad S. A. R., Ramlee R. A., Kamarudin N., and Malallah F., “Natural image noise
removal using nonlocal means and hidden Markov models in transform domain,” The Visual Computer,
vol. 34, pp. 1661–1675, 2018, https://doi.org/10.1007/s11042-017-5425-z
6. Ramakanth S., Soundarresan S., Arumuganainar D., Mamgain R., and Kumaraswamy H. V., "Extrac-
tion of jet engine parameters from micro-Doppler signatures using continuous wavelet transform," IET,
vol. 15, no. 2, pp. 194–207, Feb. 2021, https://doi.org/10.1049/rsn2.12029
7. Khmag A., Ramli A. R., Al-Haddad S. A. R., et al., “Denoising of natural images through robust wavelet
thresholding and genetic programming,” The Visual Computer, vol. 33, pp. 1141–1154, 2017, https://
doi.org/10.1007/s00371-016-1273-5
8. Khmag A., Ramli A. R., Al-Haddad S. A. R., et al., “Design of natural image denoising filter based on
second-generation wavelet transformation and principle component analysis,” Journal of medical imag-
ing and health informatics, vol. 5, no. 6, pp. 1261–1266, 2015, https://doi.org/10.1166/jmihi.2015.1523
9. Xu Y., Fan S., Xie S., and Lu M., "Power quality dectection and classification in active distribution net-
works based on improved empiricial wavelet transform and disperson entropy," CSEE J. Power Energy
Syst., vol. 8, no. 6, pp. 1646–1658, Oct. 2020, https://doi.org/10.17775/CSEEJPES.2020.00110
10. Gao L., Gan Y., Shi J.. “A novel intelligent denoising method of ECG signals based on wavelet adaptive
threshold and mathematical morphology”. Appl Intell, vol. 52, no. 9, 10270–10284, 2022, https://doi.
org/10.1007/s10489-022-03182-3
11. Khare S. K., Bajaj V., and Sinha G. R., "Adaptive tunable Q wavelet transform-based emotion identifica-
tion," IEEE Trans. Instrum. Meas., vol. 69, no. 12, pp. 9609–9617, Jul. 2020, https://doi.org/10.1109/
TIM.2020.3006611
12. Qiao W., Li Z., Liu W., and Liu E., "Fastest-growing source prediction of US electricity production based
on a novel hybrid model using wavelet transform," Int. J. Energy Res., vol. 46, no. 2, pp. 1766–1788,
Oct. 2021, https://doi.org/10.1002/er.7293
13. Fu Q., Yan K., Gan H., Hu D.. “Application of wavelet threshold function optimization algorithm in metal
parts”. Microelectron Comput, vol. 39, no. 2, 92–100, 2022, https://doi.org/10.19304/J.ISSN1000-
7180.2021.0673
14. Begum M., Ferdush J., and Uddin M. S., "Ahybrid robust watermarking system based on discrete cosine
transform, discrete wavelet transform, and singular value decomposition," J. King Saud univ. - Comput.
Inform. Sci., vol. 34, no. 8, pp. 5856–5867, Sep. 2022, https://doi.org/10.1016/j.jksuci.2021.07.012
15. Xu H., Zheng J., Qin M., and Chen W., "Hyperspectral image denoising using structural matrix optimiza-
tion," J. Comput. Aid. Des. Comput. Graph., vol. 33, no. 1, pp. 68–80, Nov. 2021, https://doi.org/10.
3724/SP.J.1089.2021.18159
16. Hamrita M. E., Abdallah N. B., and Mabrouk A. B., “A wavelet method coupled with quasi-self-similar
stochastic processes for time series approximation,” International Journal of Wavelets, Multiresolution
and Information Processing, vol. 9, no. 05, pp. 685–711, 2011, https://doi.org/10.1142/
S0219691311004353
17. Benhassine N. E., Boukaache A., Boudjehem D.. “Medical image denoising using optimal thresholding
of wavelet coefficients with selection of the best decomposition level and mother wavelet.” Int J Imaging
Syst Technol, vol. 31, no.4, pp. 1906–1920, May, 2021, https://doi.org/10.1002/ima.22589
18. Onur T. O.. “Improved image denoising using wavelet edge detection based on Otsu’s thresholding.”
Acta Polytech Hung, vol. 19, no.2, pp. 79–92, 2022.
19. Guo H., Yue L., Song P., Tan Y., Zhang L.. “Denoising of an ultraviolet light received signal based on
improved wavelet transform threshold and threshold function”. Appl Opt, vol. 60, no. 28, pp. 8983–
8990, 2021, https://doi.org/10.1364/AO.437674 PMID: 34613128
20. Zeglaoui A., Ben Mabrouk A., and Kravchenko O. V., “Wavelet neural networks functional approxima-
tion and application,” International Journal of Wavelets, Multiresolution and Information Processing, vol.
20, no. 04, pp. 2150060, 2022, https://doi.org/10.1142/S0219691321500600
21. Wang X., Cheng M., Eaton J., Hsieh C. J., and Wu S. F., "Fake node attacks on graph convolutional net-
works," JCCE, vol. 1, no. 4, pp. 165–173, Oct. 2022, https://doi.org/10.47852/bonviewJCCE2202321
22. Wu F., Bian W.. “Accelerated iterative hard thresholding algorithm for l^0 regularized regression problem”.
J. Global Optim., vol. 76, no. 4, pp. 819–840, Aug, 2020, https://doi.org/10.1007/s10898-019-00826-6
23. Liu H., Foygel Barber R.. “Between hard and soft thresholding: optimal iterative thresholding algorithm”.
Inf. Inference, vol. 9, no. 4, pp. 899–933, Dec, 2020, https://doi.org/10.1093/imaiai/iaz027
24. Wang G. and Zhao H., "Robust Adaptive Least Mean M-Estimate Algorithm for Censored Regression,"
in IEEE Transactions on Systems, Man, and Cybernetics: Systems, vol. 52, no. 8, pp. 5165–5174,
Aug. 2022, https://doi.org/10.1109/TSMC.2021.3120272
25. Xu H, Jia X, Cheng L, Huang H. Affine non-local Bayesian image denoising algorithm. The Visual Com-
puter, vol. 39, no. 1, pp. 99–118, 2023, https://doi.org/10.1007/s00371-021-02316-x