compute dark channel
|
|
|
|
|
|
compute atmosphere
We first pick the top 0.1% brightest pixels in the dark channel. Among these pixels, the pixels with highest intensity in the input image I is selected as the atmospheric light.
|
|
[255. 252. 249.]
Estimate the Transmission and Soft Matting
|
|
|
|
|
|
Recovering the Scene Radiance
|
|
Reference
[1] He K, Sun J, Tang X. Single image haze removal using dark channel prior[C]// Computer Vision and Pattern Recognition, 2009. CVPR 2009. IEEE Conference on. IEEE, 2009:1956-1963.
[2] He K, Sun J, Tang X. Guided Image Filtering[M]// Computer Vision – ECCV 2010. Springer Berlin Heidelberg, 2010:1397-1409.