COLOR-PRESERVING DEFOG METHOD
FOR FOGGY OR HAZY SCENES
Dongbin Xu, Chuangbai Xiao
Beijing University of Technology, Beijing, China
Jing Yu
Department of Electronic Engineering, Tsinghua University, China
Keywords: Defog, Retinex, Image Enhancement.
Abstract: Bad weather, such as fog and haze, can significantly degrade the imaging quality, which becomes a major
problem for many applications of computer vision. In this paper, we propose a novel color-preserving defog
method based on the Retinex theory, using a single image as an input without user interactions. In the
proposed method, we apply the Retinex theory to fog/haze removal form foggy/hazy images, and conceive a
new strategy of fog/haze estimation. Experiment results demonstrate that the proposed method can not only
remove fog or haze present in foggy or hazy images, but also restore real color of clear-day counterparts,
without color distortion. Besides, the proposed method has very fast implementation.
1 INTRODUCTION
Many outdoor applications of vision community
such as surveillance, target tracking and object
recognition, require high quality input images to
detect robust features. Unfortunately, the visibility
and color of images are degraded greatly under bad
weather condition, especially foggy/hazy weather.
Therefore, it is imperative to enhance visual quality
and good visibility of the degraded images.
The exact nature of fog/haze is very complex and
depends on many factors including the types,
orientations, size and distributions of particles,
polarization states and directions of the incident light
(Narasimhan & Nayar, 2003a). In the literature,
many approaches have been proposed to tackle the
problem. General contrast enhancement is obtained
by tone-mapping techniques including linear
mapping, histogram stretching and equalization, and
gamma correction. However, these methods perform
poorly for the problem mentioned above.
Incorporating local information, some more
sophisticated operators (Stark, 2001; Kim et al.,
2002) achieve relative good performance at the cost
of computational complexity. Recently, some
approaches provide impressive results by assuming
the scene depth (Narasimhan & Nayar, 2003b), two
photographs given (Shwartz et al., 2006; Schechenr
et al., 2001) or multiple images taken from foggy
scenes with different densities at the same point
(Narasimhan & Nayar, 2003a; Narasimhan & Nayar,
2003c). However, requirements of the specific
inputs make them impractical, particularly in real-
time applications. To overcome the drawbacks, a
method using a single input image has been
proposed to enhance the visibility of an image (Tan,
2007; Tan, 2008). This method shows compelling
results. However, it is computational expensive and
also causes evident color distortion.
Land proposed the Retinex theory based on
lightness and color constancy. Because of its
advantages such as dynamic range compression,
color independence and color and lightness rendition,
the Retinex theory has been extensively used in
image processing task. Among Land’s algorithms,
the center/surround Retinex (Land, 1986) attracts
researchers’ interests because of lower
computational complexity and no calibration for
scenes.
Based on the Retinex theory, we propose a novel
color-preserving defog method for foggy or hazy
scenes. In the proposed method, we estimate the
illumination by applying two-step smoothing to the
degraded image and then enhance contrast by
69