<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">JCC</journal-id><journal-title-group><journal-title>Journal of Computer and Communications</journal-title></journal-title-group><issn pub-type="epub">2327-5219</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/jcc.2022.102006</article-id><article-id pub-id-type="publisher-id">JCC-115608</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Computer Science&amp;Communications</subject></subj-group></article-categories><title-group><article-title>
 
 
  Image Rain Removal Using Conditional Generative Networks Incorporating
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Fangyan</surname><given-names>Zhang</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Xinzheng</surname><given-names>Xu</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Peng</surname><given-names>Wang</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>School of Intelligent Engineering and Technology, Ningxia University, Yinchuan, China</addr-line></aff><pub-date pub-type="epub"><day>10</day><month>02</month><year>2022</year></pub-date><volume>10</volume><issue>02</issue><fpage>72</fpage><lpage>82</lpage><history><date date-type="received"><day>10,</day>	<month>February</month>	<year>2022</year></date><date date-type="rev-recd"><day>25,</day>	<month>February</month>	<year>2022</year>	</date><date date-type="accepted"><day>28,</day>	<month>February</month>	<year>2022</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  
    The research of removing rain from pictures or videos has always been an important topic in the field of computer vision and image processing. Most noise reduction methods more or less remove texture details in rain-free areas, resulting in an over-smoothing effect in the restored background. The research on image noise removal is very meaningful. We exploit the powerful generative power of a modified generative adversarial network (CGAN) by enforcing an additional condition that makes the derained image indistinguishable from its corresponding ground-truth clean image. An efficient and lightweight attention machine mechanism NAM is introduced in the generator, and an IDN-CGAN model is proposed to capture image salient features through attention operations. Taking advantage of the mutual information in different dimensions of the features to further suppress insignificant channels or pixels to ensure better visual quality, we also introduce a new fine-grained loss function in the generator-discriminator pair, predicting and real data degree of disparity to achieve improved results. 
  
 
</p></abstract><kwd-group><kwd>Attention Mechanism</kwd><kwd> Conditional Production Adversarial Network</kwd><kwd>  Loss Function</kwd><kwd> Image Deraining</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>In this era of ubiquitous use of mobile phones, images captured by mobile phone cameras in adverse weather conditions will degrade, greatly affecting the visual quality of the images. To improve the overall quality of these degraded images and ensure the performance of enhanced vision algorithms. Commonly used computer vision algorithms, such as autonomous driving [<xref ref-type="bibr" rid="scirp.115608-ref1">1</xref>], semantic segmentation [<xref ref-type="bibr" rid="scirp.115608-ref2">2</xref>], and object tracking [<xref ref-type="bibr" rid="scirp.115608-ref3">3</xref>], all require clean images as input and thus tend to fail in bad weather conditions. Image deraining and noise removal to restore clean images are indispensable preprocessing processes for these computer vision algorithms. Specifically, image deraining and noise removal focus on removing rain streaks [<xref ref-type="bibr" rid="scirp.115608-ref4">4</xref>] and denoising [<xref ref-type="bibr" rid="scirp.115608-ref5">5</xref>] from images, respectively, by solving a linear decomposition problem. Mathematically, a rainy image can be decomposed into two separate images: one corresponding to the rain streaks and the other corresponding to the clean background image (see <xref ref-type="fig" rid="fig1">Figure 1</xref>).</p><p>Recent studies on image noise removal are based on data-driven methods. Whereas data-driven methods, such as [<xref ref-type="bibr" rid="scirp.115608-ref6">6</xref>], enable models to learn more robustly and flexibly with the help of large labeled datasets, which often results in robust models with better performance. But it is not very friendly to the details of rain removal. In this paper, we study the effectiveness of conditional generative adversarial network (GAN) in solving this problem. Specifically, we propose an integrated attention mechanism NAM’s De-raining NAM Conditional Generative Adversarial Network (IDN-CGAN) uses a conditional GAN framework to visually enhance images degraded by rainfall.</p></sec><sec id="s2"><title>2. Related Theories</title><sec id="s2_1"><title>2.1. Generative Adversarial Networks: Generative Adversarial Nets</title><p>Generative Generative Adversarial Nets [<xref ref-type="bibr" rid="scirp.115608-ref7">7</xref>] (Generative Adversarial Nets, GAN) is the product of the combination of game theory and deep learning. It is an unsupervised probability distribution learning method that learns the distribution of real data, generating new datasets with high similarity. GAN consists of generator and discriminator. The generator learns the distribution of real sample data and generates the most realistic fake data. The discriminator is essentially a dual classifier that needs to identify whether the input data is a real sample or fake data generated by the generator. The main purpose of the generator is to try to generate fake data that is similar to the real data, and the main purpose of the discriminator is to try to distinguish the real data from the fake data. Therefore, the training process of Generative Adversarial Network is like a game game. In all possible function sums, find the equilibrium solution of both sides.</p><p>In order to learn the data distribution of the generator on the data x, first define a random noise variable z, which can be mapped to the corresponding data</p><p>space by the generator, which is defined as the function of the multi-layer perceptron representation in the generative adversarial model. Because it is the function represented by the second multilayer perceptron. Where D(x) represents the real data x. When training the model, we use Dl to take the maximum value of the probability value of the real sample and the generated sample, so it can be minimized to the training summation. In this case, the value function is played by the discriminator and the generator. The optimal solution has been reached, and an equilibrium solution for both sides is found.</p><p>min G max D V ( D , G ) = E x ~ p d a t a ( x ) [ log D ( x ) ] + E z ~ p z ( z ) [ log ( 1 − D ( G ( z ) ) ) ] (1)</p></sec><sec id="s2_2"><title>2.2. Conditional Generative Adversarial Networks</title><p>The CGAN is the abbreviation of Conditional Generative Adversarial Nets [<xref ref-type="bibr" rid="scirp.115608-ref8">8</xref>], also known as Conditional Generative Adversarial Network. CGAN is an extended model of the original GAN, which adds a condition to the Generative Adversarial Network, making the Generative Adversarial Network a supervised learning. Both the generator and the discriminator add the corresponding information y as the training condition. In the generative model, the prior input noise p(z) and the conditional information y together form the joint hidden layer representation. In this way, in the Formula (2) mentioned above, a condition is added to allow the network to perform a minimax game under the condition y:</p><p>min G max D V ( D , G ) = E x ~ p d a t a ( x ) [ log D ( x / y ) ] + E z ~ p z ( z ) [ log ( 1 − D ( G ( x / y ) ) ) ] (2)</p></sec><sec id="s2_3"><title>2.3. Attention Mechanism NAM</title><p>Attention mechanism is one of the hotspots of research in recent years. It helps deep neural networks suppress less significant pixels or channels. The Attention Mechanism (Normalization-based Attention Module, NAM) [<xref ref-type="bibr" rid="scirp.115608-ref9">9</xref>] proposed in 2021 is to use the contribution factor of the weight to improve the attention mechanism. Using a batch-normalized scale factor, utilizes a variance measure of the weights of the trained model to highlight salient features. This avoids adding the fully connected and convolutional layers used in (Bottlenet Attention Module, BAM) and (Convolutional Block Attention Module, CBAM).</p><p>NAM as an efficient and lightweight attention mechanism. The module integration from CBAM was adopted and the channel and spatial attention submodules were redesigned. A NAM module is embedded at the end of each network block. For residual networks, it is embedded at the end of the residual structure. For the channel attention submodule, a scale factor from batch normalization (BN) is used, as shown in publicity (3). The scale factor measures the variance of the channels and indicates their importance.</p><p>B o u t = B N ( B i n ) = γ B i n − μ Β σ Β 2 − ε + β (3)</p><p>Among them, μ Β and σ Β are the mean and standard deviation of the minimum batch B, respectively γ and β are trainable affine transformation parameters (scale and displacement). The channel attention sub-module is shown in <xref ref-type="fig" rid="fig2">Figure 2</xref> and Equation (4), where M c represents the output feature. γ is the scale factor of each channel, and the weight is W γ = γ i / ∑ j = 0 γ j . A scale factor of BN is applied to the spatial dimension to measure the importance of pixels. Name it Pixel Normalization. The corresponding spatial attention sub-module is shown in <xref ref-type="fig" rid="fig3">Figure 3</xref> and Equation (5), where the output is represented as Ms, λ is the scale factor, and the weight is W λ = λ i / ∑ j = 0 λ j .</p><p>To suppress less significant weights, we add a regularization term to the loss function, as shown in Equation (6). where x is the input, y is the output, and W is the network weight, l ( ⋅ ) represents the loss function, g ( ⋅ ) is the l 1 -norm penalty function, and p is the penalty function of the balance functions g ( γ ) and g ( λ ) .</p><p>M c = s i g m o i d ( W γ ( B N ( F 1 ) ) ) (4)</p><p>M s = s i g m o i d ( W λ ( B N s ( F 2 ) ) ) (5)</p><p>l o s s = ∑ ( x , y ) l ( f ( x , W ) , y ) + p ∑ g ( γ ) + p ∑ g ( λ ) (6)</p></sec></sec><sec id="s3"><title>3. The Proposed Method</title><sec id="s3_1"><title>3.1. Defining the Loss Function</title><p>Generative Adversarial Networks are not stable during training, we address this problem by introducing a perceptual loss into the network. A new refinement</p><p>loss function is proposed. Specifically, we combine pixel-to-pixel loss, perceptual loss, and adversarial loss with appropriate weights to form our new refinement loss function. The new loss function is then defined as follows:</p><p>L R P = λ e L E + λ a L A + λ p L P (7)</p><p>where L A represents the adversarial loss (loss of the discriminator D) function, L p is the perceptual loss function, L E is the normal per-pixel loss function. Here, λ e , λ a , and λ p are the predefined weights for perceptual loss and adversarial loss, respectively. If we set both λ a and λ p to 0, then the network reduces to a normal CNN configuration. If λ p is set to 0, the network will reduce to a normal GAN. If λ a is set to 0, the network reduces to the structure proposed in [<xref ref-type="bibr" rid="scirp.115608-ref10">10</xref>]. The three loss functions are defined as follows. Given an image { x , y b } with C channel. Given an image { x , y b } with C channel, width W and height H (i.e. C &#215; W &#215; H ), where is the input image x and y b is the corresponding ground truth, the per-pixel loss function is defined as:</p><p>L E = 1 C W H ∑ c = 1 C ∑ x = 1 W ∑ y = 1 H ‖ Φ E ( X ) c , w , h − ( y b ) c , w , h ‖ 2 2 (8)</p><p>where Φ E is the learning network G used to generate the derained image output. Suppose the output size of some advanced layers is C i &#215; W i &#215; H i . Likewise, the perceptual loss is also defined as:</p><p>L P = 1 C i W i H i ∑ c = 1 C i ∑ w = 1 W i ∑ h = 1 H i ‖ V ( Φ E ( X ) ) c , w , h − V ( y b ) c , w , h ‖ 2 2 (9)</p><p>Among them, V represents a nonlinear CNN transformation. Our goal is to minimize the distance between features. Given a set of N rain images.</p></sec><sec id="s3_2"><title>3.2. Generators with Symmetrical Structure</title><p>Since the goal of single image rain removal is to generate pixel-level rain removal images, the generator should be able to remove rain streaks as much as possible without losing the detailed information of the background image. Therefore, the key to removing rain from a single image is to design a good generated by generator { Φ E ( X ) } i = 1 N , the entropy loss of the discriminator is defined as:</p><p>L A = − 1 N ∑ i = 1 N log ( D ( Φ E ( X ) ) ) (10)</p>Conditional Generative Network Incorporating Attention Mechanism NAM<p>In this section, we design a generative adversarial network model by incorporating the conditional generative network of the attention mechanism NAM for the problem of image rain removal. The entire network model architecture consists of two main parts, the first part generates images that are similar to the original images. The second part is to judge the most similar generated image by the contextual semantics of the original image, and iterate the first two steps through back-propagation. In this paper, the conditional generation network incorporating the attention mechanism NAM for image deraining model IDN-CGAN is shown in <xref ref-type="fig" rid="fig4">Figure 4</xref>, which clearly expresses the core idea of this chapter. The image features obtained by IDN-CGAN have good generality and generalization ability.</p><p>Since the goal of single image rain removal is to generate pixel-level rain removal images, the generator should be able to remove rain streaks as much as possible without losing the detailed information of the background image. Therefore, the key to removing rain from a single image is to design a good structure to generate a rain-removing image. Existing solutions, such as sparse coding- based methods [<xref ref-type="bibr" rid="scirp.115608-ref11">11</xref>] [<xref ref-type="bibr" rid="scirp.115608-ref12">12</xref>] [<xref ref-type="bibr" rid="scirp.115608-ref13">13</xref>], and neural network-based methods [<xref ref-type="bibr" rid="scirp.115608-ref14">14</xref>], all adopt a symmetric (encoding-decoding) structure. In these methods, a symmetric structure is used to form the generator network. The generator G directly learns the end-to-end mapping from the input rain image to the corresponding ground truth. In contrast to existing adversarial networks that use U-Net [<xref ref-type="bibr" rid="scirp.115608-ref15">15</xref>] [<xref ref-type="bibr" rid="scirp.115608-ref16">16</xref>] or ResNet [<xref ref-type="bibr" rid="scirp.115608-ref17">17</xref>] for occlusion-image-to-image translation in the generator, we use the recently introduced densely connected block [<xref ref-type="bibr" rid="scirp.115608-ref18">18</xref>]. These dense blocks allow gradients to flow, increasing parameter efficiency. Each layer in the dense block consists of three consecutive operations, batch normalization (BN), leaky rectified linear unit with leaky linear rectification function (Leaky ReLU), and 3 &#215; 3 convolution. Each dense block is followed by a transition block (T) that functions as an upsampling (Tu), downsampling (Td), or no-sampling operation (Tn).</p><p>Furthermore, we embed a NAM module at the end of the generator network to effectively utilize different levels of features and guarantee better convergence.</p></sec><sec id="s3_3"><title>3.3. Multi-Scale Discriminator</title><p>This paper proposes a new multi-scale discriminator. This is inspired by the use of multi-scale features in objection detection [<xref ref-type="bibr" rid="scirp.115608-ref19">19</xref>] and semantic segmentation [<xref ref-type="bibr" rid="scirp.115608-ref20">20</xref>]. Similar to the structure proposed in [<xref ref-type="bibr" rid="scirp.115608-ref15">15</xref>], a convolutional layer with batch normalization and PReLU activation is used as the basis throughout the</p><p>discriminator network. Then, multi-scale pooling modules with different scale features are stacked at the end of the discriminator. The merged features are then upsampled and concatenated, followed by a 1 &#215; 1 convolution and a sigmoid function to produce a normalized probability score between [0, 1]. By using features at different scales, we explicitly incorporate global hierarchical context into the discriminator. A scaling operation weights the normalized weights to the features of each channel, and prevents the adversarial network from collapsing and oscillating during training, improving stability.</p></sec></sec><sec id="s4"><title>4. Experiments and Results</title><p>In this section, we detail the experiments and experimental results used to evaluate the proposed IDN-CGAN method. And the proposed method is compared with the recent state-of-the-art methods.</p><sec id="s4_1"><title>4.1. Dataset</title><p>The Due to the lack of large datasets for single-image rainfall training and evaluation, in order to verify the effectiveness of the proposed algorithm, we use not only real datasets but also synthetic datasets in our experiments. The training set consists of 800 images in total, divided into two types: severe rain images and light rain images, to ensure rain pixels with different intensities and directions, and generate different training and test sets. To demonstrate the effectiveness of the method on real-world data, we download a dataset of 50 rain images from the Internet. When creating this dataset, we took every care possible to ensure that the collected images differ in content, intensity and orientation of rain pixels. A more comprehensive effect has been achieved.</p></sec><sec id="s4_2"><title>4.2. Evaluation Method</title><p>We employ Peak Signal-to-Noise Ratio (PSNR), Structural Similarity Index (SSIM) [<xref ref-type="bibr" rid="scirp.115608-ref21">21</xref>], and Visual Information Fidelity (VIF) [<xref ref-type="bibr" rid="scirp.115608-ref22">22</xref>] to evaluate the performance of different methods. All of these quantitative measurements are calculated using the luminance channel. These three criteria are often used to verify the performance of the network model and the robustness of the model. The peak signal to noise ratio (PSNR) of an image is given by the following formula:</p><p>PSNR = 10 log 10 ( MAX 2 MSE ) (11)</p><p>SSIM is used to judge whether the image is distorted, the objective standard of image noise level, and the maximum unit is expressed in decibels. The structural similarity index [<xref ref-type="bibr" rid="scirp.115608-ref21">21</xref>] (Structural similarity index, SSIM) is shown in the following formula:</p><p>SSIM = ( 2 μ x μ y + C 1 ) ( 2 σ x σ y + C 2 ) ( μ x 2 + μ y 2 + C 1 ) ( σ x 2 + σ y 2 + C 2 ) (12)</p><p>where x, y are the uncompressed undistorted image and the image contrasted by x, μ x μ y is a function of brightness, σ x σ y is a function of contrast, the constant C<sub>1</sub> is to ensure the stability of the system at μ x 2 + μ y 2 ⇒ 0 , and C<sub>2</sub> is also a constant C<sub>3</sub> = C<sub>2</sub>/2. In the evaluation index, the larger the value of PSNR, VIF and SSIM, the better the image restoration and the smaller the image distortion.</p></sec><sec id="s4_3"><title>4.3. Experimental Results</title><p>The experimental parameter settings in this paper are done on the Tensorflow learning platform. The experiment was performed on a desktop computer, Intel-i5 3.3G CPU, 8GB RAM, Windows 10, TensorFlow 1.1, Opencv2.0, the learning rate was set to 0.5, the number of iterations was 50, and the batch size was 2. This paper selectively samples heavy rain images to show that our method performs well under difficult conditions. The performance of the proposed method and recent state-of-the-art methods is evaluated on real-world rainfall test images. The deraining results of all methods on the derained images input by two samples are shown in <xref ref-type="fig" rid="fig5">Figure 5</xref>. By comparing the proposed method with other methods, by observation, we can clearly observe that GMM [<xref ref-type="bibr" rid="scirp.115608-ref23">23</xref>] tends to add artifacts on derained images. Although CCR [<xref ref-type="bibr" rid="scirp.115608-ref24">24</xref>] is able to remove rain streaks, it produces blurry results, which are not visually appealing. JORDER [<xref ref-type="bibr" rid="scirp.115608-ref25">25</xref>] can reduce the intensity of rain or remove streaks in some areas, however, they cannot completely remove rain streaks. Raindrops are still visible in the magnified region of interest despite other methods, and good visual performance can be achieved. Compared with other methods, this method is able to successfully remove most of the rain streaks while maintaining the details of the derained images.</p><p>The three evaluation parameters PSNR, SSIM, UQI and IDN-CGAN are all learned by using training images of synthetic training datasets. Using the test images of the synthetic datasets discussed earlier, as shown in <xref ref-type="table" rid="table1">Table 1</xref>, it can be</p><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> Comparison with other methods using three different evaluation criteria for heavy rain images and light rain images</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >heavy rain images</th><th align="center" valign="middle" >GMM [<xref ref-type="bibr" rid="scirp.115608-ref23">23</xref>]</th><th align="center" valign="middle" >JORDER [<xref ref-type="bibr" rid="scirp.115608-ref25">25</xref>]</th><th align="center" valign="middle" >CCR [<xref ref-type="bibr" rid="scirp.115608-ref24">24</xref>]</th><th align="center" valign="middle" >IDN-CGAN</th></tr></thead><tr><td align="center" valign="middle" >PSNR</td><td align="center" valign="middle" >20.21</td><td align="center" valign="middle" >22.98</td><td align="center" valign="middle" >21.45</td><td align="center" valign="middle" >23.76</td></tr><tr><td align="center" valign="middle" >SSIM</td><td align="center" valign="middle" >0.7657</td><td align="center" valign="middle" >0.8012</td><td align="center" valign="middle" >0.7964</td><td align="center" valign="middle" >0.8317</td></tr><tr><td align="center" valign="middle" >VIF</td><td align="center" valign="middle" >0.2821</td><td align="center" valign="middle" >0.3327</td><td align="center" valign="middle" >0.3873</td><td align="center" valign="middle" >0.39582</td></tr><tr><td align="center" valign="middle" >light rain image</td><td align="center" valign="middle" >GMM [<xref ref-type="bibr" rid="scirp.115608-ref23">23</xref>]</td><td align="center" valign="middle" >JORDER [<xref ref-type="bibr" rid="scirp.115608-ref25">25</xref>]</td><td align="center" valign="middle" >CCR [<xref ref-type="bibr" rid="scirp.115608-ref24">24</xref>]</td><td align="center" valign="middle" >IDN-CGAN</td></tr><tr><td align="center" valign="middle" >PSNR</td><td align="center" valign="middle" >20.97</td><td align="center" valign="middle" >20.83</td><td align="center" valign="middle" >22.26</td><td align="center" valign="middle" >24.67</td></tr><tr><td align="center" valign="middle" >SSIM</td><td align="center" valign="middle" >0.7865</td><td align="center" valign="middle" >0.8263</td><td align="center" valign="middle" >0.8077</td><td align="center" valign="middle" >0.8256</td></tr><tr><td align="center" valign="middle" >VIF</td><td align="center" valign="middle" >0.3654</td><td align="center" valign="middle" >0.3264</td><td align="center" valign="middle" >0.4002</td><td align="center" valign="middle" >0.4158</td></tr></tbody></table></table-wrap><p>seen that the introduction of adversarial loss improves the visual quality compared to the traditional CNN architecture. For comparison: the first indicator is the peak signal-to-noise ratio (PSNR). The PSNR of the model IDN-CGAN proposed in this paper is significantly higher than the other three methods in the heavily derained image and the lightly derained image. The second indicator is The estimated overall structural similarity index (SSIM), the SSIM values of GMM [<xref ref-type="bibr" rid="scirp.115608-ref23">23</xref>] and CCR [<xref ref-type="bibr" rid="scirp.115608-ref24">24</xref>] are both lower than JORDER [<xref ref-type="bibr" rid="scirp.115608-ref25">25</xref>], while the SSIM value of IDN-CGAN is slightly higher than that of JORDER [<xref ref-type="bibr" rid="scirp.115608-ref25">25</xref>]; Authenticity (VIF), although IDN-CGAN performs better than the other three models, the difference is not large, the reason may be that the proposed method misses some rain patterns in the output image. (The higher the PSNR and VIF evaluation indicators and the higher the SSIM indicator, the clearer the model repair results and the better the effect.)</p></sec></sec><sec id="s5"><title>5. Summary and Outlook</title><p>To achieve clearer image deraining, we propose a conditional generative network (IDN-CGAN) incorporating an attention mechanism NAM for image deraining. In IDN-CGAN, we first use the generator fused with the attention mechanism NAM to generate sharper images, and then propose a refinement loss function that enables the discriminator model to discriminate between real images and derained images. To validate the proposed IDN-CGAN, experiments on synthetic and real datasets demonstrate the superiority and effectiveness of IDN-CGAN with limited training data. It is worth noting that there is room for further research on IDN-CGAN. One direction is to use IDN-CGAN in real-world scenarios where we can only collect a few examples. Another direction is to construct a learning task of n-frequency k-shots by dynamically clustering image patches from data batches instead of pre-clustering all image patches.</p></sec><sec id="s6"><title>Conflicts of Interest</title><p>The authors declare no conflicts of interest regarding the publication of this paper.</p></sec><sec id="s7"><title>Cite this paper</title><p>Zhang, F.Y., Xu, X.Z. and Wang, P. (2022) Image Rain Removal Using Conditional Generative Networks Incorporating. Journal of Computer and Communications, 10, 72-82. https://doi.org/10.4236/jcc.2022.102006</p></sec></body><back><ref-list><title>References</title><ref id="scirp.115608-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Andreas, G., Philip, L. and Raquel, U. (2012) Are We Ready for Autonomous Driving? The Kitti Vision Benchmark Suite. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 3354-3361.</mixed-citation></ref><ref id="scirp.115608-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Sachin, M., Mohammad, R., Anat, C., Linda, S. and Hannaneh, H. (2018) Espnet: Efficient Spatial Pyramid of Dilated Convolutions for Semantic Segmentation. Proceedings of the European Conference on Computer Vision, 552-568.</mixed-citation></ref><ref id="scirp.115608-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Dorin, C., Visvanathan, R. and Peter, M. (2003) Kernel-Based Object Tracking. IEEE Transactions on Pattern Analysis and Machine Intelligence, 25, 564-577.  
https://doi.org/10.1109/TPAMI.2003.1195991</mixed-citation></ref><ref id="scirp.115608-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Fu, Y.-H., Kang, L.-W., Lin, C.-W. and Hsu, C.-T. (2011) Single-Frame-Based Rain Removal via Image Decomposition. Proceedings of the IEEE International Conference on Acoustics, Speech, and Signal Processing, 1453-1456.  
https://doi.org/10.1109/ICASSP.2011.5946766</mixed-citation></ref><ref id="scirp.115608-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Kai, Z., Zuo, W. and Zhang, L. (2018) Ffdnet: Toward a Fast and Flexible Solution for CNN-Based Image Denoising. IEEE Transactions on Image Processing, 27, 4608- 4622. https://doi.org/10.1109/TIP.2018.2839891</mixed-citation></ref><ref id="scirp.115608-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Fu, X., Huang, J., Zeng, D., Huang, Y., Ding, X. and John, P. (2017) Removing Rain from Single Images via a Deep Detail Network. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 3855-3863.  
https://doi.org/10.1109/CVPR.2017.186</mixed-citation></ref><ref id="scirp.115608-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Goodfellow, I.J., Pouget-Abadie, J., Mirza, M., et al. (2014) Generative Adversarial Networks: Advances in Neural Information Processing Systems. 3, 2672-2680.</mixed-citation></ref><ref id="scirp.115608-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Radford, A., Metz, L. and Chintala, S. (2015) Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networks.</mixed-citation></ref><ref id="scirp.115608-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Liu, Y.C., Shao, Z.R. and Teng, Y.Y. (2021) NAM: Normalization-Based Attention Module.</mixed-citation></ref><ref id="scirp.115608-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Johnson, J., Alahi, A. and Li, F.F. (2016) Perceptual Losses for Realtime Style Transfer and Super-Resolution. European Conference on Computer Vision, Springer, 694-711.  
https://doi.org/10.1007/978-3-319-46475-6_43</mixed-citation></ref><ref id="scirp.115608-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Starck, J.-L., Elad, M. and Donoho, D.L. (2005) Image Decomposition via the Combination of Sparse Representations and a Variational Approach. IEEE TIP, 14, 1570-1582. https://doi.org/10.1109/TIP.2005.852206</mixed-citation></ref><ref id="scirp.115608-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Kang, L.-W., Lin, C.-W. and Fu, Y.-H. (2012) Automatic Single-Image-Based Rain Streaks Removal via Image Decomposition. IEEE TIP, 21, 1742-1755.  
https://doi.org/10.1109/TIP.2011.2179057</mixed-citation></ref><ref id="scirp.115608-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Bobin, J., Starck, J.L., Fadili, J.M., Moudden, Y. and Donoho, D.L. (2007) Morphological Component Analysis: An Adaptive Thresholding Strategy. IEEE Transactions on Image Processing, 16, 2675-2681. https://doi.org/10.1109/TIP.2007.907073</mixed-citation></ref><ref id="scirp.115608-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">Xie, J., Xu, L. and Chen, E. (2012) Image Denoising and Inpainting with Deep Neural Networks. NIPS, 341-349.</mixed-citation></ref><ref id="scirp.115608-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">Isola, P., Zhu, J.-Y., Zhou, T. and Efros, A.A. (2017) Image-to-Image Translation with Conditional Adversarial Networks. CVPR.  
https://doi.org/10.1109/CVPR.2017.632</mixed-citation></ref><ref id="scirp.115608-ref16"><label>16</label><mixed-citation publication-type="other" xlink:type="simple">Ronneberger, O., Fischer, P. and Brox, T. (2015) U-Net: Convolutional Networks for Biomedical Image Segmentation. International Conference on Medical Image Computing and Computer-Assisted Intervention, Springer, 234-241.  
https://doi.org/10.1007/978-3-319-24574-4_28</mixed-citation></ref><ref id="scirp.115608-ref17"><label>17</label><mixed-citation publication-type="other" xlink:type="simple">Ledig, C., Theis, L., Huszar, F., Caballero, J., Cunningham, A., Acosta, A., Aitken, A., Tejani, A., Totz, J., Wang, Z., et al. (2017) Photo-Realistic Single Image Super-Resolution Using a Generative Adversarial Network. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 1-8.  
https://doi.org/10.1109/CVPR.2017.19</mixed-citation></ref><ref id="scirp.115608-ref18"><label>18</label><mixed-citation publication-type="other" xlink:type="simple">Huang, G., Liu, Z., van der Maaten, L. and Weinberger, K.Q. (2017) Densely Connected Convolutional Networks. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. https://doi.org/10.1109/CVPR.2017.243</mixed-citation></ref><ref id="scirp.115608-ref19"><label>19</label><mixed-citation publication-type="other" xlink:type="simple">He, K., Zhang, X., Ren, S. and Sun, J. (2014) Spatial Pyramid Pooling in Deep Convolutional Networks for Visual Recognition. European Conference on Computer Vision. Springer, 346-361. https://doi.org/10.1007/978-3-319-10578-9_23</mixed-citation></ref><ref id="scirp.115608-ref20"><label>20</label><mixed-citation publication-type="other" xlink:type="simple">Zhao, H., Shi, J., Qi, X., Wang, X. and Jia, J. (2017) Pyramid Scene Parsing Network. Proceedings of the IEEE International Conference on Computer Vision, 1-8.  
https://doi.org/10.1109/CVPR.2017.660</mixed-citation></ref><ref id="scirp.115608-ref21"><label>21</label><mixed-citation publication-type="other" xlink:type="simple">Wang, Z., Bovik, A.C., Sheikh, H.R. and Simoncelli, E.P. (2004) Image Quality Assessment: From Error Visibility to Structural Similarity. IEEE TIP, 13, 600-612.  
https://doi.org/10.1109/TIP.2003.819861</mixed-citation></ref><ref id="scirp.115608-ref22"><label>22</label><mixed-citation publication-type="other" xlink:type="simple">Sheikh, H.R. and Bovik, A.C. (2006) Image Information and Visual Quality. IEEE TIP, 15, 430-444. https://doi.org/10.1109/TIP.2005.859378</mixed-citation></ref><ref id="scirp.115608-ref23"><label>23</label><mixed-citation publication-type="other" xlink:type="simple">Li, Y., Tan, R.T., Guo, X., Lu, J. and Brown, M.S. (2016) Rain Streak Removal Using Layer Priors. 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), June 2016, 2736-2744. https://doi.org/10.1109/CVPR.2016.299</mixed-citation></ref><ref id="scirp.115608-ref24"><label>24</label><mixed-citation publication-type="other" xlink:type="simple">Zhang, H. and Patel, V.M. (2017) Convolutional Sparse and Low-Rank Codingbased Rain Streak Removal. 2017 IEEE WACV, IEEE, 1-9.  
https://doi.org/10.1109/WACV.2017.145</mixed-citation></ref><ref id="scirp.115608-ref25"><label>25</label><mixed-citation publication-type="other" xlink:type="simple">Yang, W., Tan, R.T., Feng, J., Liu, J., Guo, Z. and Yan, S. (2017) Deep Joint Rain Detection and Removal from a Single Image. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 1357-1366.  
https://doi.org/10.1109/CVPR.2017.183</mixed-citation></ref></ref-list></back></article>