Density Estimation of Fog in Image Based on Dark Channel Prior
Abstract
:1. Introduction
2. Method
2.1. Density Index
2.2. Fog Density Levels
3. Results
3.1. Fog Density Estimation
- (1)
- The three curves were all monotonically decreasing, which was highly consistent with the changes in the real fog density values of the images in the dataset (ground truth information);
- (2)
- The fog density values that were estimated using our method were limited to the interval 0 to 1, in which 0 meant clear and 1 represented heavy fog, while FADE did not have a limited interval and the density values that were calculated using SFDE tended to be greater than 0.5. Obviously, our fog density values had a more intuitive meaning;
- (3)
- Our curve was in sharp decline from the fourth image to the fifth image, which illustrated that the fog density in the first four images was significantly different from that in the last six images. This correlated with the real situation.
3.2. Fog Density Levels
3.3. Fog Density Levels in Videos
4. Conclusions
- (1)
- In the experiment using the Color Hazy Image Database (CHIC), our index was consistent with the labeled fog density values in terms of rank order;
- (2)
- In the experiment using the Cityscapes database, our index was consistent with the labeled fog density values. The accuracy reached as high as 0.9812.
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Jiang, Y.; Sun, C.; Zhao, Y.; Yang, L. Fog Density Estimation and Image Defogging Based on Surrogate Modeling for Optical Depth. IEEE Trans. Image Process. 2017, 26, 3397–3409. [Google Scholar] [CrossRef] [PubMed]
- Gultepe, I.; Milbrandt, J.; Belair, S. Visibility parameterization from microphysical observations for warm fog conditions and its application to the Canadian MC2 model. In Proceedings of the AMS Annual Meeting, San Antonio, TX, USA, 12–15 January 2006. [Google Scholar]
- Hareendran, T.K. Fog Detection: The Optical Route. Electronics for You, 23 January 2016. [Google Scholar]
- Zhao, S.; Zhang, L.; Huang, S.; Shen, Y.; Zhao, S. Dehazing Evaluation: Real-World Benchmark Datasets, Criteria, and Baselines. IEEE Trans. Image Process. 2020, 29, 6947–6962. [Google Scholar] [CrossRef]
- Lee, Z.; Shang, S. Visibility: How Applicable is the Century-Old Koschmieder Model? J. Atmos. Sci. 2016, 73, 4573–4581. [Google Scholar] [CrossRef]
- Caraffa, L.; Tarel, J.P. Daytime fog detection and density estimation with entropy minimization. ISPRS Ann. Photogramm. Remote. Sens. Spat. Inf. Sci. 2014, II-3, 25–31. [Google Scholar] [CrossRef] [Green Version]
- Choi, L.K.; You, J.; Bovik, A.C. Referenceless Prediction of Perceptual Fog Density and Perceptual Image Defogging. IEEE Trans. Image Process. 2015, 24, 3888–3901. [Google Scholar] [CrossRef] [PubMed]
- Yeh, C.H.; Kang, L.W.; Lee, M.S.; Lin, C.Y. Haze effect removal from image via haze density estimation in optical model. Opt. Express 2013, 21, 27127–27141. [Google Scholar] [CrossRef] [PubMed]
- Mori, K.; Takahashi, T.; Ide, I.; Murase, H.; Tamatsu, Y. Fog density recognition by in-vehicle camera and millimeter wave radar. Int. J. Innov. Comput. Inf. Control IJICIC 2007, 3, 1173–1182. [Google Scholar]
- Ling, Z.; Gong, J.; Fan, G.; Lu, X. Optimal Transmission Estimation via Fog Density Perception for Efficient Single Image Defogging. IEEE Trans. Multimed. 2018, 20, 1699–1711. [Google Scholar] [CrossRef]
- Liu, T.; Li, Z.; Mei, R.; Lai, C.; Wang, H.; Hu, S. The Visibility Measurement Based on Convolutional Neural Network. In Proceedings of the 2019 International Conference on Meteorology Observations (ICMO), Chengdu, China, 28–31 December 2019; pp. 1–3. [Google Scholar] [CrossRef]
- Xiyu, M.; Qi, X.; Qiang, Z.; Junch, R.; Hongbin, W.; Linyi, Z. An Improved Diracnet Convolutional Neural Network for Haze Visibility Detection. In Proceedings of the 2021 IEEE 31st International Workshop on Machine Learning for Signal Processing (MLSP), Gold Coast, Australia, 25–28 October 2021; pp. 1–5. [Google Scholar] [CrossRef]
- Tang, P.; Shaojing, S.; Tingting Zhao, T.; Li, Y. Visibility estimation of foggy weather based on continuous video information. Remote. Sens. Lett. 2021, 12, 1061–1072. [Google Scholar] [CrossRef]
- Li, R.; Kintak, U. Haze Density Estimation and Dark Channel Prior Based Image Defogging. In Proceedings of the 2018 International Conference on Wavelet Analysis and Pattern Recognition (ICWAPR), Chengdu, China, 15–18 July 2018; pp. 29–35. [Google Scholar] [CrossRef]
- Mei, W.; Li, X. Single Image Dehazing Using Dark Channel Fusion and Haze Density Weight. In Proceedings of the 2019 IEEE 9th International Conference on Electronics Information and Emergency Communication (ICEIEC), Beijing, China, 12–14 July 2019; pp. 579–585. [Google Scholar] [CrossRef]
- Khoury, J.E.; Thomas, J.B.; Mansouri, A. A Database with Reference for Image Dehazing Evaluation. J. Imaging Sci. Technol. 2018, 62, 010503.1–010503.13. [Google Scholar] [CrossRef]
- He, K.; Sun, J.; Tang, X. Single Image Haze Removal Using Dark Channel Prior. Pattern Anal. Mach. Intell. IEEE Trans. 2011, 33, 2341–2353. [Google Scholar]
- Canny, J. A computational approach for edge detection. IEEE Trans. Pattern Anal. Mach. Intell. 1986, 8, 679–698. [Google Scholar] [CrossRef] [PubMed]
- Cordts, M.; Omran, M.; Ramos, S.; Rehfeld, T.; Enzweiler, M.; Benenson, R.; Franke, U.; Roth, S.; Schiele, B. The Cityscapes Dataset for Semantic Urban Scene Understanding. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA, 27–30 June 2016. [Google Scholar]
- Sakaridis, C.; Dai, D.; Van Gool, L. Semantic Foggy Scene Understanding with Synthetic Data. Int. J. Comput. Vis. 2018, 126, 973–992. [Google Scholar] [CrossRef] [Green Version]
- Ren, W.; Zhang, J.; Xu, X.; Ma, L.; Cao, X.; Meng, G.; Liu, W. Deep Video Dehazing with Semantic Segmentation. IEEE Trans. Image Process. 2019, 28, 1895–1908. [Google Scholar] [CrossRef] [PubMed]
- Peng, S.J.; Zhang, H.; Liu, X.; Fan, W.; Zhong, B.; Du, J.X. Real-time video dehazing via incremental transmission learning and spatial-temporally coherent regularization. Neurocomputing 2021, 458, 602–614. [Google Scholar] [CrossRef]
- Kim, J.H.; Jang, W.D.; Sim, J.Y.; Kim, C.S. Optimized contrast enhancement for real-time image and video dehazing. J. Vis. Commun. Image Represent. 2013, 24, 410–425. [Google Scholar] [CrossRef]
- Cai, B.; Xu, X.; Jia, K.; Qing, C.; Tao, D. DehazeNet: An End-to-End System for Single Image Haze Removal. IEEE Trans. Image Process. 2016, 25, 5187–5198. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Li, Z.; Tan, P.; Tan, R.T.; Zou, D.; Zhou, S.Z.; Cheong, L.F. Simultaneous video defogging and stereo reconstruction. In Proceedings of the 2015 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Boston, MA, USA, 7–12 June 2015; pp. 4988–4997. [Google Scholar] [CrossRef]
- Cai, B.; Xu, X.; Tao, D. Real-Time Video Dehazing Based on Spatio-Temporal MRF. In Proceedings of the Advances in Multimedia Information Processing—PCM 2016, Xi’an, China, 15–16 September 2016; Springer International Publishing: Berlin/Heidelberg, Germany, 2016; pp. 315–325, $10.1007/978-3-319-48896-7\_31$. [Google Scholar]
- Gultepe, I.; Milbrandt, J.A.; Zhou, B. Marine Fog: A Review on Microphysics and Visibility Prediction. In Marine Fog: Challenges and Advancements in Observations, Modeling, and Forecasting; Koračin, D., Dorman, C.E., Eds.; Springer International Publishing: Cham, Switzerland, 2017; pp. 345–394. [Google Scholar] [CrossRef]
- Gultepe, I.; Agelin-Chaab, M.; Komar, J.; Elfstrom, G.; Boudala, F.; Zhou, B. A Meteorological Supersite for Aviation and Cold Weather Applications. Pure Appl. Geophys. Vol. 2019, 176, 1977–2015. [Google Scholar] [CrossRef]
Level | ||||||
---|---|---|---|---|---|---|
Shallow | 0.9929 | 0.0071 | 0.0000 | 0.9149 | 0.0426 | 0.0426 |
Moderate | 0.0149 | 0.9689 | 0.0162 | 0.4894 | 0.2553 | 0.2553 |
Heavy | 0.0000 | 0.0181 | 0.9819 | 0.1489 | 0.1489 | 0.7021 |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Guo, H.; Wang, X.; Li, H. Density Estimation of Fog in Image Based on Dark Channel Prior. Atmosphere 2022, 13, 710. https://doi.org/10.3390/atmos13050710
Guo H, Wang X, Li H. Density Estimation of Fog in Image Based on Dark Channel Prior. Atmosphere. 2022; 13(5):710. https://doi.org/10.3390/atmos13050710
Chicago/Turabian StyleGuo, Hong, Xiaochun Wang, and Hongjun Li. 2022. "Density Estimation of Fog in Image Based on Dark Channel Prior" Atmosphere 13, no. 5: 710. https://doi.org/10.3390/atmos13050710
APA StyleGuo, H., Wang, X., & Li, H. (2022). Density Estimation of Fog in Image Based on Dark Channel Prior. Atmosphere, 13(5), 710. https://doi.org/10.3390/atmos13050710