• Laser & Optoelectronics Progress
  • Vol. 59, Issue 16, 1610003 (2022)
Kezheng Lin1, Jiahao Geng1、*, Weiyue Cheng2, and Ao Li1
Author Affiliations
  • 1School of Computer Science and Technology, Harbin University of Science and Technology, Harbin 150080, Heilongjiang , China
  • 2Heilongjiang College of Business and Technology, Harbin 150025, Heilongjiang , China
  • show less
    DOI: 10.3788/LOP202259.1610003 Cite this Article Set citation alerts
    Kezheng Lin, Jiahao Geng, Weiyue Cheng, Ao Li. Image Dehazing Algorithm Based on Attention Mechanism and Markov Discriminant[J]. Laser & Optoelectronics Progress, 2022, 59(16): 1610003 Copy Citation Text show less
    Attention module
    Fig. 1. Attention module
    Diagram of Inception mechanism
    Fig. 2. Diagram of Inception mechanism
    Network framework
    Fig. 3. Network framework
    Predictive transmission network
    Fig. 4. Predictive transmission network
    Image processing process
    Fig. 5. Image processing process
    Comparison of indoor PSNR
    Fig. 6. Comparison of indoor PSNR
    Comparison of indoor SSIM
    Fig. 7. Comparison of indoor SSIM
    Comparison of outdoor PSNR
    Fig. 8. Comparison of outdoor PSNR
    Comparison of outdoor SSIM
    Fig. 9. Comparison of outdoor SSIM
    Comparison of algorithms in outdoor. (a) Foggy images; (b) CAP results; (c) DCP results; (d) Dehaze results; (e) MSCNN results; (f) results of proposed algorithm
    Fig. 10. Comparison of algorithms in outdoor. (a) Foggy images; (b) CAP results; (c) DCP results; (d) Dehaze results; (e) MSCNN results; (f) results of proposed algorithm
    Comparison of PSNR
    Fig. 11. Comparison of PSNR
    Comparison of SSIM
    Fig. 12. Comparison of SSIM

    algorithm 1 A&P-dehaze algorithm

    input:Foggy image

    output:Defogging image

    1)Input foggy imageI;

    2)Use formula(7) to extract shallow features and get feature map Fs

    3)First,Fs is downsampled by residual network,and attention mechanism is used to allocate weight Fd=HAMFs+FFs,WlHAM is the whole function of attention mechanism,FFs,Wl is the residual;

    4)Then the deconvolution residual network is used for upsampling to get FbFb=Fd+FFd,Wl

    5)The transmittance map is obtained by using the mapping function,t=HMAPFb

    (6)Using Inception module,the atmospheric light value of foggy image is predicted A=FInc,n...FInc,1I

    (7)The defogging image J can be obtained by using the atmospheric scattering model,

    J(x)=I(x)-A1-t(x)t(x)

    8)Using PantchGAN to judge whether it is true or false;

    9)Further training the network,repeat formula(8) until the loss function of the network is optimal,and the training is completed;

    10)Save the optimal model.

    Table 0. [in Chinese]
    AlgorithmSSIMPSNR
    CAP

    0.8524

    0.8705

    0.8756

    0.8069

    0.8764

    18.96

    18.97

    21.34

    17.12

    20.86

    DCP
    Dehaze
    MCSNN
    Proposed algorithm
    Table 1. Comparison results on SOTS dataset
    AlgorithmSSIMPSNR
    CAP

    0.7859

    0.8095

    0.8886

    0.8632

    0.8938

    18.24

    15.99

    22.94

    19.61

    22.36

    DCP
    Dehaze
    MCSNN
    Proposed algorithm
    Table 2. Comparison results on HSTS dataset
    AlgorithmCAPDCPDehazeMSCNNProposed algorithm
    Time /s1.429.861.781.700.93
    Table 3. Comparison of average running time of different algorithms
    Kezheng Lin, Jiahao Geng, Weiyue Cheng, Ao Li. Image Dehazing Algorithm Based on Attention Mechanism and Markov Discriminant[J]. Laser & Optoelectronics Progress, 2022, 59(16): 1610003
    Download Citation