FOG REMOVAL ALGORITHM USING ANISOTROPIC DIFFUSION AND HISTOGRAM STRETCHING

Similar documents
Survey on Image Fog Reduction Techniques

ENHANCED VISION OF HAZY IMAGES USING IMPROVED DEPTH ESTIMATION AND COLOR ANALYSIS

Single Image Haze Removal with Improved Atmospheric Light Estimation

Removal of Haze in Color Images using Histogram, Mean, and Threshold Values (HMTV)

Haze Removal of Single Remote Sensing Image by Combining Dark Channel Prior with Superpixel

MODIFIED HAZE REMOVAL USING DARK CHANNEL PRIOR, GABOR FILTER & CLAHE ON REMOTE SENSING IMAGES Er. Harpoonamdeep Kaur 1, Dr.

A Comprehensive Study on Fast Image Dehazing Techniques

An Improved Adaptive Frame Algorithm for Hazy Transpired in Real-Time Degraded Video Files

FPGA IMPLEMENTATION OF HAZE REMOVAL ALGORITHM FOR IMAGE PROCESSING Ghorpade P. V 1, Dr. Shah S. K 2 SKNCOE, Vadgaon BK, Pune India

Fast Single Image Haze Removal Using Dark Channel Prior and Bilateral Filters

A Review on Various Haze Removal Techniques for Image Processing

A REVIEW ON RELIABLE IMAGE DEHAZING TECHNIQUES

A Fuzzy Logic Based Approach to De-Weather Fog-Degraded Images

A Single Image Haze Removal Algorithm Using Color Attenuation Prior

A Scheme for Increasing Visibility of Single Hazy Image under Night Condition

An Improved Technique for Automatic Haziness Removal for Enhancement of Intelligent Transportation System

Image Visibility Restoration Using Fast-Weighted Guided Image Filter

A Critical Study and Comparative Analysis of Various Haze Removal Techniques

New framework for enhanced the image visibility which is degraded due to fog and Weather Condition

Mod. 2 p. 1. Prof. Dr. Christoph Kleinn Institut für Waldinventur und Waldwachstum Arbeitsbereich Fernerkundung und Waldinventur

Recovering of weather degraded images based on RGB response ratio constancy

Image Enhancement System Based on Improved Dark Channel Prior Chang Liu1, a, Jun Zhu1,band Xiaojun Peng1,c

Research on Enhancement Technology on Degraded Image in Foggy Days

Contrast Enhancement using Improved Adaptive Gamma Correction With Weighting Distribution Technique

NON UNIFORM BACKGROUND REMOVAL FOR PARTICLE ANALYSIS BASED ON MORPHOLOGICAL STRUCTURING ELEMENT:

Analysis of various Fuzzy Based image enhancement techniques

HYBRID BASED IMAGE ENHANCEMENT METHOD USING WHITE BALANCE, VISIBILITY AMPLIFICATION AND HISTOGRAM EQUALIZATION

DESIGN AND IMPLEMENTATION OF A MODEL FOR HAZE REMOVAL USING IMAGE VISIBILITY RESTORATION TECHNIQUE

Image Denoising Using Statistical and Non Statistical Method

An Efficient Fog Removal Method Using Retinex and DWT Algorithms

Contrast Enhancement Techniques using Histogram Equalization: A Survey

International Journal of Scientific & Engineering Research, Volume 7, Issue 2, February-2016 ISSN

An Adaptive Kernel-Growing Median Filter for High Noise Images. Jacob Laurel. Birmingham, AL, USA. Birmingham, AL, USA

Contrast Enhancement for Fog Degraded Video Sequences Using BPDFHE

Method Of Defogging Image Based On the Sky Area Separation Yanhai Wu1,a, Kang1 Chen, Jing1 Zhang, Lihua Pang1

AN IMPROVED OBLCAE ALGORITHM TO ENHANCE LOW CONTRAST IMAGES

Image Enhancement for Astronomical Scenes. Jacob Lucas The Boeing Company Brandoch Calef The Boeing Company Keith Knox Air Force Research Laboratory

Comparitive analysis for Pre-Processing of Images and videos using Histogram Equalization methodology and Gamma correction method

Realistic Image Synthesis

An Adaptive Contrast Enhancement of Colored Foggy Images

Comprehensive Analytics of Dehazing: A Review

Image Processing for feature extraction

Smt. Kashibai Navale College of Engineering, Pune, India

Image dehazing using Gaussian and Laplacian Pyramid

Guided Image Filtering for Image Enhancement

Bhanudas Sandbhor *, G. U. Kharat Department of Electronics and Telecommunication Sharadchandra Pawar College of Engineering, Otur, Pune, India

PARAMETRIC ANALYSIS OF IMAGE ENHANCEMENT TECHNIQUES

Edge Preserving Image Coding For High Resolution Image Representation

Analysis of Contrast Enhancement Techniques For Underwater Image

Underwater Image Enhancement Using Discrete Wavelet Transform & Singular Value Decomposition

Measuring a Quality of the Hazy Image by Using Lab-Color Space

A Review Paper on Image Processing based Algorithms for De-noising and Enhancement of Underwater Images

Enhanced DCT Interpolation for better 2D Image Up-sampling

Keywords-Image Enhancement, Image Negation, Histogram Equalization, DWT, BPHE.

A Review on Image Enhancement Technique for Biomedical Images

A Novel Haze Removal Approach for Road Scenes Captured By Intelligent Transportation Systems

Effective Contrast Enhancement using Adaptive Gamma Correction and Weighting Distribution Function

CoE4TN4 Image Processing. Chapter 3: Intensity Transformation and Spatial Filtering

Testing, Tuning, and Applications of Fast Physics-based Fog Removal

Enhancement of Underwater Images Using Wavelength Compensation Method

A Spatial Mean and Median Filter For Noise Removal in Digital Images

IMPROVEMENT USING WEIGHTED METHOD FOR HISTOGRAM EQUALIZATION IN PRESERVING THE COLOR QUALITIES OF RGB IMAGE

An Efficient Color Image Segmentation using Edge Detection and Thresholding Methods

Image Filtering. Median Filtering

Image Enhancement. DD2423 Image Analysis and Computer Vision. Computational Vision and Active Perception School of Computer Science and Communication

CSE 564: Scientific Visualization

Guided Filtering Using Reflected IR Image for Improving Quality of Depth Image

Keywords Fuzzy Logic, ANN, Histogram Equalization, Spatial Averaging, High Boost filtering, MSE, RMSE, SNR, PSNR.

APJIMTC, Jalandhar, India. Keywords---Median filter, mean filter, adaptive filter, salt & pepper noise, Gaussian noise.

SURVEILLANCE SYSTEMS WITH AUTOMATIC RESTORATION OF LINEAR MOTION AND OUT-OF-FOCUS BLURRED IMAGES. Received August 2008; accepted October 2008

Denoising and Effective Contrast Enhancement for Dynamic Range Mapping

FUZZY BASED MEDIAN FILTER FOR GRAY-SCALE IMAGES

Contrast Enhancement in Digital Images Using an Adaptive Unsharp Masking Method

Contrast Image Correction Method

International Journal of Scientific & Engineering Research, Volume 7, Issue 2, February-2016 ISSN

Image Processing by Bilateral Filtering Method

ANALYSIS OF GABOR FILTER AND HOMOMORPHIC FILTER FOR REMOVING NOISES IN ULTRASOUND KIDNEY IMAGES

CSC 320 H1S CSC320 Exam Study Guide (Last updated: April 2, 2015) Winter 2015

Face Detection System on Ada boost Algorithm Using Haar Classifiers

An Automatic System for Detecting the Vehicle Registration Plate from Video in Foggy and Rainy Environments using Restoration Technique

ISSN: (Online) Volume 2, Issue 1, January 2014 International Journal of Advance Research in Computer Science and Management Studies

Applications of Flash and No-Flash Image Pairs in Mobile Phone Photography

Chapter 6. [6]Preprocessing

Index Terms: edge-preserving filter, Bilateral filter, exploratory data model, Image Enhancement, Unsharp Masking

O-HAZE: a dehazing benchmark with real hazy and haze-free outdoor images

Chapter 7- Lighting & Cameras

Efficient Contrast Enhancement Using Adaptive Gamma Correction and Cumulative Intensity Distribution

IMAGE ENHANCEMENT USING WAVELET DECOMPOSITION, SUPER RESOLUTION ALGORITHM & LUM FILTERS

A Study On Preprocessing A Mammogram Image Using Adaptive Median Filter

Correction of Clipped Pixels in Color Images

Keywords- Color Constancy, Illumination, Gray Edge, Computer Vision, Histogram.

Chapter 7- Lighting & Cameras

How dehazing works: a simple explanation

High Dynamic Range image capturing by Spatial Varying Exposed Color Filter Array with specific Demosaicking Algorithm

INSTITUTIONEN FÖR SYSTEMTEKNIK LULEÅ TEKNISKA UNIVERSITET

Review and Analysis of Image Enhancement Techniques

Implementation of Block based Mean and Median Filter for Removal of Salt and Pepper Noise

Solution for Image & Video Processing

EFFICIENT CONTRAST ENHANCEMENT USING GAMMA CORRECTION WITH MULTILEVEL THRESHOLDING AND PROBABILITY BASED ENTROPY

A Study on Image Enhancement and Resolution through fused approach of Guided Filter and high-resolution Filter

Transcription:

FOG REMOVAL ALGORITHM USING DIFFUSION AND HISTOGRAM STRETCHING 1 G SAILAJA, 2 M SREEDHAR 1 PG STUDENT, 2 LECTURER 1 DEPARTMENT OF ECE 1 JNTU COLLEGE OF ENGINEERING (Autonomous), ANANTHAPURAMU-5152, ANDRAPRADESH, INDIA Abstract Poor climate conditions which includes fog, mist, haze degrades atmospheric visibility. Image quality and efficiency of the computer vision algorithms like surveillance and object tracking degrades because of Low visibility.thus, it's more critical to make vision algorithms more strong to the change in climate situations. Low visibility in poor climate is due to the suspension of water particles in surroundings.light coming from the atmosphere and mild contemplated from an object are scattered by those water particles, resulting the low visibility of the scene. Fog removal algorithm is used to put off the fog from the foggy photograph/scene. The Existing Dark channel prior eliminates fog based on dark channel. But this technique fails when scene objects are similar to sky i.e. for sky image. In order to over this trouble we cross for anisotropic diffusion algorithm. Anisotropic Diffusion algorithm eliminates the fog from photograph and produces an image having better visibility as compared to existing techniques. This algorithm contains many steps like anisotropic diffusion, contrast enhancement and denoising. Proposed algorithm is independent of amount fog. The proposed method also applicable for gray scale images.along with the RGB (red, blue and green) colour version, proposed algorithm can work for HSI version which further reduces the computation. Proposed algorithm has a huge application in tracking and navigation. Index Terms fog removal, Dark channel prior, Anisotropic Diffusion, Histogram Stretching. I. INTRODUCTION Images or video suffer from loss of fine details under conditions poor weather conditions. Visibility restoration [1] refers to exclusive strategies that aim to lessen or cast off the degradation that have obtained while capturing the image. Because of parameters like blurring is due to digital camera misfocus, relative object-digital camera motion, relative atmospheric turbulence and numerous others. In this paper, we speak the degradations due to weather conditions like fog, haze, rain and snow in an image. The key purpose of deterioration of image details of outdoors scene in the mist and fog weather situation is for the maximum part the diffusing of a light before arriving at the digital camera because of suspended particles (e.g. Haze, dimness, smoke, impurities) within the climate. In foggy climate conditions, the picture contrast and shade are affected greatly. This degradation can be improved with the distance from digital camera to object. So the working condition of automatic monitoring system was affected greatly. To enhance strength and stability of the visual framework we use fog removal algorithms. By koschmeider s law the fog image can be stated as I(x) = J(x).t(x) + A (1-t(x)) ( ) t(x) = Where I(x) is intensity of fog, J(x) is the scene radiance of reference image, A is the atmospheric light and t(x) is transmission of light from the scene point to the camera β is atmospheric scattering coefficient; d is the distance between the scene and the camera The calculation of depth information is not done completely when we have single foggy image. Hence, for finding depth we require two images. So, many methods have been proposed which requires both reference image and input foggy image [2]. But these methods cannot be applied on a single image system. And also some algorithms will work efficiently even though we have only one foggy image. The proposed algorithm uses anisotropic diffusion which refines airlight and dark channel and requires pre and post processing algorithms for that we will use Histogram equalisation and Histogram stretching respectively. This paper is listed as follows. In Section 2, Literature survey is mentioned. In section 3 proposed fog removal algorithms discussed. In section 4 Simulation and results are presented. Here performance of the proposed algorithm is compared with existing algorithms. Section 5 gives conclusion of this paper. II. LITERATURE SURVEY The distance between camera and object plays important role in degraded conditions. The calculation of Attenuation and airlight is also depend on this distance. The removal of fog requires estimation of depth map. We can t estimate this by using single image. Because of this, methods relays on multiple images are proposed. In [3] Schechner et al. does his work with polarising filters. But, the requirement of filters is a greater task and and not fit for the other databases. In recent years many methods have been proposed for the removal of fog using single image. In [4] Fattal extended his work based on independent component analysis. This method relays on the colour information in the input foggy image so this is not opted for grey scale images. This algorithm fails when the image is degraded by huge amount of fog. JETIR17924 Journal of Emerging Technologies and Innovative Research (JETIR) www.jetir.org 115

He et al. [5] proposed a method based on dark channel prior and soft matting. Here by using dark channel prior we can calculate airlight map and refined by soft matting. When scene objects are bright like that of sky, the limitations of this method are not valid and it also takes more time complexity for the elimination of fog from the image. Xu, et al. (29) [6] has examined that because of fog the images are degraded and results to form poor contrast. To remove the effect of fog from the input foggy image, he proposed Contrast limited adaptive histogram equalization (CLAHE).Here the limitation of CLAHE is that output image suffers blurring after restoration also cannot remove fog effectively. The existing Dark channel prior removes fog by estimating local contrast. This method fails when the image contains pictures as like as sky.the output image of this algorithm has lower contrast than that of input image, and also it takes more time to process the image. III. PROPOSED WORK The proposed method has three phases, first Anisotropic diffusion, second Histogram Stretching and De-noising. The Anisotropic Diffusion the foggy image converted into smoothed image. The algorithm performs smoothing by preserving edge information. Thus, where edge information is high, less smoothing or diffusion required. According to Persona and Malik [7], we have two diffusion functions stated below. Where D is the Edge information and C is the conduction coefficient of the diffusion process. C= C= Anisotropic diffusion has preserved edges while smoothing. It is due to the fact that instead of considering diffusion and edge detection, two independent processes, here both processes interact in one single process. Here, an independent process is applied which reduces the diffusivity at those pixels which have to be edges. First the differential equations are calculated and the gradient along N, S, E, W, NE, SE, SW, and NW are calculated. After that we are applying convolutions masks for the image and gradient values. By using Diffusion coefficient we can calculate conduction coefficient. The higher contrast pixel is compare with all other neighbourhood pixel if the neighbourhood pixel is less than higher contrast pixel smoothening will be done because the pixel is not degraded by noise. (X, y)= ( )+ C(x, y) ( ) Histogram Stretching: Histogram stretching is used to enhance the contrast of the degraded image. It aims to increase the dynamic range of an image (Contrast enhancement). Steps involved in this are mentioned below. i. Obtain the inputs image from the anisotropic diffusion. ii. Pre-process the inputs: If the size of image is dividing with the number of tiles, then pad rows and columns to the image. Else go to step3. iii. Calculate histograms for each tile and determine real clip limit from the normalized value iv. Histogram values of each tile are compared with real clip limit. If histogram values are more than clip limit then replace the value with clip limit, and when it is less then add one to the histogram value. v. Process each contextual region (tile) thus producing gray level mappings. Interpolate gray level mappings in order to assemble final image. Fig 2: steps involved in Histogram stretching JETIR17924 Journal of Emerging Technologies and Innovative Research (JETIR) www.jetir.org 116

De-Noising: The proposed method uses Median filter for de-noising. For the original image, neighbouring pixels has strong correlation and the change between brightness and saturation values smaller. The pixel is said to be degraded by the noise when the value of a pixel is greater or less than the value in the neighbourhood, otherwise, the pixel is an not degraded. In the mask, max is the maximum value, min is the minimum value, average is the average value, med is the median value of gray levels. If f(x, y) is the central value of the mask, n is the size of the mask. The adaptive filtering requires two steps: Step1: Alter the size of mask when it is even 1. Initialization: let n =3; 2. Computation: A1=med - min, A2= med-max 3. Judgment: if A1 > and A2 <, then go to step 2; If not, increase the mask size, let n =n+ 2 and turn to (2). Step 2: median filtering. 2. Colour Attenuation Prior () In the proposed method the noise is amplified highly to reduce this we go for. To recognise or remove the fog from a single foggy image is a challenging task in computer vision, because it contains little information about the scene structure is available, In that situations Colour Attenuation Prior stands best. It has four steps i. Scene depth ii. Transmission map iii. Atmospheric estimation iv. Scene recovery i) Scene depth In this we are identifying the concentration of fog in the image. Difference between brightness and saturation gives the concentration of fog present in the image. d(x) = + v(x) + s(x) + ε(x) Where x-position within the image, d- scene depth, v-brightness component of the foggy image, s-saturation component,, are the linear coefficients, ε(x) is a random variable. ii) Transmission map Transmission map tells that the parts where we have to remove fog from foggy image. From the scene depth transmission map is calculated. t (x) =exp (-β*d(x)) β- Constant d (x)-scene depth iii) Atmospheric estimation By using Atmospheric estimation we can recognise the brightest pixel in the image. Based on this A value we can recognise the Scene. iv) Scene Recovery Here the fog is removed from the input foggy image. Output image = ( ) A-Atmospheric value T(x)-transmission map + A IV. SIMULATION AND RESULTS: The Simulation results are shown for the images given below. Dark Channel Prior and Anisotropic Diffusion and Colour Attenuation methods are compared by different parameters for this image. a) MEAN SQUARE ERROR The MSE gives the error between input and output images. The MSE Should be minimum which is the indication of the foggy image restored properly. MSE = ( ) ( ) b) PEAK-SIGNAL TO NOISE-RATIO The PSNR should be high it gives us better degraded image has been reconstructed to match the original image. PSNR= ( ) c) ENTROPY Entropy is a measure of degree of randomness between the output texture and input texture. Entropy is stated as E = - ( ) ( )) d) IMAGE QUALITY INDEX Image quality index shows how the output image improved compared with the degraded image. So for a good algorithm IQI must be high. Where, N=No. of columns in image, M= No. of rows in image Where, Qij is defined as, JETIR17924 Journal of Emerging Technologies and Innovative Research (JETIR) www.jetir.org 117 ( )( )

Where, is variance of input image, is variance of output image is co-variance of input and output image Image-1 Image-2 Image-3 Image-4 Fig3: Different type of images for comparing results.35 Fig4: MSE Comparison.3.25.2.15.1.5 7 Fig5: PSNR Comparison 6 5 4 3 2 1 JETIR17924 Journal of Emerging Technologies and Innovative Research (JETIR) www.jetir.org 118

Fig6: Entropy Comparison.35.3.25.2.15.1.5 2 1.8 1.6 1.4 1.2 1.8.6.4.2 Fig7: IQI Comparison V. CONCLUSION Fog removal algorithms using Anisotropic Diffusion and Colour attenuation prior are proposed in this paper. These algorithms depend only on the foggy image and can be applied for colour and gray scale images. From the results we will conclude that Colour Attenuation Prior enhances foggy image better than prior state of the art algorithms. algorithm takes less time complexity as compared with Anisotropic Diffusion and Dark channel Prior algorithms. These algorithms cannot degrade in their performance if the image contains dense fog. In the simulation results we compared MSE, PSNR, Entropy and Image Quality Index. From results we conclude that improvement in the Output image as compared existing methods. REFERENCES: [1] Krishna Swaroop Gowtham and A.K Tripathi Vectorization and optimazation of fog removal algorithm 216 6 th international Advanced Computing Conference. [2] Tarel, J-P., and Nicolas Hautiere. "Fast visibility restoration from a single color or gray level image." Computer Vision, 29 IEEE 12th International Conference on. IEEE, 29. [3] S.G. Narasimhan, and S.K. Nayar, "Contrast restoration of weather degraded images", IEEE transaction on pattern analysis and machine intelligence, Vol. 25, no. 6, June. 23, pp. 713 24. [4] Fattal, R.: Single image dehazing. Int. Conf. on Computer Graphics and Interactive Techniques archive ACM SIGGRAPH, 28, pp. 1 9 [5] He, K., Sun, J., Tang, X.: Single image haze removal using dark channel prior. IEEE Int. Conf. on Computer Vision and Pattern Recognition, 29, pp. 1956 1963 [6] Xu, Zhiyuan, Xiaoming Liu, and Na Ji. "Fog removal from color images using contrast limited adaptive histogram equalization." Image and Signal Processing, 29. CISP'9. 2nd International Congress on. IEEE, 29. [7] Tan, R. T., Visibility in bad weather from a single image, in IEEE conference on Computer Vision and Pattern Recognition, 28, pp. 1-8. [8] Y. Y. Schechner, S. G. Narasimhan, and S. K. Nayar. Instant dehazing of images using polarization. 1:325 332, 21. JETIR17924 Journal of Emerging Technologies and Innovative Research (JETIR) www.jetir.org 119