摘要 |
Image defogging method and system. The method includes: acquiring minimum intensity values corresponding to pixels in a foggy image, and selecting the largest values of intensity values of R, G, and B channels of pixels in an area, covered by a brightest area of a predetermined size in a local minimum intensity image, in the foggy image as component values of R, G, and B channels of an atmosphere light value; acquiring a transformation image of the foggy image with atmosphere light value of the foggy image; acquiring a transmission map of the foggy image by edge-preserving filtering the transformation image; and acquiring intensity values of R, G, and B channels of pixels in a defogged image using transmission map and atmosphere light value of the foggy image and intensity values of R, G, and B channels of pixels in the foggy image. |
主权项 |
1. A method for image defogging, comprising:
acquiring minimum intensity values corresponding to every pixel in a foggy image, constituting a local minimum intensity image of the foggy image by using the minimum intensity values, and selecting the largest values of the intensity values of R channels, G channels, and B channels of all pixels in an area, which is covered by a brightest area of a predetermined size in the local minimum intensity image, in the foggy image as component values of a R channel, a G channel, and a B channel of an atmosphere light value, respectively; acquiring a transformation image of the foggy image by transforming the foggy image with the atmosphere light value of the foggy image; acquiring a transmission map of the foggy image by edge-preserving filtering the transformation image of the foggy image; and acquiring intensity values of R channels, G channels, and B channels of every pixel in a defogged image by using the transmission map and the atmosphere light value of the foggy image and the intensity values of R channels, G channels, and B channels of every pixel in the foggy image. |