I.INTRODUCTION

Image denoising methods usually obtain degradation models via y=x+v to recover a clean image x, where y denotes a given noisy image and v is an additive white Gaussian noise of standard deviation σ [1]. According to that, traditional image denoising methods can be divided into spatial pixel feature methods based on filters [2] and transforming domain methods [3] in image denoising. Specifically, the mentioned spatial pixel feature methods based on filters usually use filters (i.e., linear filter [4] and nonlinear filter [5]) to suppress noise for obtaining a latent clean image. Besides, the transforming domain methods [6], priori knowledge [7] and Markov methods [8] were also effective for image denoising. Although these methods have obtained good denoising effects, they are limited by the following aspects. First, they need manual selecting parameters to improve denoising performance. Second, they depended on complex optimization algorithms to improve effects on image denoising.

Deep networks, especially convolutional neural networks (CNNs), are black boxes, which can automatically learn useful information for image denoising [9]. For instance, a denoising CNN (DnCNN) [10] embedded batch normalization (BN) [11] and activation function of ReLU [12] to address the image denoising problem. To reduce the computational cost, noisy mapping and noisy images are cut to patches as inputs of deep network to train a denoiser [13]. To improve the denoising effect, two subnetworks extract complementary features to train a robust denoiser [14]. These CNNs have performed well in image denoising. Also, they show that different components may be useful for image denoising. Inspired by that, we propose a hybrid denoising CNN (HDCNN). HDCNN is composed of a dilated block (DB), RepVGG block (RVB), feature refinement block (FB), and a single convolution. DB combines a dilated convolution, BN, common convolutions, and activation function of ReLU to obtain more context information. RVB uses parallel combination of convolution, BN, and ReLU to extract complementary width features. FB is used to obtain more accurate information via refining obtained feature from the RVB. A single convolution collaborates a residual learning operation to construct a clean image.

This paper has the following contributions:

  • (1)We use simple components to implement an efficient denoising network.
  • (2)RVB in a CNN can extract complementary width features in image denoising.
  • (3)The simultaneous use of serial and parallel architecture to improve denoising performance.
  • (4)This paper can be used for blind denoising.
The remaining parts of this paper have the following originations.

Section II illustrates related work. Section III gives the proposed method. Section IV shows experiments. Section IV summaries and concludes the whole paper.

II.RELATED WORK

A.DEEP CONVOLUTIONAL NEURAL NETWORKS FOR IMAGE DENOISING

Due to strong expressive abilities, CNNs have been widely used for image restoration [15], such as image denoising [16]. Designing network architecture is effective for image denoising [5]. For instance, Lan et al. [17] fused residual block into a CNN to suppress noise for obtaining clean images. Shi et al. [18] integrated hierarchical features to obtain richer information to improve denoising results. Gai et al. combined a residual CNN, leaky rectified linear units (Leaky ReLU), perceptive loss, and edge information to enhance learning ability of designed denoising network [19]. Mao et al. used an encoder–decoder architecture with skip connections to obtain a symmetric network for mining detailed information in image restoration [20]. Liu et al. [21] used single processing techniques, i.e., wavelet idea and CNN to implement a good performance in image denoising. Inspired by that, we also use deep CNNs for image denoising in this paper.

B.REPVGG

According to VGG, it is known that enlarging the depth of CNN can improve performance in image processing [22]. Alternatively, enlarging the width of CNN (GoogLeNet) can extract more features in image applications [23]. However, deeper CNN may suffer from gradient vanishing or gradient exploding [24]. Also, wider CNN is easier to overfitting [24]. To overcome the phenomenon, He et al. [24] added output of previous layer and output of current layer as output of current layer to implement an efficient CNN (residual CNN) for image recognition. According to mentioned illustrations, Ding et al. used the merits of VGG, GoogLeNet, and residual CNN to obtain a CNN (RepVGG) for making a tradeoff between performance and speed in image recognition [25]. Based on the analysis to the existing work, this paper presents the parallel combination of convolution of 3×3, convolution of 1×1, and BN to obtain excellent performance in image classification [25], which consumes less memory for real devices. For pursuing better performance, we introduce RepVGG into a CNN for image denoising in this paper.

C.DILATED CONVOLUTION

Although CNNs rely on their layers to extract rich features, interactions of different layers are important for image applications, according to Ref. [24]. Thus, capturing more context information is key to design an efficient CNN. There are two ways to obtain more context information. First, enlarging the depth or width of CNNs can enlarge the receptive field to mine more context features. However, they will increase difficulties of training CNNs, according to the introduction of Section II.B. Furthermore, they may take more memory, which is not suitable to real devices. Thus, the second way is developed. That is, dilated convolution uses dilated factor to obtain more accurate context information for making a tradeoff between performance and computational costs [26,27]. Based on its strong performance, it has been used for image denoising [28].

Tian et al. used dilated convolution into a CNN to train a fast denoiser [29]. Trung et al. combined dilated convolution, BN, perceptual loss, and CNN to obtain clean CT images, which can provide the help for doctors [30]. According to these explanations, we can see that dilated convolution is very suitable in image denoising. Thus, we can use dilated convolution in a CNN to suppress noise in this paper.

III.THE PROPOSED METHOD

A.NETWORK ARCHITECTURE

We propose a 34-layer hybrid DnCNN containing DB, RVB, FB, and a single convolution. DB combines dilated convolutions, BN, common convolution, and activation function of ReLU to obtain more context information. RVB uses parallel combination of convolution, BN and ReLU, to extract complementary width features. FB is used to obtain more accurate information via refining obtained feature from the RVB. A single convolution collaborates a residual learning operation to construct a clean image. To clearly show the process of the designed HDCNN in Fig. 1, we use an equation to present mentioned illustrations as follows:

Ic=HDCNN(In)=In-C(FB(RVB(DB(In)))),
where HDCNN denotes the function of HDCNN, Ic and In are a precited clean image and given noisy image, respectively. DB, RVB, FB, and C express functions of DB, RVB, FB, and a single convolution, respectively. Additionally, “-” is a residual operation, which is equal to in Fig. 1. Parameters of HDCNN can obtained by Section III.B.

Fig. 1. Network architecture of the proposed HDCNN.

B.LOSS FUNCTION

The HDCNN is trained by the loss function of mean square error (MSE) [31] and training pairs {Ini,ICi}, where Ini and ICi denote the ith noisy image and reference clean image, i=1,2,3,4,N and N stands for the number of noisy images. This process can be formulated as Eq. (2).

l(θ)=12Ni=1NHDCNN(Ini)ICi2,
where θ is the parameter set and l is the loss function. Besides, parameters of training process can be optimized via Adam [32].

C.DILATED BLOCK

The DB consists of 7 layers, which are used to obtain more context information. The 1st, 2nd, 4th, 5th, 6th, and 7th layers are composed of Conv+BN + ReLU, which is equal to the combination of a convolutional layer, BN, and ReLU. The 3rd layer includes a dilated convolution, BN, and ReLU, which is also represented as dilated Conv+BN + ReLU. The dilated convolution is used to obtain more context information [26]. BN can accelerate the training speed [11]. ReLU is used to transform linear features to nonlinearity [12]. And input and channel number of the 1st layer are 3 and 64, respectively. Input and channel numbers besides the 1st layer in the DB are 64. Sizes of all the kernels are 3×3. The mentioned procedure can be shown as Eq. (3).

ODB=DB(In)=RBC(RBC(RBC(RBC(RBDC(RBC(RBC(In))))))),
where RBC denotes the Conv+BN + ReLU and RBDC is dilated Conv+BN + ReLU. ODB is the output of DB, which acts RVB.

D.REPVGG BLOCK

The 22-layer RVB uses a parallel mechanism to obtain complementary features. The parallel mechanism contains 22 RepVGG subblocks, and each RepVGG subblock contains three paths of BN, 3×3 Conv+BN, and 1×1 Conv+BN. It outputs three paths, and they can be fused via a residual operation. Subsequently, it acts as a ReLU. Specifically, 3×3 Conv+BN denotes a combination of a convolution layer with 3×3 and BN. 1×1 Conv+BN is a combination of a convolution layer with 1×1. Input and output channel numbers of all the layers are 64. The introduction above can be explained as follows:

ORVB=RVB(ODB)=22RepVGGSubBlock(ODB),
RepVGGSubBlock(x)=R(B(x)+BC(x)+BC1(x)),
where 22RepVGGSubBlock denotes 22 stacked RepVGG subblocks. We assume that x is the input of RepVGGSubBlock.

E.FEATURE REFINEMENT BLOCK

The 4-layer FB uses two types to obtain more accurate information. The first type is Conv+BN + ReLU, which is used as the first and second layers in the feature refinement block. The second type is Conv+ReLU, which is used as the third and fourth layers in the feature refinement block. Conv+ReLU denotes the combination of a convolution layer and ReLU. And its channel number of their inputs and outputs is 64. Sizes of their kernels are 3×3. The description can be shown in Eq. (6).

OFB=FB(ORVB)=RB(RB(RCB(RCB(ORVB)))),

F.CONSTRUCTION CLEAN IMAGES

A single convolution layer and a residual operation are used to construct clean images. Input and output channel numbers are 64 and 3. The mentioned illustrations are as follows Eq. (7).

Ic=InC(OFB),

IV.EXPERIMENTS

A.DATA SETS

1)TRAINING DATA SET AND TEST DATA SETS

We use 432 images with size of 481 × 321 from Berkeley Segmentation Data set (BSD) [33] to train a Gaussian synthetic gray image denoising model. To improve training speed, we randomly divide a training image into patches of size 48×48. Additionally, each training image is operated via one of eight ways: original image, 90°, 180°, 270°, original image with flopped itself horizontally, 90° with flopped itself horizontally, 180° with flopped itself horizontally, and 270° with flopped itself horizontally.

For test data sets, we use three public data sets, i.e., BSD68 [33] and Set12 [33] to conduct comparative experiments.

B.IMPLEMENTATION DETAILS

The initial parameters are learning rate of 1e-4, batch size of 64, patch size of 48, and the number of epochs is 50. The learning rates vary from 1e-4 to 1e-7 for 50 epochs. That is, learning rates from the 1st to the 20th epochs are 1e-4. Learning rates from the 21th to the 35th epochs are 1e-5. Learning rates from the 36th to the 45th epochs are 1e-6. Learning rates from the 46th to the 50th epochs are 1e-7. And other parameters can refer to Ref. [34].

We apply Pytorch 1.10.2 [35] and Python 3.8.12 to implement codes of HDCNN. Specifically, all the experiments are conducted on the Ubuntu 20.04.2 with two Intel(R) Xeon(R) Silver 4210 CPU @ 2.20GHz, RAM 128G, and four Nvidia GeForce GTX 3090 GPU. Finally, the Nvidia CUDA of 11.1 and cuDNN of 8.0.4 are used to accelerate the training speed of GPU.

C.NETWORK ANALYSIS

To test the validity of key techniques in the proposed method, we designed the following experiments. As shown in Table I, we can see that HDCNN outperforms HDCNN without DB on BSD68 for σ=15, which shows that DB is effective for image denoising. HDCNN has obtained higher PSNR value than that of HDCNN without RVB, which tests the effectiveness of RVB in image denoising. HDCNN is superior to HDCNN without FB, which verifies the effectiveness of FB in image denoising. HDCNN exceeds HDCNN without BN, which shows the effectiveness of BN for image denoising. HDCNN has obtained better performance than that of HDCNN without dilated convolution, which tests the effectiveness of dilated convolution for image denoising.

Table I PSNR (dB) results of several networks from BSD68 with σ=15

MethodsPSNR (dB)
HDCNN31.74
HDCNN without FB31.61
HDCNN without RVB31.62
HDCNN without dilated convolution31.74
HDCNN without BN31.69
HDCNN without DB31.73

According to mentioned illustrations, we can see the effectiveness of key components in the HDCNN for image denoising.

D.COMPARISONS WITH STATE-OF-THE-ART DENOISING METHODS

We use qualitative and quantitative analysis to test the performance of HDCNN for image denoising. In terms of qualitative analysis, we use popular denoising methods, i.e., block-matching and 3-D filtering (BM3D) [36], weighted nuclear norm minimization (WNNM) [37], expected patch loglikelihood (EPLL) [38], trainable nonlinear reaction diffusion (TNRD) [39], DnCNN [10], image restoration CNN (IRCNN) [40], fast and flexible denoising convolutional neural network (FFDNet) [13], and enhanced CNN denoising network (ECNDNet) [29] as comparative methods on BSD68 and Set12 to conduct experiments. Specifically, we use noise levels from 0 to 55 on BSD68 and Set12 to train a blind denoising.

In terms of quantitative analysis, we use predicted clean images of different methods on Set12 for σ=15 and σ=25 to enlarge an area as observation area, where observation areas are clearer, their corresponding methods have better denoising performance. Detailed analysis of mentioned illustrations is shown as follows.

As shown in Table II, we can see that the proposed method has obtained the best denoising results on BSD68 for σ=15 and σ=25. Also, it has obtained the second best denoising results on BSD68 for σ=50. Blind denoising network as well as HDCNN-B is competitive to other poplar denoising method, i.e., TNRD. Besides, HDCNN and HDCNN-B are effective for single noisy image denoising, as shown in Table III. For instance, our HDCNN has obtained the best result for image denoising in Table III. The best and second denoising are marked by red and blue lines, respectively. As mentioned in Introduction section, our HDCNN is effective for image denoising and blind denoising in terms of qualitative analysis.

Table II Average PSNR (dB) of different methods on BSD68 with different noise levels of 15, 25, wand 50

MethodsBM3D[36]WNNM[37]EPLL[38]TNRD[39]DnCNN[10]IRCNN[40]FFDNet[13]ECNDNet[29]HDCNNHDCNN-B
σ = 1531.0731.3731.2131.4231.7231.6331.6231.7131.7431.43
σ = 2528.5728.8328.6828.9229.2329.1529.1929.2229.2528.96
σ = 5025.6225.8725.6725.9726.2326.1926.3026.2326.2325.98

Table III Average PSNR (dB) results of different methods on Set12 with noise levels of 15, 25, and 50

ImagesC.manHousePeppersStarfishMonarchAirplaneParrotLenaBarbaraBoatManCoupleAverage
Noise Levelσ = 15
BM3D[36]31.9134.9332.6931.1431.8531.0731.3734.2633.1032.1331.9232.1032.37
WNNM[37]32.1735.1332.9931.8232.7131.3931.6234.2733.6032.2732.1132.1732.70
EPLL[38]31.8534.1732.6431.1332.1031.1931.4233.9231.3831.9332.0031.9332.14
TNRD[39]32.1934.5333.0431.7532.5631.4631.6334.2432.1332.1432.2332.1132.50
DnCNN[10]32.6134.9733.3032.2033.0931.7031.8334.6232.6432.4232.4632.4732.86
IRCNN[40]32.5534.8933.3132.0232.8231.7031.8434.5332.4332.3432.4032.4032.77
ECNDNet[13]32.5634.9733.2532.1733.1131.7031.8234.5232.4132.3732.3932.3932.81
HDCNN32.5135.1733.2232.2333.2031.6931.8634.5732.6032.3932.3632.4632.86
HDCNN-B31.8734.6732.7931.8732.6231.3831.5634.2731.8032.1132.2032.1232.44
Noise Levelσ = 25
BM3D[36]29.4532.8530.1628.5629.2528.4228.9332.0730.7129.9029.6129.7129.97
WNNM[37]29.6433.2230.4229.0329.8428.6929.1532.2431.2430.0329.7629.8230.26
EPLL[38]29.2632.1730.1728.5129.3928.6128.9531.7328.6129.7429.6629.5329.69
TNRD[39]29.7232.5330.5729.0229.8528.8829.1832.0029.4129.9129.8729.7130.06
DnCNN[10]30.1833.0630.8729.4130.2829.1329.4332.4430.0030.3230.1030.1230.43
IRCNN[40]30.0833.0630.8829.2730.0929.1229.4732.4329.9230.1730.0430.0830.38
ECNDNet[13]30.1133.0830.8529.4330.3029.0729.3832.3829.8430.1430.0330.0330.39
HDCNN30.0333.2830.7529.4230.3729.1129.4332.5330.0330.2330.0130.1430.44
HDCNN-B29.5932.7530.5529.0630.1328.8829.1332.1229.1729.8829.8529.7730.06
Noise Levelσ = 50
BM3D[36]26.1329.6926.6825.0425.8225.1025.9029.0527.2226.7826.8126.4626.72
WNNM[37]26.4530.3326.9525.4426.3225.4226.1429.2527.7926.9726.9426.6427.05
EPLL[38]26.1029.1226.8025.1225.9425.3125.9528.6824.8326.7426.7926.3026.47
TNRD[39]26.6229.4827.1025.4226.3125.5926.1628.9325.7026.9426.9826.5026.81
DnCNN[10]27.0330.0027.3325.7026.7825.8726.4829.3926.2227.2027.2426.9027.18
IRCNN[40]26.8829.9627.3325.5726.6125.8926.5529.4026.2427.1727.1726.8827.14
ECNDNet[13]27.0730.1227.3025.7226.8225.7926.3229.2926.2627.1627.1126.8427.15
HDCNN27.2030.0427.4725.7326.8925.8226.2929.5026.1427.1627.2326.9327.20
HDCNN-B26.5529.3126.8125.3226.3325.5526.1829.0725.5126.8726.9726.4726.75

As shown in Figs. 2 and 3, we can see that the proposed method has obtained clearer images than that of other methods. This shows that our method is competitive with these popular methods for image denoising in terms of quantitative analysis. Besides, we can see that the proposed HDCNN outperforms other denoising methods in Figs. 4 and 5. According to the above descriptions, our method is effective for image denoising and blind denoising.

Fig. 2. Denoising results of different methods on one image from Set12 with σ = 15. (a) Original image, (b) noisy image, (c) BM3D/31.37, (d) DnCNN/31.83, (e) FFDNet/31.84, (f) HDCNN/31.86.

Fig. 3. Denoising results of different methods on one image from Set12 with σ = 25. (a) Original image, (b) noisy image (c) BM3D/29.25, (d) DnCNN/30.28, (e) FFDNet/30.31, (f) HDCNN/30.37.

Fig. 4. Denoising results of different methods (i.e., DnCNN, IRCNN, ECNDNet, and HDCNN) on Set12 for noise level of 25.

Fig. 5. Denoising results of different methods (i.e., DnCNN, IRCNN, ECNDNet, and HDCNN) on Set12 for noise level of 50.

V.CONCLUSIONS

In this paper, we propose a HDCNN, which mainly uses several blocks (i.e., a DB, RVB, and feature refinement block) to implement a robust denoising network. DB is used to obtain more context information via the combination of a dilated convolution, BN, common convolution, and ReLU. RVB is used to obtain extract complementary width features through parallel combination of convolution, BN, and ReLU. FB is used to obtain more accurate information. The simultaneous use of these key components has obtained good performance for image denoising and blind denoising.