Article Content

Abstract

Image dehazing is a vital research area in computer vision. Many existing deep learning-based dehazing methods rely on atmospheric scattering models with manually predefined, non-trainable parameters, which limits their adaptability and transferability. We propose Alpha-DehazeNet, a novel model that leverages red green blue alpha (RGBA) haze layer effect maps by defining a grayscale transparency map in the RGBA color space as the initial haze layer. Alpha-DehazeNet employs a U-Net generator enhanced with a spatial attention mechanism to encode haze-related features. This generator is integrated into an adversarial architecture with residual connections, enabling end-to-end training. Additionally, a depth consistency loss is introduced to improve dehazing accuracy. Alpha-DehazeNet outperforms several state-of-the-art models on synthetic datasets (ITS and OTS from RESIDE), achieving 37.35 dB peak signal-to-noise ratio (PSNR) on SOTS-indoor and 37.39 dB PSNR on SOTS-outdoor, while using only 8.86 million parameters. On real-world datasets, Alpha-DehazeNet delivers competitive results, although it shows limitations in handling non-white fog and cloud conditions. The code is publicly available at: https://doi.org/10.5281/zenodo.15361810.

Cite this as

He J, Li R. 2025. Alpha-DehazeNet: single image dehazing via RGBA haze modeling and adaptive learning. PeerJ Computer Science 11:e3036 https://doi.org/10.7717/peerj-cs.3036

Introduction

I(x)=J(x)t(x)+A(1–t(x)).

Method

Architecture of the Alpha-DehazeNet network

S=αF+(1−α)B.

RGBA-Net: a model for generating haze effect images

REC-Net: the dehazing optimization model

Loss function

Ltotal=αLmse+βLgan+γLdp.
Ltmse=(Jrec−Jgt)2+(Irec−Igt)2.
Lgan=E[logD(Jgt)]+E[log(1–D(Jrec))]+E[logD(Igt)]+E[log(1–D(Irec))].
Gimage(x,y)=wr⋅Iimage(x,y,0)+wg⋅Iimage(x,y,1)+wb⋅Iimage(x,y,2).
Hgray(i)=∑(x,y)1(Gimage(x,y)∈[i,i+1])Nimage
D(i)=|Hrec(i)−Horig(i)|.
Ldp=1−∑i=0image_sizeD(i).

Experiments

Datasets

Results

Ablation study

Discussion

Conclusion

Additional Information and Declarations

Competing Interests

Author Contributions

Data Availability

Funding

This work was supported by the Postdoctoral Research Station Project (code: 132414) from China Waterborne Transport Research Institute. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.

References

  • Ancuti CO, Ancuti C, Sbert M, Timofte R. 2019a. DENSE-HAZE: a benchmark for image dehazing with dense-haze and haze-free images.
  • Ancuti CO, Ancuti C, Timofte R. 2020. NH-HAZE: an image dehazing benchmark with non-homogeneous hazy and haze-free images.
  • Ancuti CO, Ancuti C, Timofte R, Van Gool L, Zhang L, Yang M-H. 2019b. NTIRE 2019 image dehazing challenge report.
  • Berman D, Treibitz T, Avidan S. 2016. Non-local image dehazing.
  • Cai B, Xu X, Jia K, Qing C, Tao D. 2016. DehazeNet: an end-to-end system for single image haze removal. IEEE Transactions on Image Processing 25(11):5187–5198
  • Dudhane A, Patil PW, Murala S. 2020. An end-to-end network for image de-hazing and beyond. IEEE Transactions on Emerging Topics in Computational Intelligence 6(1):159–170
  • Dudhane A, Singh Aulakh H, Murala S. 2019. RI-GAN: an end-to-end network for single image haze removal.
  • Fu M, Liu H, Yu Y, Chen J, Wang K. 2021. DW-GAN: a discrete wavelet transform GAN for nonhomogeneous dehazing.
  • Goodfellow I, Pouget-Abadie J, Mirza M, Xu B, Warde-Farley D, Ozair S, Courville A, Bengio Y. 2020. Generative adversarial networks. Communications of the ACM 63(11):139–144
  • He K, Sun J, Tang X. 2010. Single image haze removal using dark channel prior. IEEE Transactions on Pattern Analysis and Machine Intelligence 33(12):2341–2353
  • Jayanthi N, Rajput V, Indu S. 2020. Underwater haze removal using contrast boosted grayscale image. Multimedia Tools and Applications 79(41–42):31007–31026
  • Jiang X, Zhao C, Zhu M, Hao Z, Gao W. 2021. Residual spatial and channel attention networks for single image dehazing. Sensors 21(23):7922
  • Koschmieder H. 1925. Theorie der horizontalen Sichtweite. Frankfurt: Keim & Nemnich.
  • Li X, Hua Z, Li J. 2023. Attention-based adaptive feature selection for multi-stage image dehazing. The Visual Computer 39(2):663–678
  • Li B, Peng X, Wang Z, Xu J, Feng D. 2017. AOD-NET: all-in-one dehazing network.
  • Li B, Ren W, Fu D, Tao D, Feng D, Zeng W, Wang Z. 2018. Benchmarking single-image dehazing and beyond. IEEE Transactions on Image Processing 28(1):492–505
  • Liu X, Liu C, Lan H, Xie L. 2020. Dehaze enhancement algorithm based on retinex theory for aerial images combined with dark channel. Open Access Library Journal 7(4):1
  • Liu Y, Wang X, Hu E, Wang A, Shiri B, Lin W. 2025. VNDHR: variational single nighttime image dehazing for enhancing visibility in intelligent transportation systems via hybrid regularization. IEEE Transactions on Intelligent Transportation Systems 26(7):10189–10203
  • Liu Y, Yan Z, Chen S, Ye T, Ren W, Chen E. 2023. Nighthazeformer: single nighttime haze removal using prior query transformer. ArXiv
  • Liu Y, Yan Z, Tan J, Li Y. 2022. Multi-purpose oriented single nighttime image haze removal based on unified variational retinex model. IEEE Transactions on Circuits and Systems for Video Technology 33(4):1643–1657
  • Liu Y, Zhao G, Gong B, Li Y, Raj R, Goel N, Kesav S, Gottimukkala S, Wang Z, Ren W+1 more. 2018. Improved techniques for learning to dehaze and beyond: a collective study. ArXiv
  • Qin X, Wang Z, Bai Y, Xie X, Jia H. 2020. FFA-NET: feature fusion attention network for single image dehazing. Proceedings of the AAAI Conference on Artificial Intelligence 34(07):11908–11915
  • Qiu D, Cheng Y, Wang X. 2022. End-to-end residual attention mechanism for cataractous retinal image dehazing. Computer Methods and Programs in Biomedicine 219(8):106779
  • Radha E, Suresha D, Ramesh E. 2023. Design and implementation of image de-hazing using histogram equalization.
  • Ren W, Pan J, Zhang H, Cao X, Yang M-H. 2020. Single image dehazing via multi-scale convolutional neural networks with holistic edges. International Journal of Computer Vision 128(1):240–259
  • Shyam P, Yoo H. 2023. Data efficient single image dehazing via adversarial auto-augmentation and extended atmospheric scattering model.
  • Song Y, He Z, Qian H, Du X. 2023. Vision transformers for single image dehazing. IEEE Transactions on Image Processing 32:1927–1941
  • Sulami M, Glatzer I, Fattal R, Werman M. 2014. Automatic recovery of the atmospheric light in hazy images.
  • Tan J, Lien J-M, Gingold Y. 2016. Decomposing images into layers via RGB-Space geometry. ACM Transactions on Graphics (TOG) 36(1):1–14
  • Wang L, Dong H, Li R, Zhu C, Tao H, Guo Y, Wang F. 2024. Dual-path dehazing network with spatial-frequency feature fusion. Pattern Recognition 151(12):110397
  • Wang C, Huang Y, Zou Y, Xu Y. 2021. Fully non-homogeneous atmospheric scattering modeling with convolutional neural networks for single image dehazing. ArXiv
  • Wang W, Xu L. 2014. Retinex algorithm on changing scales for haze removal with depth map. International Journal of Hybrid Information Technology 7(4):353–364
  • Yang G, Yang H, Yu S, Wang J, Nie Z. 2023. A multi-scale dehazing network with dark channel priors. Sensors 23(13):5980
  • Yi W, Dong L, Liu M, Hui M, Kong L, Zhao Y. 2024a. Priors-assisted dehazing network with attention supervision and detail preservation. Neural Networks 173(11):106165
  • Yi W, Dong L, Liu M, Hui M, Kong L, Zhao Y. 2024b. SID-NET: single image dehazing network using adversarial and contrastive learning. Multimedia Tools and Applications 83(28):71619–71638
  • Yi W, Dong L, Liu M, Zhao Y, Hui M, Kong L. 2022. Dcnet: dual-cascade network for single image dehazing. Neural Computing and Applications 34(19):16771–16783
  • Zhang X, Wang T, Wang J, Tang G, Zhao L. 2020. Pyramid channel-based feature attention network for image dehazing. Computer Vision and Image Understanding 197(9):103003
  • Zheng Z, Jia X. 2023. 4k-HAZE: a dehazing benchmark with 4k resolution hazy and haze-free images. ArXiv
  • Zheng L, Li Y, Zhang K, Luo W. 2022. T-Net: deep stacked scale-iteration network for image dehazing. IEEE Transactions on Multimedia 25:6794–6807
  • Zheng Y, Zhan J, He S, Dong J, Du Y. 2023. Curricular contrastive regularization for physics-aware single image dehazing.
  • Zhou Y, Chen Z, Li P, Song H, Chen CP, Sheng B. 2022. FSAD-Net: feedback spatial attention dehazing network. IEEE Transactions on Neural Networks and Learning Systems 34(10):7719–7733
  • Zhu Q, Mai J, Shao L. 2015. A fast single image haze removal algorithm using color attenuation prior. IEEE Transactions on Image Processing 24(11):3522–3533

    • Enhancing early breast cancer diagnosis through automated microcalcification detection using an optimized ensemble deep learning framework
      Jing Ru Teoh, PeerJ, 2024
    • Non-H3 CDR template selection in antibody modeling through machine learning
      Xiyao Long, PeerJ, 2019
    • Visual resource extraction and artistic communication model design based on improved CycleGAN algorithm
      Anyu Yang, PeerJ, 2024
    • Adaptive prototype few-shot image classification method based on feature pyramid
      Linshan Shen, Xiang Feng, Xu Li, et al., PeerJ, 2024
    • NALA: a Nesterov accelerated look-ahead optimizer for deep learning
      Xuan Zuo, PeerJ, 2024
    • Image defogging algorithm based on YUV color space GAN network
      Journal of Graphics, 2023
    • Saliency detection-guided for image data augmentation
      Journal of Graphics, 2023
    • Research on image privacy detection based on deep transfer learning
      Journal of Graphics, 2023
    • Monocular depth estimation combining pyramid structure and attention mechanism
      Journal of Graphics, 2024
    • Full process generation method of high-resolution face texture map
      Journal of Graphics, 2024
WhatsApp