Multiple Linear Regression Haze-removal Model Based on Dark Channel Prior
Binghan Li, Wenrui Zhang, Mi Lu

TL;DR
This paper introduces a multiple linear regression model based on Dark Channel Prior to improve haze removal, achieving higher SSIM and PSNR scores and addressing DCP's limitations in bright and real-world hazy images.
Contribution
It proposes a novel regression-based optimization of DCP for more accurate dehazing, trained on the RESIDE dataset, enhancing performance over existing algorithms.
Findings
Highest SSIM value among compared methods
PSNR surpasses most state-of-the-art algorithms
Effectively handles bright and real-world hazy images
Abstract
Dark Channel Prior (DCP) is a widely recognized traditional dehazing algorithm. However, it may fail in bright region and the brightness of the restored image is darker than hazy image. In this paper, we propose an effective method to optimize DCP. We build a multiple linear regression haze-removal model based on DCP atmospheric scattering model and train this model with RESIDE dataset, which aims to reduce the unexpected errors caused by the rough estimations of transmission map t(x) and atmospheric light A. The RESIDE dataset provides enough synthetic hazy images and their corresponding groundtruth images to train and test. We compare the performances of different dehazing algorithms in terms of two important full-reference metrics, the peak-signal-to-noise ratio (PSNR) as well as the structural similarity index measure (SSIM). The experiment results show that our model gets highest…
Click any figure to enlarge with its caption.
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6
Figure 7
Figure 8
Figure 9
Figure 10
Figure 11
Figure 12
Figure 13
Figure 14
Figure 15
Figure 16
Figure 17
Figure 18| 500 outdoor image | ||
|---|---|---|
| Dehazing method name | PSNR | SSIM |
| Improved DCP model | 23.84 | 0.9411 |
| DCP | 18.54 | 0.7100 |
| FVR | 16.61 | 0.7236 |
| BCCR | 17.71 | 0.7409 |
| GRM | 20.77 | 0.7617 |
| CAP | 23.95 | 0.8692 |
| NLD | 19.52 | 0.7328 |
| DehazeNet | 26.84 | 0.8264 |
| MSCNN | 21.73 | 0.8313 |
| AOD-Net | 24.08 | 0.8726 |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsImage Enhancement Techniques · Video Surveillance and Tracking Methods · Advanced Image Fusion Techniques
Multiple Linear Regression Haze-removal Model Based on Dark Channel Prior
1st Binghan Li
Electrical and Computer Engineering
*Texas A&M University
*College Station, TX
2nd Wenrui Zhang
Electrical and Computer Engineering
*Texas A&M University
*College Station, TX
3rd Mi Lu
Electrical and Computer Engineering
*Texas A&M University
*College Station, TX
Abstract
Dark Channel Prior (DCP) is a widely recognized traditional dehazing algorithm. However, it may fail in bright region and the brightness of the restored image is darker than hazy image. In this paper, we propose an effective method to optimize DCP. We build a multiple linear regression haze-removal model based on DCP atmospheric scattering model and train this model with RESIDE dataset, which aims to reduce the unexpected errors caused by the rough estimations of transmission map and atmospheric light . The RESIDE dataset provides enough synthetic hazy images and their corresponding groundtruth images to train and test. We compare the performances of different dehazing algorithms in terms of two important full-reference metrics, the peak-signal-to-noise ratio (PSNR) as well as the structural similarity index measure (SSIM). The experiment results show that our model gets highest SSIM value and its PSNR value is also higher than most of state-of-the-art dehazing algorithms. Our results also overcome the weakness of DCP on real-world hazy images.
Index Terms:
Dark channel prior, multiple linear regression model, single image dehazing, RESIDE dataset
I Introduction
Images captured in outdoor scenes are usually degraded by haze, fog and smoke. Suffering from poor visibility, reduced contrasts, fainted surfaces and color shift, hazy images will miss many details. As a result, most outdoor vision applications such as video-surveillance systems, traffic monitoring systems and object detection systems fail to work normally in some cities often covered with haze. Thus, haze removal is highly desired in computational photography and computer vision applications. However, the existence of haze adds complicated nonlinear and data-dependent noise to the images, making the haze removal a highly challenging image restoration and enhancement problem. Many attempts have been made to recover the haze-free images from hazy images [15] [16] [17] [18]. Among traditional dehazing algorithms, the dark channel prior (DCP) [1] is widely recognized.
DCP is a regular pattern found in general haze-free images. In most non-sky patches of the haze-free image, at least one color has some pixels whose intensity are very low and close to zero. The dehazing algorithm based on DCP is simple and effective. That’s why it becomes popular as soon as it is proposed. However, the traditional dark channel prior has a rough estimation on the transmission and the Atmospheric Light A. This weakness is very obvious when the scene object is inherently similar to the air light over a large local region and no shadow is cast on it, the brightness of the restored image will be darker than real haze-free image. And when there is a bright region (sky etc.), the strong sunlight will lead to color distortion and shift in restored images. Many researchers have tried various methods to make up this weak point, which will be discussed in Section III. In this paper, we propose an improved multiple linear regression haze-removal model to optimize the accuracy of estimation on the transmission t(x) and the Atmospheric Light A. And the haze-removal model is trained with the training set of REalistic Single Image DEhazing (RESIDE) dataset [3]. We also evaluate our algorithm based on the test set of RESIDE. Experiment results show that our improved model achieves the highest SSIM value campared with all the state-of-the-art algorithms. Finally, PSNR of our method is promoted by 5.3 compared to DCP rule and SSIM is promoted by 0.23. We also compared the recovered images from our algorithm with the recovered images from DCP, the improvement of our algorithm is obvious and significant.
In Section II, we will discuss over the principle and limitation of DCP. In Section IV, we will introduce our method to improve DCP in detail. The experiment results will be shown in Section V.
II Background
In computer vision, the classical model to describe the generation of a hazy image is the atmospheric scattering model:
[TABLE]
where is the observed intensity, is the scene radiance, is the atmospheric light, and is the medium transmission matrix. The first term on the right-hand side is called direct attenuation, and the second term is called airlight. When the atmosphere is homogeneous, the transmission matrix can be defined as:
[TABLE]
where is the scattering coefficient of the atmosphere, and is the scene depth, which indicates the distance between the object and the camera.
Given the atmospheric scattering model (1), most state-of-the-art single image dehazing algorithms estimate the transmission matrix and the global atmospheric light . Then they recover the clean images via computing the transformation of (1):
[TABLE]
III Overview of existing algorithms
III-A Dehazing algorithm based on Dark Channel Prior
To formally describe the observation in DCP, the dark channel of an image is defined as:
[TABLE]
Then by minimizing both sides of equation (1), and putting (2) into (1), we can eliminate the multiplicative term and estimate the transmission by:
[TABLE]
To keep the vision perceptual well and looks natural, He et al[1] have introduced a constant parameter to keep a very small amount of haze for the distant objects, then the transmission becomes:
[TABLE]
When estimating , DCP also takes the sunlight into consideration based on Tan’s work [9]. He at el[1] have adopted the dark channel to detect the most haze-opaque region and improve the atmospheric light estimation. They first pick the top 0.1 percent brightest pixels in the dark channel. These pixels are usually for the most haze-opaque region. Among these pixels, the pixels with the highest intensity in the input image are selected as the atmospheric light.
III-B Limitations of DCP and improved algorithms
However, DCP has many limitations when estimating and , which make DCP fail in some specific cases that are very common in real world. When the scene object is inherently similar to the air light (e.g., snowy ground or a white wall) over a large local region and no shadow is cast on it, it will underestimate the transmission of these objects and overestimate the haze layer. So the brightness of the restored image will be darker than the real haze-free image.
Transmission map estimation is one of the most important parts in state-of-the art dehazing algorithms. Due to the rough estimation of in DCP, some algorithms are proposed to optimize the estimation of . He et al[1] have fixed to 0.95 for all results in their paper, which intends to remove most haze and leave a small amount of haze for human to perceive depth. However, Chen et al[4] have pointed out that it sometimes causes haze removed too much, image with only a little haze often leads to an unreal feeling of vision. Thus, they proposed an dehazing parameter adaptive method to change corresponding to haze distributions. The dehazing parameters are estimated locally instead of globally. The original DCP uses soft matting to refine the estimation of transmission. Later they propose guide filter [6] to optimize the rough transmission , which turns out both more effective and more efficient than soft matting. And the traditional dark channel prior also has not fully exploited its power due to improper assumptions or operations, which causes unwanted artifacts. Then Zhu at el[5] have introduced a novel method for estimating transmission by energy minimization to solve this problem. And several attempts have been made to improve the restoration of sky region [10] [11] [12].
As for the limitations of estimation of atmospheric light , He et al[1] consider the sunlight and add it to the scene radiance of each color channel:
[TABLE]
where is the reflectance of the scene points. Then We put (7) to (1):
[TABLE]
Although taking sunlight into account, He at el [1] still think the influence of sunlight is weak due to small . However, DCP restricts the transmission map by a lower bound in case the recovered scene radiance is prone to noise:
[TABLE]
where . Since the lower bound of is 0.1, the influence of sunlight can be significant in the sky region with strong sunlight. We compare the hazy image with the recovered image from DCP in Figure 1, and the color distortion in the sky region can be obviously observed.
III-C Overview of CNN methods
With the development of Convolutional Neural Network (CNN) in computer vision problems [19] [20] [21] [22], some deep learning methods have been applied to solve haze-removal problem. A multi-scale deep neural network is introduced in [14]. It generates coarse-scale net to predict a holistic transmission map and refine results locally with a fine-scale net. Cai et al[13] have proposed a trainable end-to-end model called DehazeNet to estimate meiudm transmission. DehazeNet takes hazy iamges as imputs and estimates transmission map . It also proposes a novel nonlinear activation function to improve the quality of recovered haze-free image. Based on the RESIDE dataset, in [2], an image dehazing convolutional neural network called All-in-One Dehazing Network (AOD-Net) is built. AOD-Net directly generates the clean image through a light-weight CNN. And as an end-to-end model, it’s easy to be embedded into other deep models, to improve high-level tasks on hazy images.
One severe problem of state-of-the-art dehazing algorithms is about the way they compare the performances of different algorithms. Many researchers just list the original images and their recovered images together with the haze-removed images of other algorithms. They expect the readers to rank the performances of these images through observation. This is not a convincing way to prove that the new algorithm performs better than previous algorithms, especially when the difference is not very obvious. Wang in [3] has created a new large-scale benchmark consisting of both synthetic and real-world hazy images, called RESIDE. The dataset provides a rich variety of criteria for dehazing algorithm evaluation, ranging from full-reference metrics, to no-reference metrics, to subjective evaluation and the novel task-driven evaluation, which means the performances of different dehazing algorithms can be obviously compared via a variety of criteria. Wang in [3] has also tested other dehazing algorithms including state-of-the-art methods and deep learning methods on the test set of RESIDE, which makes it possible to compare all dehazing algorithms directly via the comparison of criteria. However, the performances based on the criteria can not reflect the limitations of dehazing algorithms. From the criteria, we are not able to judge if DCP fails in the sky region. In Section V, we will compare the performances both from recovered images and two important criteria SSIM and PSNR. The PSNR value corresponds to the image quality. A higher PSNR value provides a higher image quality. And the SSIM is used to measure the similarity between two images [7]. It was developed by Wang et al[8] and it is considered to be correlated with the quality perception of the human visual system (HVS).
IV Multiple linear regression haze-removal model
After the transmission map and the Atmospheric Light are estimated, hazy image can be recovered by:
[TABLE]
In Section II, we already introduced the estimation of transmission map and the Atmospheric Light are both based on the hazy images. Although many algorithms attempt to refine the estimations on transmission map , and the Atmospheric Light , estimations can still generate some unexpected deviations. And this kind of errors are normally impossible to eliminate. Now we introduce the multiple linear regression model to optimize the atmospheric scattering model (10). Multiple linear regression is the most common form of linear regression analysis. As a predictive analysis, multiple linear regression is used to explain the relationship between one continuous dependent variable and two or more independent variables. When we train with thousands of synthetic images and haze-free images, the scene radiance , which is also the RGB pixel of haze-free image, can be regarded as the the continuous dependent variable. For each image, after we estimate and by original DCP, , and in (7) can be regarded as three independent variables, where is the pixel of hazy image. Then both two parameters and together with the pixels of input images and target images can be simplified to a prediction problem with multiple linear regression model, which describes how the mean response changes with the three explanatory variables:
[TABLE]
Then we implement Stochastic Gradient Descent (SGD) to our multiple linear regression model, which is one of the most widely used algorithms to solve optimization problems. The Outdoor Training Set (OTS) of RESIDE dataset [3] provides 8970 outdoor haze-free images. For each haze-free image, OTS also provides about 30 synthesis hazy images with haze intensity from low to high. Different haze intensity means a lot to our multiple linear regression haze-removal model, because we don’t expect that our algorithm can only perform good on hazy images with fixed haze intensity. When we train our model on OTS, we refer haze-free images as target images , refer synthesis images as input images , take the images recovered from our model as output images . Then (11) can be re-formulated as:
[TABLE]
For that and are both defined based on RGB color channels, the dimension of three weights and bias is (3,1), aiming to refine the parameters from all three color channels. And the deviations of the output images from the target images are estimated by mean-squared error (MSE):
[TABLE]
By training our model, we try to find the optimal weights and bias that minimize the mean-squared error.
- •
Define the cost function of our model based on (13):
[TABLE]
- •
For each image in training set, we repeatedly update three weights via:
[TABLE]
where is the learning rate, and .
- •
Since the derivative of cost function can be computed via (14), Equation (15) can be simplified as:
[TABLE]
- •
For each image in training set, we repeatedly update the bias via:
[TABLE]
And after we get the optimal weights and bias, they can be simply added to traditional DCP. What’s more, the multiple linear regression model will not modify the inner theory of any state-of-the-art dehazing algorithm. Our model can be applied to further improve the performance of some state-of-the-art dehazing algorithms that optimize the estimations of and .
Actually, the performance of our model can be further improved by providing higher quality synthetic hazy images. RESIDE dataset is good enough to overcome the weakness of traditional DCP. However, the synthesis images can only generate average haze, which are very different from real-world hazy images. So our model can’t fully remove haze when the haze intensity is high in part of the image. And RESIDE dataset does not include the images of night scenes. Without training on night scenes images, our algorithm fails to recover the hazy images with dark light.
V Results
In this section, by demonstrating our dehazing results on several groups of hazy images as well as comparing the PSNR and SSIM value, we show the better performance of our model over DCP and other dehazing algorithms.
V-A Experiment setup
Most recently, a benchmark dataset of both synthetic and real-world hazy images provided in [3] for dehazing problems are introduced to the community. In our experiment, the Synthesis Object Testing Set (SOTS) in RESIDE dataset is used to test the dehazing performance of our method. Our algorithm focuses on recovering outdoor hazy images, therefore, we won’t evaluate the performance on recovering the 500 synthetic indoor images in SOTS.
In the training phase, 8000 haze-free images and corresponding synthetic hazy images in Outdoor Training Set (OTS)[3] are used to train our multiple linear regression haze-removal model. In the testing phase, 500 outdoor haze-free images and 500 outdoor synthetic hazy images in Synthetic Objective Testing Set(SOTS) are tested using the well trained model. We compare the performance with original DCP from both the average SSIM and PSNR, and we also list the comparison of recovered images between our algorithm and DCP to prove that the multiple linear regression haze-removal model can overcome the weakness of DCP.
V-B Experiment results on SOTS
In Fig. 2, We demonstrate the performance of multiple linear regression haze-removal model from the difference observed through recovered images via original DCP and our improved model. Fig. 2 (a) shows a synthetic hazy image selected from SOTS, and Fig. 2 (b) shows its haze-free image. Fig. 2 (c) shows the recovered image via original DCP. We can easily observe that the color distortion in sky region and non-sky region performs darker than its haze-free image. Fig. 2 (d) shows the recovered image via our model. Compared with the haze-free image, the haze is almost completely removed and the sky region seems more natural. The high similarity is obvious through observation.
In Table I, we compare our results with several state-of-the-art method with average SSIM and average PSNR. As we mentioned in Section III, PSNR and SSIM together can compare the image quality and similarity between recovered images and haze-free images. Since we want to apply our improved model on traffic dehazing problems, we only compare the results on 500 outdoor images in SOTS in this table. All the results of other algorithms come from [3]. As shown, our multiple linear regression haze-removal model has improved PSNR by and SSIM by compared to the original DCP. When compared with well-recognized state-of-the-art dehazing algorithms and deep learning methods, our proposed model achieves reasonably good PSNR value and obtains the highest SSIM value. The results show the effectiveness of our model on dehazing outdoor images.
V-C Dehazing results of realistic hazy images
Fig. 3 (a) and (b) present two commonly used hazy images and Fig. 4 (a) and (b) present two real-world hazy images in cities. Both Fig. 3 and Fig. 4 show the comparison of recovered images via DCP and our model. Through observation, our model performs better on all these four images than original DCP. Our model prevents the color distortion in sky region and the brightness of whole image seems more natural than that of DCP. This advantage can help a lot when we apply dehazing algorithms to object detection in haze. Because the dark brightness of recovered images via DCP will lower the accuracy of detecting an object, such as car, in haze environment.
VI Conclusion
Because of the deficiencies of DCP we mentioned in Section II, in this paper, we proposed a multiple linear regression haze-removal model to improve Dark Channel Prior. Two important parameters transmission map and atmospheric light are estimated by original DCP. Weights and bias are added to the atmospheric scattering model to refine the estimation accuracy of and . As shown in Section V, our model not only achieved high values on PSNR and SSIM compared with several state-of-the-art algorithms, but also restores high quality dehazed images. And it can be easily combined with other models, making it possible to apply it on video dehazing and object detection in haze, which are both important in modern traffic.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] K. He, S. Jian, and T. Xiaoou. ”Single image haze removal using dark channel prior.” IEEE transactions on pattern analysis and machine intelligence 33.12 (2011): 2341-2353.
- 2[2] B. Li, et al. ”Aod-net: All-in-one dehazing network.” Proceedings of the IEEE International Conference on Computer Vision. Vol. 1. No. 4. 2017.
- 3[3] B. Li, et al. ”RESIDE: A benchmark for single image dehazing.” ar Xiv preprint ar Xiv:1712.04143 (2017).
- 4[4] Q. Zhu, et al. ”An adaptive and effective single image dehazing algorithm based on dark channel prior.” Robotics and Biomimetics (ROBIO), 2013 IEEE International Conference on. IEEE, 2013.
- 5[5] M. Zhu, H. Bingwei, and W. Qiang. ”Single Image Dehazing Based on Dark Channel Prior and Energy Minimization.” IEEE Signal Processing Letters 25.2 (2018): 174-178.
- 6[6] K. He, S. Jian, and T. Xiaoou. ”Guided image filtering.” IEEE transactions on pattern analysis & machine intelligence 6 (2013): 1397-1409.
- 7[7] A. Hore, and Z. Djemel. ”Image quality metrics: PSNR vs. SSIM.” Pattern recognition (icpr), 2010 20th international conference on. IEEE, 2010.
- 8[8] Z. Wang, et al. ”Image quality assessment: from error visibility to structural similarity.” IEEE transactions on image processing 13.4 (2004): 600-612.
