Image Defogging Algorithm Based on Sky Segmentation and Dark Channel Prior
Aiming at the problems such as color distortion when the traditional dark channel a priori algorithm defogs the sky region,a defogging algorithm based on sky segmentation and weighted calculation of atmospheric light value is proposed.Firstly,the segmentation of the sky region is realized based on the features of small gradient,low contrast and high brightness of the sky re-gion in the foggy image.Secondly,the atmospheric light value is weighted based on the result of sky segmentation,which effectively avoids the influence of small bright areas on the atmospheric light value prediction and prevents the recovered image from being dark.Finally the image recovery is realized by combining the transmittance of different regions.The experimental results show that the algorithm can effectively recover the foggy image containing the sky region,solving the problem of color distortion in the sky re-gion,and the details of the defogged image are clear and the color is natural.
sky segmentationdark channel priorimage defoggingestimation of atmospheric light value