Abstract
As the key parameter of dehazing algorithms, airlight value directly affect the calculation accuracy of sky region, and any deviation will lead to the chromatic aberration in the image restoration. Many methods are proposed to address this problem, but the large amount of calculation or large deviations make them difficult to apply to real-time systems. In this paper, a fast algorithm is proposed based on the statistics of sky area’s distribution in hazy images. Firstly, fast mean filter is used to process gray image; and then the anti-interference ability of regional projection is analysied. Through the horizontal projection and vertical projection, the main sky area is quickly located, and finally the sky region are calculated by selecting some special pixels as atmospheric light. A large number of experiments show that the proposed algorithm can obtain the airlight value quickly for the images with sky region, and can be used in real-time conditions.












Similar content being viewed by others
References
Alajarmeh A, Zaidan A (2018) A real-time framework for video Dehazing using bounded transmission and controlled Gaussian filter. Multimed Tools Appl 77(20):26315–26350. https://doi.org/10.1007/s11042-018-5861-4
Ancuti CO, Ancuti C (2013) Single image Dehazing by multi-scale fusion. IEEE Trans Image Process 22(8):3271–3282. https://doi.org/10.1109/TIP.2013.2262284
Cai B, Xu X, Jia K, Qing C, Tao D (2016) DehazeNet: an end-to-end system for single image haze removal. IEEE Trans Image Process 25(11):5187–5198. https://doi.org/10.1109/TIP.2016.2598681
Cheng F-C, Cheng C-C, Lin P-H, Huang S-C (2015) A hierarchical Airlight estimation method for image fog removal. Eng Appl Artif Intell 43:27–34. https://doi.org/10.1016/j.engappai.2015.03.011
Cooper TJ, Baqai FA (2004) Analysis and extensions of the Frankle-McCann Retinex algorithm. J Electron Imag 13(1):85–92. https://doi.org/10.1117/1.1636182
Dippel S, Stahl M, Wiemker R, Blaffert T (2002) Multiscale contrast enhancement for radiographies: Laplacian pyramid versus fast wavelet transform. IEEE Trans Med Imag 21(4):343–353. https://doi.org/10.1109/tmi.2002.1000258
X Dong, X Hu, S Peng, and D Wang (2010). Single color image dehazing using sparse priors,” IEEE Int. Conf. Image Process., Hong Kong, China, pp. 3593–3596, 2010
Fattal R (2008) Single Image Dehazing. ACM Trans Graph (TOG) 27(3):1–9. https://doi.org/10.1145/1360612.1360671
Fattal R (2014) Dehazing using color-lines. ACM Trans Graph 34(1):1–14. https://doi.org/10.1145/2651362
KB Gibson and TQ Nguyen (2013), “Fast single image fog removal using the adaptive wiener filter,” IEEE Int. Conf. Image Process., Melbourne, VIC, Australia, pp. 714–718, 2013
N Hautiere, J Tarel, and D Aubert (2007). “Towards fog-free in-vehicle vision systems through contrast restoration,” IEEE Conf. Comput. Vision Pattern Recognition, Minneapolis, MN, USA, pp. 1–8, 2007
He K, Sun J, Tang X (2011) Single image haze removal using Dark Channel prior. IEEE Trans Pattern Anal Mach Intell 33(12):2341–2353. https://doi.org/10.1109/TPAMI.2010.168
He K, Sun J, Tang X (2013) Guided image filtering. IEEE Trans Pattern Anal Mach Intell 35:1397–1409. https://doi.org/10.1109/TPAMI.2012.213
Huang S, Chen B, Wang W (2014) Visibility restoration of single hazy images captured in real-world weather conditions. IEEE Trans Circuits Syst Video Technol 24(10):1814–1824. https://doi.org/10.1109/TCSVT.2014.2317854
Jessica E, Steven L, Jean-Baptiste T (2018) Color and sharpness assessment of single image Dehazing. Multimed. Tools Appl 77(12):15409–15430. https://doi.org/10.1007/s11042-017-5122-y
Jiang B, Meng H, Ma X, Wang L, Zhou Y, Xu P, Jiang S, Meng X (2018) Nighttime image Dehazing with modified models of color transfer and guided image filter. Multimed Tools Appl 77(3):3125–3141. https://doi.org/10.1007/s11042-017-4954-9
Kim J-H, Jang W-D, Sim J-Y, Kim C-S (2013) Optimized contrast enhancement for real-time image and video Dehazing. J Vis Commun Image Represent 24(3):410–425. https://doi.org/10.1016/j.jvcir.2013.02.004
Kim TK, Paik JK, Kang BS (1998) Contrast enhancement system using spatially adaptive histogram equalization with temporal filtering. IEEE Trans Consum Electron 44(1):82–87. https://doi.org/10.1109/30.663733
Kopf J, Neubert B, Chen B, Cohen M, Cohen-Or D, Deussen O, Uyttendaele M, Lischinski D (2008) Deep Photo: Model-Based Photograph Enhancement and Viewing. ACM Trans. Graph. (TOG) 27(5):116. https://doi.org/10.1145/1409060.1409069
L Kratz and K Nishino (2009). “Factorizing scene albedo and depth from a single foggy image,” IEEE Twelth Int. Conf. Comput. Vision, Kyoto, Japan, pp. 1701–1708, 2009
Lee J, Li C, Lee H (2019) Visibility Dehazing based on channel-weighted analysis and illumination tuning. Multimed Tools Appl 78(2):1831–1856. https://doi.org/10.1007/s11042-018-6280-2
Li QH, Bi DY, Xu YL, Zha YF (2014) Haze Degraded Image Scene Rendition. Acta Autom Sinica 40:744–750. https://doi.org/10.3724/SP.J.1004.2014.00744
Li Z, Zheng J, Zhu Z, Yao W, Wu S (2015) Weighted guided image filtering. IEEE Trans Image Process 24(1):120–129. https://doi.org/10.1109/TIP.2014.2371234
Lu H, Li Y, Nakashima S, Serikawa S (2016) Single image Dehazing through improved tmospheric light estimation. Multimed Tools Appl 75(24):17081–17096. https://doi.org/10.1007/s11042-015-2977-7
G Meng, Y Wang, J Duan, S Xiang, and C Pan (2013), “Efficient image dehazing with boundary constraint and contextual regularization,” IEEE Int. Conf. Comput. Vision, Sydney, NSW, Australia, pp. 617–624, 2013.
SG Narasimhan and SK Nayar (2003). “Interactive (de) weathering of an image using physical models,” IEEE Int. Conf. Comput. Vision Workshop Color Photometric Methods Comput. Vision, New York, NY, pp. 1–7
Narasimhan SG, Nayar SK (2003) Contrast restoration of weather degraded images. IEEE Trans Pattern Anal Mach Intell 25(6):713–724. https://doi.org/10.1109/TPAMI.2003.1201821
SK Nayar and SG Narasimhan (1999). “Vision in Bad Weather,” Proc. Seventh IEEE Int. Conf. Comput. Vision, Kerkyra, Greece, pp. 820–827
Nishino K, Kratz L, Lombardi S (2012) Bayesian Defogging. Int J Comput Vis 98(3):263–278. https://doi.org/10.1007/s11263-011-0508-1
H Park, D Park, DK Han, and H Ko (2014). “Single image haze removal using novel estimation of atmospheric light and transmission,” IEEE Int. Conf. Image Process. (ICIP), Paris, France, pp. 4502–4506, 2014.
M Pedone and J Heikkilä (2011). “Robust airlight estimation for haze removal from a single image,” IEEE Comput. Vision Pattern Recognition Workshops, Colorado Springs, CO, USA, pp. 90–96
YY Schechner, SG Narasimhan, and SK Nayar (2001). “Instant dehazing of images using polarization,” IEEE Conf. Comput. Vision Pattern Recognition, Kauai, HI, USA, pp. 325–332
Seow M-J, Asari VK (2006) Ratio rule and Homomorphic filter for enhancement of digital colour image. Neurocomputing 69(7):954–958. https://doi.org/10.1016/j.neucom.2005.07.003
Shiau Y, Yang H, Chen P, Chuang Y (2013) Hardware implementation of a fast and efficient haze removal method. IEEE Trans Circuits Syst Video Technol 23(8):1369–1374. https://doi.org/10.1109/TCSVT.2013.2243650
M Sulami, I Glatzer, R Fattal, and M Werman (2014). “Automatic recovery of the atmospheric light in hazy images,” IEEE Int. Conf. Comput. Photography (ICCP), Santa Clara, CA, USA, pp. 1–11, 2014.
RT Tan (2008). “Visibility in bad weather from a single image,” IEEE Conf. Comput. Vision Pattern Recognit., Anchorage, AK, USA, pp. 1–8, 2008.
J Tarel and N Hautiere (2009). “Fast visibility restoration from a single color or gray level image,” IEEE Twelth Int. Conf. Comput. Vision, Kyoto, Japan, pp. 2201–2208, 2009
Tripathi AK, Mukhopadhyay S (2012) Single image fog removal using anisotropic diffusion. IET Image Process 6(7):966–975. https://doi.org/10.1049/iet-ipr.2011.0472
W Wang, F Chang, T Ji, and X Wu, “A Fast Single-Image Dehazing Method Based on a Physical Model and Gray Projection,” IEEE Access, vol.6, no.1, pp.5641–5653, doi. https://doi.org/10.1109/ACCESS.2018.2794340.
Wang Y, Fan C (2014) Single image defogging by multiscale depth fusion. IEEE Trans Image Process 23(11):4826–4837. https://doi.org/10.1109/TIP.2014.2358076
Wang Z, Feng Y (2014) Fast Single Haze Image Enhancement. Comput Electr Eng 40(3):785–795. https://doi.org/10.1016/j.compeleceng.2013.06.009
Wang J-B, He N, Zhang L-L, Lu K (2015) Single image Dehazing with a physical model and Dark Channel prior. Neurocomputing 149:718–728. https://doi.org/10.1016/j.neucom.2014.08.005
Wang W, Yuan X, Wu X, Liu Y (2017) Fast image Dehazing method based on linear transformation. IEEE Trans Multimedia 19(6):1142–1155. https://doi.org/10.1109/TMM.2017.2652069
Wang W, Yuan X, Wu X, Liu Y (2017) Dehazing for images with large sky region. Neurocomputing 238:365–376. https://doi.org/10.1016/j.neucom.2017.01.075
W Wang, X Yuan, X Wu, Y Liu, and S Ghanbarzadeh (2016). “An Efficient Method for Image Dehazing,” IEEE Int. Conf. Image Process. (ICIP), Phoenix, AZ, USA, pp. 2241–2245, 2016.
Yeh C-H, Kang L-W, Lee M-S, Lin C-Y (2013) Haze effect removal from image via haze density estimation in optical model. Opt Express 21:27127–27141. https://doi.org/10.1364/OE.21.027127
J Yu, C Xiao, and D Li (2010). “Physics-based fast single image fog removal,” IEEE Tenth Int. Conf. Signal Process. Proc., Beijing, China, pp. 1048–1052
Yuan H, Liu C, Guo Z, Sun Z (2017) A region-wised medium transmission based image Dehazing method. IEEE Access 5:1735–1742. https://doi.org/10.1109/ACCESS.2017.2660302
Zhang W, Hou X (2018) Light source point cluster selection-based atmospheric light estimation. Multimed Tools Appl 77(3):2947–2958. https://doi.org/10.1007/s11042-017-4547-7
Zhang XG, Tang ML, Chen H, Tang HZ (2014) A Dehazing method in single image based on double-area filter and image fusion. Acta Automat Sin 40:1733–1739. https://doi.org/10.3724/SP.J.1004.2014.01733
Zhu Q, Mai J, Shao L (2015) A fast single image haze removal algorithm using color attenuation prior. IEEE Trans Image Process 24(11):3522–3533. https://doi.org/10.1109/TIP.2015.2446191
Funding
This work was supported by Science and Technology Plan for Youth Innovation of Shandong’s Universities (No. 2019KJN012), Natural Science Foundation of Shandong Province (No. ZR2019FM059), National Natural Science Foundation of China (No. 61403283).
Author information
Authors and Affiliations
Contributions
WW wrote the initial manuscript and developed the main system. XY co-wrote the manuscript, XW helped design the algorithm and YD is the principal investigator of the project and revised the manuscript. All authors read and approved the final manuscript.
Corresponding author
Ethics declarations
Competing interests
The authors declare that they have no competing interests.
Additional information
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Wang, W., Yuan, X., Wu, X. et al. An airlight estimation method for image dehazing based on gray projection. Multimed Tools Appl 79, 27185–27203 (2020). https://doi.org/10.1007/s11042-020-09380-w
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11042-020-09380-w