<?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.2021.910010</article-id><article-id pub-id-type="publisher-id">JCC-112936</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>
 
 
  Domain Adaptation for Synthesis of Hazy Images
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Haoying</surname><given-names>Sun</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>Yutong</surname><given-names>Zheng</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>Qing</surname><given-names>Lang</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>School of Information Engineering, Minzu University of China, Beijing, China</addr-line></aff><pub-date pub-type="epub"><day>28</day><month>09</month><year>2021</year></pub-date><volume>09</volume><issue>10</issue><fpage>142</fpage><lpage>151</lpage><history><date date-type="received"><day>16,</day>	<month>October</month>	<year>2021</year></date><date date-type="rev-recd"><day>26,</day>	<month>October</month>	<year>2021</year>	</date><date date-type="accepted"><day>29,</day>	<month>October</month>	<year>2021</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>
 
 
  
    Most existing image dehazing methods based learning are less able to perform well to real hazy images. An important reason is that they are trained on synthetic hazy images whose distribution is different from real hazy images. To relieve this issue, this paper proposes a new hazy scene generation model based on domain adaptation, which uses a variational autoencoder to encode the synthetic hazy image pairs and the real hazy images into the latent space to adapt. The synthetic hazy image pairs guide the model to learn the mapping of clear images to hazy images, the real hazy images are used to adapt the synthetic hazy images’ latent space to real hazy images through generative adversarial loss, so as to make the generative hazy images’ distribution as close to the real hazy images’ distribution as possible. By comparing the results of the model with traditional physical scattering models and Adobe Lightroom CC software, the hazy images generated in this paper is more realistic. Our end-to-end domain adaptation model is also very convenient to synthesize hazy images without depth map. Using traditional method to dehaze the synthetic hazy images generated by this paper, both SSIM and PSNR have been improved, proved that the effectiveness of our method. The non-reference haze density evaluation algorithm and other quantitative evaluation also illustrate the advantages of our method in synthetic hazy images. 
  
 
</p></abstract><kwd-group><kwd>Haze Scene</kwd><kwd> Domain Adaptation</kwd><kwd> Generative Adversarial Net</kwd><kwd> Variational  Autoencoder</kwd><kwd> Deep Learning</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>Single image dehazing is an important and difficult task in computer vision, so people usually only pay attention to how to dehaze, and seldom pay attention to how to synthesize hazy images and how to synthesize more realistic hazy images. This will cause some problems today with the rapid development of deep learning. Having a large amount of high-quality data can make the deep learning model perform better, however, most of the datasets in single image dehazing based learning are artificially synthesized. These synthetic datasets cannot fully simulate the hazy images in the real world. Therefore, it is difficult for the model based learning using such data sets to perform well on the real hazy images.</p><p>Currently, there are three main methods for hazy image synthesis. The first is synthesis based on the physical scattering models [<xref ref-type="bibr" rid="scirp.112936-ref1">1</xref>] [<xref ref-type="bibr" rid="scirp.112936-ref2">2</xref>]. It need to measure or estimate the depth map corresponding to the image, and then synthesize the hazy images [<xref ref-type="bibr" rid="scirp.112936-ref3">3</xref>] [<xref ref-type="bibr" rid="scirp.112936-ref4">4</xref>] with different parameters of the physical scattering model. Because the depth map inevitably has errors, and the physical scattering model is difficult to fully simulate the real environment, the synthesized hazy images have certain defects. The second is synthesis based learning, which uses paired data to train to generate hazy images. Since this method also requires large amounts of paired data which is mostly synthetic, there may be deviation between the generated hazy images and the real. The third is some others, such as synthetic software, rendering and so on. However, the quality of the hazy images generated by these methods [<xref ref-type="bibr" rid="scirp.112936-ref5">5</xref>] is low, or these hazy images synthesized from virtual environment [<xref ref-type="bibr" rid="scirp.112936-ref6">6</xref>], and there may be still a deviation from the real hazy images.</p><p>In order to alleviate the above problems, this paper proposes a domain adaptive hazy image synthesis model. The model is based on variational autoencoder (VAE) and generative adversarial network (GAN), which adapts the synthetic hazy images to the real hazy images by generative adversarial loss, thereby generating a more realistic hazy images.</p><p>The main contributions of this paper are as follows:</p><p>1) Propose a new domain adaptive model to generate a more realistic hazy images which have various densities.</p><p>2) Propose to use generative adversarial loss to adapt to the real hazy images’ domain.</p></sec><sec id="s2"><title>2. Related Works</title><sec id="s2_1"><title>2.1. Atmospheric Scattering Model</title><p>Haze is produced by the scattering of fine substances suspended in the atmosphere, which will reduce the quality of the image and affect subsequent analysis. In computer vision and computer graphics, the following equation is widely used to describe the generation of a hazy image [<xref ref-type="bibr" rid="scirp.112936-ref1">1</xref>] [<xref ref-type="bibr" rid="scirp.112936-ref2">2</xref>].</p><p>I ( x ) = J ( x ) t ( x ) + A ( 1 − t ( x ) ) (1)</p><p>where I is the hazy image, J is the scene radiance representing the haze-free image, A is the atmospheric light, t is the medium transmission, β is the scattering coefficient of the atmosphere and d is the depth of scene, t can be calculated with the following equation.</p><p>t ( x ) = e − β d ( x ) Math_5# (2)</p><p>Image dehazing can restore the lost details of the image and facilitate in-depth analysis. Therefore, this task has always been paid attention in computer vision and progressing rapidly. Traditional methods in single image dehazing based on physical priors [<xref ref-type="bibr" rid="scirp.112936-ref7">7</xref>] [<xref ref-type="bibr" rid="scirp.112936-ref8">8</xref>] do not require paired data to train, but often have certain requirements on the environment to perform well. Methods based learning [<xref ref-type="bibr" rid="scirp.112936-ref9">9</xref>] [<xref ref-type="bibr" rid="scirp.112936-ref10">10</xref>] require a lot of data for training，because it is difficult to obtain the paired images, the hazy images in the training set are usually artificially synthesized by the atmospheric model. There is a certain deviation between the synthesized hazy images and the real hazy images, which causes some models to perform poorly on the real hazy images.</p></sec><sec id="s2_2"><title>2.2. Hazy Image Synthesis</title><sec id="s2_2_1"><title>2.2.1. Traditional Methods</title><p>The traditional method of hazy image synthesis mainly adopts Equation (1) and Equation (2), and the synthesis process is shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>. The available datasets for indoor hazy image synthesis include NYUv2 dataset [<xref ref-type="bibr" rid="scirp.112936-ref11">11</xref>], Middlebury Stereo [<xref ref-type="bibr" rid="scirp.112936-ref12">12</xref>], etc. The source data of NYUv2 is obtained through Microsoft Kinect, and there are 1499 pictures after the filling of the depth missing value and the post-processing of marking. In general, these data can be used for tasks such as depth estimation and semantic segmentation. The available data for outdoor hazy image synthesis include HazeRD dataset [<xref ref-type="bibr" rid="scirp.112936-ref4">4</xref>], Cityscapes [<xref ref-type="bibr" rid="scirp.112936-ref13">13</xref>], KITTI [<xref ref-type="bibr" rid="scirp.112936-ref14">14</xref>], et al.</p><p>Adobe Lightroom CC can synthesize hazy images, it contains a dehazing function that can make the picture clear. When the value is adjusted to a negative value (−70 in this paper), a hazy image will be generated. The dehazing function of this software is used to synthesize hazy images for control experiments. Hazy images can also be generated in some 3D games or rendering software.</p></sec><sec id="s2_2_2"><title>2.2.2. Deep Learning Method</title><p>The generative adversarial network (GAN) [<xref ref-type="bibr" rid="scirp.112936-ref15">15</xref>] has been receiving widespread attention and developing rapidly [<xref ref-type="bibr" rid="scirp.112936-ref16">16</xref>] [<xref ref-type="bibr" rid="scirp.112936-ref17">17</xref>] [<xref ref-type="bibr" rid="scirp.112936-ref18">18</xref>], it can be used to synthesize hazy</p><p>images. The image translation model pix2pix [<xref ref-type="bibr" rid="scirp.112936-ref16">16</xref>] is composed of a multi-reso- lution generator and a multi-scale discriminator. The discriminator which uses the Patch GAN structure can perform multi-scale discrimination on the generated result. The basic structure of the generator is U-Net [<xref ref-type="bibr" rid="scirp.112936-ref19">19</xref>], it can generate high-resolution and clear images. But this method is supervised learning, if used for synthesizing hazy images, the training data that can be used is artificially synthesized hazy images, there may be a certain difference between the generated result and the real hazy image.</p><p>The well-known unsupervised image conversion method Cycle-GAN [<xref ref-type="bibr" rid="scirp.112936-ref17">17</xref>] has been proposed to provide an effective loss function named cycle consistency loss for unpaired training data, and the real hazy images can be used for synthesizing hazy images. But this method without absolute mapping will cause the result to appear undesired conversion style.</p></sec></sec></sec><sec id="s3"><title>3. Method</title><sec id="s3_1"><title>3.1. Domain Adaptation and Image to Image Translation</title><p>Domain adaptation aims to reduce the differences between different domains, and it is mainly divided into feature level or pixel level. The feature-level adaptive method aims to align the feature distribution between the source domain and the target domain by minimizing the maximum mean difference (MMD) or applying adversarial learning strategies on the feature space [<xref ref-type="bibr" rid="scirp.112936-ref20">20</xref>]. Another study focused on pixel-level adaptation [<xref ref-type="bibr" rid="scirp.112936-ref21">21</xref>] [<xref ref-type="bibr" rid="scirp.112936-ref22">22</xref>]. These methods deal with the domain transfer problem by applying image-to-image translation.</p><p>Image-to-image translation [<xref ref-type="bibr" rid="scirp.112936-ref16">16</xref>] [<xref ref-type="bibr" rid="scirp.112936-ref23">23</xref>] refers to the translation of images from one domain to the other through learning. Image translation of supervised learning requires paired data sets, and the corresponding image translation algorithms include pix2pix [<xref ref-type="bibr" rid="scirp.112936-ref16">16</xref>] model, pix2pixHD [<xref ref-type="bibr" rid="scirp.112936-ref23">23</xref>] model, etc. Unsupervised learning image translation [<xref ref-type="bibr" rid="scirp.112936-ref17">17</xref>] [<xref ref-type="bibr" rid="scirp.112936-ref24">24</xref>] does not require paired datasets.</p></sec><sec id="s3_2"><title>3.2. Synthetic Hazy Images</title><p>The overview model structure is shown in <xref ref-type="fig" rid="fig2">Figure 2</xref>. It is trained on paired data and real hazy images, paired data contains synthetic hazy images and clear images.</p><p>The synthetic hazy images domain and the real hazy image domain are respectively recorded as D X , D R . The clear image domain corresponding to the synthesized fog image domain is denoted as D Y . Synthetic hazy images, real hazy images, and clear images are recorded as x ∈ D X , r ∈ D R , y ∈ D Y . The latent space of x, y, r is recorded as Z x , Z y , Z r . VAE<sub>1</sub> which is trained on x, r includes encoder E D X , E D R and generator G D X , G D R . VAE<sub>2</sub> includes encoder E D Y and decoder G D Y . Inspired by [<xref ref-type="bibr" rid="scirp.112936-ref25">25</xref>], our model first encodes x and r into the latent space, and then adapts their domains; there is a big difference between the latent space Z x and Z y , we use mapping net (denote it as T Z ) to connect them.</p><p>The VAE1 losses for the real hazy images (r) are as follows:</p><p>L V A E 1 ( r ) = K L ( E D R , D X ( Z r | | N ( 0 , I ) ) ) + α E Z r ~ E D R , D X ( Z r | r ) [ | | G D R , D X ( r D R → D R | Z r ) − r | | 1 ] + L V A E 1 , G A N ( r ) (4)</p><p>z r ∈ Z D R is the Hidden code of real hazy images (r), r D R → D R is generated by G D R , KL stands for KL divergence. The second term is L1 loss, in order to reconstruct the image. The third term is the least-square loss [<xref ref-type="bibr" rid="scirp.112936-ref26">26</xref>], to make the reconstructed image realistic.</p><p>To adapt the domain from synthetic hazy images to realistic hazy images, we use adversarial loss as follows.</p><p>L V A E 1 , G A N l a t e n t ( r , x ) = E x ~ D X [ 1 − D D R , D X ( E D R , D X ( x ) ) 2 ] + E r ~ D R [ D D R , D X ( E D R , D X ( r ) ) 2 ] (5)</p><p>So the total loss of VAE1 is as follows.</p><p>min E D R , D X , G D R , D X max D D R , D X L V A E 1 ( r ) + L V A E 1 ( x ) + L V A E 1 , G A N l a t e n t ( r , x ) (6)</p><p>The mapping net learns the connection between the VAE1 and VAE2, it’s loss is as follows.</p><p>L T Z ( x , y ) = δ 1 L T Z + L T Z , G A N + δ 2 L p e r c e p t u a l (7)</p><p>where L T Z is stand for the L1 loss between T Z ( Z x ) mapped by T Z and Z y ,</p><p>L T Z = E | | T Z ( Z x ) − Z y | | 1 (8)</p><p>L T Z , G A N is the least-square loss(LSGAN), L p e r c e p t u a l is perceptual loss, as shown in Equation (9).</p><p>L p e r c e p t u a l = E [ ∑ i 1 n D T i | | ϕ D T i ( x D X → D Y ) − ϕ D T i ( y D Y → D Y ) | | 1 ] + ∑ i 1 n V G G i | | ϕ V G G i ( x D X → D Y ) − ϕ V G G i ( y D Y → D Y ) | | 1 ] (9)</p><p>where ϕ V G G i ( x ) is the i t h layer feature map of the discriminator (VGG network), and n V G G i indicates the number of activations in that layer. D T is the same as VGG.</p></sec></sec><sec id="s4"><title>4. Experiment</title><sec id="s4_1"><title>4.1. Implementation</title><p>The experiment environment uses the deep learning framework Pytorch1.6.0. The graphics card is NVIDIA RTX 3090Ti, the graphics memory is 32 GB.</p><p>The 8970 pairs of images selected from the RESIDE‑OTS [<xref ref-type="bibr" rid="scirp.112936-ref3">3</xref>] and 2864 real hazy images selected from RESIDE-beta [<xref ref-type="bibr" rid="scirp.112936-ref29">29</xref>] are used to train our model. We choose some images from HazeRD [<xref ref-type="bibr" rid="scirp.112936-ref4">4</xref>], SOTS (indoor and outdoor) to test the model’s ability on synthesizing hazy images.</p></sec><sec id="s4_2"><title>4.2. Comparisons</title><p>We compare the model proposed qualitatively and quantitatively in this part. AuthESI [<xref ref-type="bibr" rid="scirp.112936-ref27">27</xref>], PSNR and SSIM is used to evaluate the quality of images. Density [<xref ref-type="bibr" rid="scirp.112936-ref28">28</xref>] of images is also measured.</p><p>As shown in <xref ref-type="fig" rid="fig3">Figure 3</xref>, some photos selected from the SOTS are used to synthesize hazy images. It can be seen from the second row of the figure that in some cases, the overall color shift will occur on the hazy images synthesized by Adobe Lightroom CC. And our model doesn’t have this kind of problem and generates hazy images successfully.</p><p><xref ref-type="table" rid="table1">Table 1</xref> is a quantitative test of the corresponding image of <xref ref-type="fig" rid="fig3">Figure 3</xref>. It can be</p><p>seen from the table that the quality of the hazy images synthesized by our model is quite high, and this is in the case of similar hazy images’ density.</p><p>As shown in <xref ref-type="fig" rid="fig4">Figure 4</xref>, these images are from HazeRD dataset, and some are synthesized by Lightroom CC and our method. It can be seen from the second column of the figure that there are some abnormalities around the plant, because the nearby depth has been wrongly measured, and our model performs well.</p><p>The quantitative results of <xref ref-type="fig" rid="fig3">Figure 3</xref> are shown in <xref ref-type="table" rid="table2">Table 2</xref>. Similarly, our method performs well, indicating that our method also has a certain degree of generalization on various types of images.</p><p>To further improve the effective of our model, we use the DCP [<xref ref-type="bibr" rid="scirp.112936-ref7">7</xref>] to dehaze the iamges and measure the PSNR and SSIM. Since the DCP [<xref ref-type="bibr" rid="scirp.112936-ref7">7</xref>] is invalid for the sky, we choose the indoor pictures in <xref ref-type="fig" rid="fig3">Figure 3</xref> for testing. First, test the PSNR and SSIM of the hazy image synthesized by our model, and then use DCP [<xref ref-type="bibr" rid="scirp.112936-ref7">7</xref>] to dehaze and then test PSNR and SSIM again. The results are as shown in <xref ref-type="table" rid="table3">Table 3</xref>. It can be seen that after DCP [<xref ref-type="bibr" rid="scirp.112936-ref7">7</xref>] processing our synthetic hazy images’ SSIM and PSNR are improved, which proves the effectiveness of our model.</p><p>Running our model repeatedly can obtain hazy images with different densities, as shown in <xref ref-type="fig" rid="fig5">Figure 5</xref>.</p><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> Compare our method with Adobe Lightroom CC software on the SOTS outdoor dataset</title></caption><table><tbody><thead><tr><th align="center" valign="middle"  colspan="2"  >clear image</th><th align="center" valign="middle"  colspan="2"  >SOTS outdoor</th><th align="center" valign="middle"  colspan="2"  >Lightroom CC</th><th align="center" valign="middle"  colspan="2"  >ours</th></tr></thead><tr><td align="center" valign="middle" >AuthESI</td><td align="center" valign="middle" >density</td><td align="center" valign="middle" >AuthESI</td><td align="center" valign="middle" >density</td><td align="center" valign="middle" >AuthESI</td><td align="center" valign="middle" >density</td><td align="center" valign="middle" >AuthESI</td><td align="center" valign="middle" >density</td></tr><tr><td align="center" valign="middle" >3.422</td><td align="center" valign="middle" >0.578</td><td align="center" valign="middle" >1.585</td><td align="center" valign="middle" >0.739</td><td align="center" valign="middle" >0.837</td><td align="center" valign="middle" >1.225</td><td align="center" valign="middle" >0.868</td><td align="center" valign="middle" >0.911</td></tr><tr><td align="center" valign="middle" >5.314</td><td align="center" valign="middle" >0.649</td><td align="center" valign="middle" >2.593</td><td align="center" valign="middle" >1.189</td><td align="center" valign="middle" >0.303</td><td align="center" valign="middle" >2.279</td><td align="center" valign="middle" >1.435</td><td align="center" valign="middle" >0.982</td></tr><tr><td align="center" valign="middle" >2.348</td><td align="center" valign="middle" >0.292</td><td align="center" valign="middle" >1.289</td><td align="center" valign="middle" >0.650</td><td align="center" valign="middle" >1.075</td><td align="center" valign="middle" >0.637</td><td align="center" valign="middle" >1.047</td><td align="center" valign="middle" >0.700</td></tr><tr><td align="center" valign="middle" >4.303</td><td align="center" valign="middle" >0.333</td><td align="center" valign="middle" >2.362</td><td align="center" valign="middle" >0.658</td><td align="center" valign="middle" >1.886</td><td align="center" valign="middle" >1.221</td><td align="center" valign="middle" >2.367</td><td align="center" valign="middle" >0.609</td></tr><tr><td align="center" valign="middle" >6.716</td><td align="center" valign="middle" >0.241</td><td align="center" valign="middle" >2.236</td><td align="center" valign="middle" >0.666</td><td align="center" valign="middle" >1.982</td><td align="center" valign="middle" >0.894</td><td align="center" valign="middle" >4.376</td><td align="center" valign="middle" >0.479</td></tr><tr><td align="center" valign="middle" >6.985</td><td align="center" valign="middle" >0.306</td><td align="center" valign="middle" >3.525</td><td align="center" valign="middle" >0.722</td><td align="center" valign="middle" >2.008</td><td align="center" valign="middle" >1.095</td><td align="center" valign="middle" >6.884</td><td align="center" valign="middle" >0.716</td></tr></tbody></table></table-wrap><table-wrap id="table2" ><label><xref ref-type="table" rid="table2">Table 2</xref></label><caption><title> Compare our method with Adobe Lightroom CC software on the HazeRD dataset</title></caption><table><tbody><thead><tr><th align="center" valign="middle"  colspan="2"  >clear image</th><th align="center" valign="middle"  colspan="2"  >HazeRD</th><th align="center" valign="middle"  colspan="2"  >Lightroom CC</th><th align="center" valign="middle"  colspan="2"  >ours</th></tr></thead><tr><td align="center" valign="middle" >AuthESI</td><td align="center" valign="middle" >density</td><td align="center" valign="middle" >AuthESI</td><td align="center" valign="middle" >density</td><td align="center" valign="middle" >AuthESI</td><td align="center" valign="middle" >density</td><td align="center" valign="middle" >AuthESI</td><td align="center" valign="middle" >density</td></tr><tr><td align="center" valign="middle" >4.113</td><td align="center" valign="middle" >0.194</td><td align="center" valign="middle" >1.712</td><td align="center" valign="middle" >0.754</td><td align="center" valign="middle" >1.693</td><td align="center" valign="middle" >0.589</td><td align="center" valign="middle" >1.685</td><td align="center" valign="middle" >0.725</td></tr><tr><td align="center" valign="middle" >6.378</td><td align="center" valign="middle" >0.445</td><td align="center" valign="middle" >2.084</td><td align="center" valign="middle" >0.585</td><td align="center" valign="middle" >1.360</td><td align="center" valign="middle" >1.485</td><td align="center" valign="middle" >4.211</td><td align="center" valign="middle" >0.579</td></tr><tr><td align="center" valign="middle" >4.879</td><td align="center" valign="middle" >0.481</td><td align="center" valign="middle" >1.209</td><td align="center" valign="middle" >1.138</td><td align="center" valign="middle" >0.154</td><td align="center" valign="middle" >1.738</td><td align="center" valign="middle" >1.260</td><td align="center" valign="middle" >0.695</td></tr><tr><td align="center" valign="middle" >2.764</td><td align="center" valign="middle" >0.611</td><td align="center" valign="middle" >1.415</td><td align="center" valign="middle" >0.812</td><td align="center" valign="middle" >0.685</td><td align="center" valign="middle" >1.719</td><td align="center" valign="middle" >0.515</td><td align="center" valign="middle" >0.939</td></tr></tbody></table></table-wrap><table-wrap id="table3" ><label><xref ref-type="table" rid="table3">Table 3</xref></label><caption><title> Changes of SSIM and PSNR before and after using DCP to remove haze</title></caption><table><tbody><thead><tr><th align="center" valign="middle"  colspan="2"  >Synthesizes Hazy images by ours model</th><th align="center" valign="middle"  colspan="2"  >DCP</th></tr></thead><tr><td align="center" valign="middle" >PSNR</td><td align="center" valign="middle" >SSIM</td><td align="center" valign="middle" >PSNR</td><td align="center" valign="middle" >SSIM</td></tr><tr><td align="center" valign="middle" >16.336213</td><td align="center" valign="middle" >0.772629</td><td align="center" valign="middle" >19.863129</td><td align="center" valign="middle" >0.850797</td></tr><tr><td align="center" valign="middle" >17.996079</td><td align="center" valign="middle" >0.752121</td><td align="center" valign="middle" >24.859871</td><td align="center" valign="middle" >0.864840</td></tr><tr><td align="center" valign="middle" >15.900667</td><td align="center" valign="middle" >0.751683</td><td align="center" valign="middle" >21.645540</td><td align="center" valign="middle" >0.893571</td></tr></tbody></table></table-wrap></sec></sec><sec id="s5"><title>5. Conclusion</title><p>In order to alleviate the problem that the dehazing dataset deviates from reality and deep learning image hazing methods usually perform poorly on real hazy images, we propose a model for synthesizing hazy image based on domain adaptation, which can generate hazy images without depth map. Both qualitative and quantitative experiments show the effectiveness of our method.</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>Sun, H.Y., Zheng, Y.T. and Lang, Q. (2021) Domain Adaptation for Synthesis of Hazy Images. Journal of Computer and Communications, 9, 142- 151. https://doi.org/10.4236/jcc.2021.910010</p></sec></body><back><ref-list><title>References</title><ref id="scirp.112936-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Narasimhan, S.G. and Nayar, S.K. (2000) Chromatic Framework for Vision in Bad Weather. Proceedings IEEE Conference on Computer Vision and Pattern Recognition, Piscataway, 598-605. https://doi.org/10.1109/CVPR.2000.855874</mixed-citation></ref><ref id="scirp.112936-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Narasimhan, S.G. and Nayar, S.K. (2002) Vision and the Atmosphere. International Journal of Computer Vision, 48, 233-254. https://doi.org/10.1023/A:1016328200723</mixed-citation></ref><ref id="scirp.112936-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Li, B., Ren, W., Fu, D., Dan, F., Zeng, W. and Wang, Z. (2017) Reside: A Benchmark for Single Image Dehazing. arXiv preprint arXiv:1712.04143.  
https://arxiv.org/pdf/1712.04143v1.pdf</mixed-citation></ref><ref id="scirp.112936-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Zhang, Y., Li, D. and Sharma, G. (2017) Hazerd: An Outdoor Scene Dataset and Benchmark for Single Image Dehazing. IEEE International Conference on Image Processing (ICIP), Piscataway, 3205-3209.  
https://doi.org/10.1109/ICIP.2017.8296874</mixed-citation></ref><ref id="scirp.112936-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Xiao, J., Shen, M., Lei, J., Xiong, W. and Jiao, C. (2020) Image Conversion Algorithm for Haze Scene Based on Generative Adversarial Networks. Chinese Journal of Computers, 43, 165-176.</mixed-citation></ref><ref id="scirp.112936-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Tarel, J.P., Hautiere, N., Caraffa, L., Cord, A., Hakmaoui, H. and Gruyer, D. (2012) Vision Enhancement in Homogeneous and Heterogeneous Fog. IEEE Intelligent Transportation Systems Magazine, 4, 6-20.  
https://doi.org/10.1109/MITS.2012.2189969</mixed-citation></ref><ref id="scirp.112936-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">He, K.M., Sun, J. and Tang, X. (2010) Single Image Haze Removal Using Dark Channel Prior. IEEE Transactions on Pattern Analysis and Machine Intelligence, 33, 2341- 2353. https://doi.org/10.1109/TPAMI.2010.168</mixed-citation></ref><ref id="scirp.112936-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Fattal, R. (2018) Single Image Dehazing. ACM Transactions on Graphics, 27, 1-9.  
https://doi.org/10.1145/1360612.1360671</mixed-citation></ref><ref id="scirp.112936-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Xu, Q., Wang, Z., Bai, Y., Xie, X. and Jia, H. (2020) FFA-Net: Feature Fusion Attention Network for Single Image Dehazing. Proceedings of the AAAI Conference on Artificial Intelligence, Menlo Park, 11908-11915.  
https://doi.org/10.1609/aaai.v34i07.6865</mixed-citation></ref><ref id="scirp.112936-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Liu, X., Ma, Y., Shi, Z. and Chen, J. (2019) GridDehazeNet: Attention-Based Multi-Scale Network for Image Dehazing. 2019 IEEE/CVF International Conference on Computer Vision (ICCV), 7313-7322. https://doi.org/10.1109/ICCV.2019.00741</mixed-citation></ref><ref id="scirp.112936-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Silberman, N., Hoiem, D., Kohli, P. and Fergus, R. (2012) Indoor Segmentation and Support Inference from Rgbd Images. European Conference on Computer Vision, Springer, Berlin, 746-760. https://doi.org/10.1007/978-3-642-33715-4_54</mixed-citation></ref><ref id="scirp.112936-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Scharstein, D. and Szeliski, R. (2002) A Taxonomy and Evaluation of Dense Two-Frame Stereo Correspondence Algorithms. International Journal of Computer Vision, 47, 7-42. https://doi.org/10.1023/A:1014573219977</mixed-citation></ref><ref id="scirp.112936-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Cordts, M., Omran, M., Ramos, S., Rehfeld, T., Enzweiler, M., Benenson, R., Franke, U., Roth, S. and Schiele, B. (2016) The Cityscapes Dataset for Semantic Urban Scene Understanding. Proc. of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR). https://doi.org/10.1109/CVPR.2016.350</mixed-citation></ref><ref id="scirp.112936-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">Geiger, A., Lenz, P., Stiller, C. and Urtsun, R. (2013) Vision Meets Robotics: The Kitti Dataset. The International Journal of Robotics Research, 32, 1231-1237.  
https://doi.org/10.1177/0278364913491297</mixed-citation></ref><ref id="scirp.112936-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">Goodfellow, I., Pouget-Abadie, J., Mirza, M., Xu, B., Warde-Farley, D., Ozair, S., et al. (2020) Generative Adversarial Networks. Communications of the ACM, 63, 139-144. https://doi.org/10.1145/3422622</mixed-citation></ref><ref id="scirp.112936-ref16"><label>16</label><mixed-citation publication-type="other" xlink:type="simple">Isola, P., Zhu, J., Zhou, T. and Efros, A. (2017) Image-to-Image Translation with Conditional Adversarial Networks. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Piscataway, 1125-1134.  
https://doi.org/10.1109/CVPR.2017.632</mixed-citation></ref><ref id="scirp.112936-ref17"><label>17</label><mixed-citation publication-type="other" xlink:type="simple">Zhu, J., Park, T., Isola, P. and Efros, A. (2017) Unpaired Image-to-Image Translation Using Cycle-Consistent Adversarial Networks. Proceedings of the IEEE International Conference on Computer Vision, Piscataway, 2223-2232.  
https://doi.org/10.1109/ICCV.2017.244</mixed-citation></ref><ref id="scirp.112936-ref18"><label>18</label><mixed-citation publication-type="other" xlink:type="simple">Mirza, M. and Osindero, S. (2014) Conditional Generative Adversarial Nets. arXiv preprint arXiv:1411.1784. https://arxiv.org/pdf/1411.1784.pdf</mixed-citation></ref><ref id="scirp.112936-ref19"><label>19</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, Berlin, 234-241.  
https://doi.org/10.1007/978-3-319-24574-4_28</mixed-citation></ref><ref id="scirp.112936-ref20"><label>20</label><mixed-citation publication-type="other" xlink:type="simple">Tzeng, E., Hoffman, J., Saenko, K. and Darrell, T. (2017) Adversarial Discriminative Domain Adaptation. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 7167-7176. https://doi.org/10.1109/CVPR.2017.316</mixed-citation></ref><ref id="scirp.112936-ref21"><label>21</label><mixed-citation publication-type="other" xlink:type="simple">Bousmalis, K., Silberman, N., Dohan, D., Erhan, D. and Krishnan, D. (2017) Unsupervised Pixel-Level Domain Adaptation with Generative Adversarial Networks. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 3722-3731. https://doi.org/10.1109/CVPR.2017.18</mixed-citation></ref><ref id="scirp.112936-ref22"><label>22</label><mixed-citation publication-type="other" xlink:type="simple">Shrivastava, A., Pfister, T., Tuzel, O., Susskind, J., Wang, W. and Webb, R. (2017) Learning from Simulated and Unsupervised Images through Adversarial Training. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2107-2116. https://doi.org/10.1109/CVPR.2017.241</mixed-citation></ref><ref id="scirp.112936-ref23"><label>23</label><mixed-citation publication-type="other" xlink:type="simple">Wang, T., Liu, M., Zhu, J., Tao, A., Kautz, J. and Catanzaro, B. (2018) High-Resolution Image Synthesis and Semantic Manipulation with Conditional Gans. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Piscataway, 8798-8807. https://doi.org/10.1109/CVPR.2018.00917</mixed-citation></ref><ref id="scirp.112936-ref24"><label>24</label><mixed-citation publication-type="other" xlink:type="simple">Liu, M., Breuel, T. and Kautz, J. (2017) Unsupervised Image-to-Image Translation Networks. Advances in Neural Information Processing Systems, MIT Press, Cambridge, 700-708.</mixed-citation></ref><ref id="scirp.112936-ref25"><label>25</label><mixed-citation publication-type="other" xlink:type="simple">Wan, Z., Zhang, B., Chen, D., Zhang, P., Chen, D., Liao, J. and Wen, F. (2020) Bringing Old Photos Back to Life. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, IEEE, Piscataway, 2747-2757.  
https://doi.org/10.1109/CVPR42600.2020.00282</mixed-citation></ref><ref id="scirp.112936-ref26"><label>26</label><mixed-citation publication-type="other" xlink:type="simple">Mao, X., Li, Q., Xie, H., Y.K. Lau, R., Wang, Z. and Paul Smolley, S. (2017) Least Squares Generative Adversarial Networks. Proceedings of the IEEE International Conference on Computer Vision, 2794-2802.  
https://doi.org/10.1109/ICCV.2017.304</mixed-citation></ref><ref id="scirp.112936-ref27"><label>27</label><mixed-citation publication-type="other" xlink:type="simple">Zhang, N., Zhang, L. and Cheng, Z. (2017) Towards Simulating Foggy and Hazy Images and Evaluating Their Authenticity. International Conference on Neural Information Processing, Springer, Cham, 405-415.  
https://doi.org/10.1007/978-3-319-70090-8_42</mixed-citation></ref><ref id="scirp.112936-ref28"><label>28</label><mixed-citation publication-type="other" xlink:type="simple">Choi, L.K., You, J. and Bovik, A.C. (2015) Referenceless Prediction of Perceptual Fog Density and Perceptual Image Defogging. IEEE Transactions on Image Processing, 24, 3888-3901. https://doi.org/10.1109/TIP.2015.2456502</mixed-citation></ref><ref id="scirp.112936-ref29"><label>29</label><mixed-citation publication-type="other" xlink:type="simple">Li, B., Ren, W., Fu, D., Tao, D., Feng, D., Zeng, W. and Wang, Z. (2018) Benchmarking Single-Image Dehazing and beyond. IEEE Transactions on Image Processing, 28, 492-505. https://doi.org/10.1109/TIP.2018.2867951</mixed-citation></ref></ref-list></back></article>