Patent ID: 8417053

Claim:
A cleaning method for foggy images, comprising: using a stimulus value of a light chromaticity (LC) of an input image to generate an airlight luminance; using red-green-blue (RGB) tristimulus values of the input image to generate an attenuation coefficient; using the airlight luminance and the attenuation coefficient to recover the input image for generating a primary reduction image; transforming the primary reduction image into YCbCr color model and boosting values of Cb and Cr values of the primary reduction image by a predetermined percentage to enhance chromaticity of the primary reduction image; redistributing weighting of a probability density function of an RGB gray level histogram after enhancing chromaticity of the primary reduction image, wherein redistributing weight of the probability density function of the RGB gray level histogram is performed according to: P n ⁡ ( k ) = { TH if ⁢ ⁢ P ⁡ ( k ) ≥ TH ( P ⁡ ( k ) / TH ) r * TH if ⁢ ⁢ 0 < P ⁡ ( k ) < TH 0 if ⁢ ⁢ P ⁡ ( k ) ≤ 0 where TH is a threshold value, P n (k) is the redistributed probability density function, r is a value used for redistributing the probability density function, r is between 0 and 1, and r is generated through the following equation: r = { 1.0 - ( ( S_μ + σ ) / m ) , 0 ⁢ if ⁢ ⁢ ( S_μ + σ ) > m if ⁢ ⁢ ( S_μ + σ ) < m where S_μ is a mean value of the Sobel image, σ is a standard deviation of the input image, and m is a threshold value for r; and enhancing luminance of the primary reduction image through histogram equalization after enhancing chromaticity of the primary reduction image to generate a final reduction image.