
 
In this paper, we present a new method for both 
dehazing and visibility enhancement for a given 
single input image. We achieve this goal by 
combining the results of dehazing and retinex with 
the refined dark channel (or the transmission) (He et 
al., 2009) that approximates a rough depth as shown 
in Figure 1(c). 
2  FUSION OF DEHAZING 
AND RETINEX 
2.1  Dehazing and Retinex 
Instead of taking two methods sequentially, we fuse 
both dehazing and the multi-scale retinex (Jobson et 
al., 1997) in parallel using the estimated 
transmission. The dark channel prior assumes that 
every local patch except for sky region in the haze-
free image have at least one color channel near black 
(near zero). With the dark channel prior, we can 
compute a coarse transmission map t
̃
(
)
of a given 
scene when the airlight is already obtained: 
 
t
(
)
=1−
min
c∈{r,g,b}
min
∈Ω
(
)
(
)
  
(3)
 
where I
 is a color channel of I and 
(
)
 is a local 
patch around . 
To refine the coarse transmission map, the dark 
channel method adopts the soft matting algorithm 
(Levin and Weiss, 2006) which is computationally 
too expensive. Instead of using the soft matting, a 
cross-bilateral filtering method is adopted by (Zhang 
et al., 2010) for the refined transmission mapt
(
)
. 
In (He et al., 2009), they can recover the scene 
radiance simply by solving the inverse of equation 
(1) with a minor constraint. They restrict the 
transmission to a low bound t
 typically being set to 
0.1 to preserve a small certain amount of haze in 
very dense haze region. The final scene radiance is 
recovered by: 
 
(
)
=
(
)
−
max
(
t
(
)
,t
)
+ 
(4)
 
The airlight can also be computed from the dark 
channel since the airlight is usually estimated from 
the most haze-opaque pixels, and the dark channel 
approximates the haze denseness. In (He et al., 
2009), they take the top 0.1% brightest pixels in the 
dark channel then select the pixels having the 
highest intensity in the input image among them. In 
our experiment, we just take the average of the top 
0.1% brightest dark channel value for simplicity and 
robustness.  
Since the scene radiance is usually darker than 
the airlight, the recovered image looks dim with a 
higher dynamic range as shown in Figure 1(b). 
Therefore, the existing methods usually adopt post 
processing such as gamma correction, simple 
brightening by intensity rescaling, and histogram 
equalization for better visibility under the risk of 
over saturation.  
Retinex is a theory of color vision that explains 
how the human visual system extracts reliable 
information from the world despite of illumination 
changes. Retinex assumes that the image  is  the 
product of the illumination   and  surface 
reflectance  . The goal of the retinex is to 
decompose the image into the reflectance image and 
the illumination image. One approach first proposed 
by Land (Land, 1986), assumes that the illumination 
value for a pixel is a weighted average of its 
surroundings, whose weights are given by a 
Gaussian function. The retinex output is given by: 
 
log
(
)
=log
(
)
−log
G
(
,σ
)
∗()
 
(5)
 
where “∗” denotes the convolution operation, and 
G
(
x,σ
)
=Ke
‖
‖
/
 where  σ is the scale and K is 
selected such that 
∬
G
(
x,σ
)
dx=1. This model is 
extended by simply taking the weighted sum of the 
retinex outputs with different scales of the Gaussian 
function. This technique is called the multi-scale 
retinex (Jobson et al., 1997). The multi-scale retinex 
output is given by: 
 
()= ω
∙
(
log
(
)
−log
G
(
,σ
)
∗()
)
 
(6)
 
where  N is the number of scales, and ω
 is  the 
weight typically set to 1/N for  most  applications. 
The number of scales is usually set to three scales; 
small, intermediate, and large. This technique 
significantly enhances the dark region of images 
usually caused by backlight, which can be achieved 
by controlling the scale parameter.  
2.2 Transmission-based Fusion 
The dehazed images often lose their brightness while 
achieving better contrast and color fidelity. 
Therefore, the conventional dehazing methods 
require post-processing that increases the brightness. 
The retinex algorithm can just be applied as post-
processing. However, the images needed to be 
dehazed have been captured under low lightness, so 
the sequential combination of dehazing and retinex 
can make input images be oversaturated with strong 
FusionofDehazingandRetinexusingTransmissionforVisibilityEnhancement
123