You are on page 1of 5

Single Image Dehazing using Guided Filter

and Bilateral Filter


Author – “Dantala Prudhviraj” “Iskala Manikanta” “Ksk Deepak”

Department of Electronics and Communication Engineering

SRM INSTITUTE OF SCIENCE AND TECHNOLOGY

Abstract-Signal image dehazing using depth transmission by


using guided and bilateral filter in MATLAB there are many
where J is the scene radiance and also the restored haze-free
techniques to achieve dehazing but in this project we are image, t is the medium transmission describes the light
doing on Dark channel prior base. portion that is not scattered and reaches the camera, I is
the intensity (observed) and also the input hazed image A is
The haze image is being captured by the camera and store in the atmospheric light .We have to obtain
J, A, and t from I is the main goal of image dehazing.
database. The hazed image is being dehazed using both
guided and On the right side ,the term J(x)t(x) is called direct
attenuation, and the term A(1−t(x)) is called air light. The
bilateral this project mainly implemented in automobile
scene radiance and its decay in the medium is described by
industry which prevent accidents during winters. First the Direct attenuation, the shift of the scene colour due to air
Transmutations Map is being estimated and added to the light results from previously scattered light .

dehaze image along with the Atmospheric light. The dark channel prior is process of selecting the minimum
intense pixels from a RGB image and it is based on
To dehaze /defog is due to attenuation and scattering that observation that patches in the outdoor haze-free images
affects the degradation of visibility between the observer contain some pixels whose intensities are low in at least one
of three colour channels. For an image J , the dark channel
and camera in land/underwater through appropriated
can be defined as
Image enhancement and Image restoration methods.
Jdark(x)=minc∈{r,g,b}(miny∈Ω(x)(Jc(y)))
Single Image – Dark Channel Prior (DCP),
Image Filters – Guided filter, and Bilateral filter.
where Ω(x) is a local patch centered at x and jc is colour
To evaluate the dehazed image with various performance channel of J. The low intensities in the dark channel are
metrics methods such as Qualitative evaluation and mainly due to three factors Shadow, color objects, dark
objects
Quantitative evaluation.

Introduction- Here, we have to adopt the dark channel


prior, obtain a similar transmission map based on Multi-
Scale Retinex (MSR) theory, and propose an improved
image dehazing algorithm which is faster compared to
He's method. The transformation of haze image from
RGB to YCbCr space, using MSR(Multi-Scale Retinex)
algorithm on the luminance component, with simple
adjustment on the result, a transmission map whose
function is similar to his approach is obtained. By
Combining haze image model and dark channel prior, we
can recover a high quality haze-free image. Our method is
fully automatic and much faster compared with original
dark channel prior method, since the time cost of
obtaining transmission map is cut down significantly,
while maintaining comparable good results on the whole .
Haze Image Model and Dark Channel Prior
In computer graphics and vision , the model used to
describe the formation of a haze image is as follows,
I(x)=J(x)t(x)+A(1−t(x)).
To describe the formation of a haze image is as

follows I(x)=J(x)t(x)+A(1−t(x)).

for an image J its dark channel can be defined as

Jdark(x)=minc∈{r,g,b}(miny∈Ω(x)(Jc(y)))
Hear based on the Gaussian value quality of the image
The above methods are the types or modes of Dehazing depends if sigma is more then visibility of image is not
clear and if the value is less the edges are clear

From the above difference the bilateral is preferred prior


than the guided filter as by using bilateral filter for
dehazing we get clear edges than using Guided filter this
dehazing in bilateral filter can be done using Gaussian
Blur along with its equation as below
3) Edwin H. Land, And John J. Mccann,“Lightness and
Retinex Theory”, Journal Of The Optical Of Society
America, Volume 61, Number 1, 1971
Yoav Y. Schechner, Srinivasa G. Narasimhan, and
Shree K. Nayar, “Polarization-based vision through
haze”, optics Journal , Vol. 42, No. 3, 2003

4) Yafei Song , Jia Li , Xiaogang Wang, and Xiaowu


Chen ,”Single Image Dehazing Using Ranking
Convolutional Neural Network”, IEEE
TRANSACTIONS ON MULTIMEDIA, VOL. 20,
In this we have taken some external data as an input like NO. 6, JUNE 2018
2_input,5,2,3,6,12_input and obtain Psnr ,Immse,
Ssim,Brisque,Nique ,Pique,Entropy,Edge Intensity these 5) “Lucas T. Gonc¸alves, Joel O. Gaya, Paulo Drews-
values are being taken for both guided filter and also Jr, Silvia S. C. Botelho, “GuidedNet: Single Image
bilateral filter Dehazing Using an End-to-end Convolutional Neural
Network”, 31st SIBGRAPI Conference on Graphics,

The above image is the o/p of the Haze image and is Patterns and Images (SIBGRAPI),2018”

filtered by using Bilateral filter and Guided filter from the 6) Chongyi Li , Jichang Guo , Fatih Porikli, Huazhu Fu ,

above we clearly prove that using bilateral is best for and Yanwei Pang, “A Cascaded Convolutional

dehazing rather than Guided filter Neural Network for Single Image Dehazing “, IEEE
Open Access ,March 2018

Conclusion - We conclude that our dehazing method can


7) Codruta Orniana Ancuti and Cosmin Ancuti,”Single
provide better dehazing results when compared with the
Image Dehazing by Multi-Scale Fusion”,IEEE
existing methods We get the dehaze image using bilateral
TRANSACTIONS ON IMAGE PROCESSING,
filter in MATLAB. The Haze image which was given as
VOL. 22, NO. 8, pp3271, AUGUST 2013
input is filtered by using bilateral filter the obtain image was
haze free image obtained using padding with convolution
obtain a clear edges.
8) Hsueh-Yi Lin,Cheng-Jian Lin,“Using a hybrid of
References fuzzy theory and neural network filter for single
1) Wencheng Wang , Xiaohui Yuan, “Recent Advances image dehazing”, Appl Intell (2017) 47:1099–1114,
in Image Dehazing”, IEEE/CAA Journal of 2017
Automatica Sinica, Volume: 4 , Issue: 3 , 2017
Raanan Fattal, “Single image dehazing”, ACM
Transactions on Graphics, Vol. 27, No. 3, Article 72,
August 2008

2) “Kaiming He, Jian Sun, and Xiaoou Tang, “Single


Image Haze Removal Using Dark Channel Prior”,
IEEE Transactions On Pattern Analysis And Machine
Intelligence, Vol. 33, No. 12, December 2011

You might also like