Histogram Equalization: A Strong Technique for Image Enhancement

Similar documents
Contrast Enhancement Techniques using Histogram Equalization: A Survey

A simple Technique for contrast stretching by the Addition, subtraction& HE of gray levels in digital image

Contrast Enhancement for Fog Degraded Video Sequences Using BPDFHE

Image Enhancement Techniques Based on Histogram Equalization

H.A.F Technique for Documents and Archaeologist Images Encryption

Comparison of Histogram Equalization Techniques for Image Enhancement of Grayscale images in Natural and Unnatural light

Survey on Image Contrast Enhancement Techniques

Fuzzy Statistics Based Multi-HE for Image Enhancement with Brightness Preserving Behaviour

USE OF HISTOGRAM EQUALIZATION IN IMAGE PROCESSING FOR IMAGE ENHANCEMENT

A Survey on Image Contrast Enhancement

Contrast Enhancement Using Bi-Histogram Equalization With Brightness Preservation

An Efficient Method for Contrast Enhancement in Still Images using Histogram Modification Framework

A Histogram based Algorithm for Denoising Images Corrupted with Impulse Noise

Contrast Enhancement using Improved Adaptive Gamma Correction With Weighting Distribution Technique

Survey on Image Enhancement Techniques

Bi-Level Weighted Histogram Equalization with Adaptive Gamma Correction

Image Enhancement using Histogram Approach

Adaptive Gamma Correction With Weighted Distribution And Recursively Separated And Weighted Histogram Equalization: A Comparative Study

Comparison of Different Enhanced Image Denoising with Multiple Histogram Techniques

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

CONTRAST ENHANCEMENT WITH CONSIDERING VISUAL EFFECTS BASED ON GRAY-LEVEL GROUPING

Analysis of Contrast Enhancement Techniques For Underwater Image

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

A Global-Local Contrast based Image Enhancement Technique based on Local Standard Deviation

Image Enhancement And Analysis Of Thermal Images Using Various Techniques Of Image Processing

Contrast enhancement with the noise removal. by a discriminative filtering process

Pixel Classification Algorithms for Noise Removal and Signal Preservation in Low-Pass Filtering for Contrast Enhancement

PERFORMANCE ANALYSIS OF LINEAR AND NON LINEAR FILTERS FOR IMAGE DE NOISING

ANALYSIS OF IMAGE ENHANCEMENT TECHNIQUES USING MATLAB

Improved Region of Interest for Infrared Images Using. Rayleigh Contrast-Limited Adaptive Histogram Equalization

Measure of image enhancement by parameter controlled histogram distribution using color image

An Adaptive Contrast Enhancement Algorithm with Details Preserving

Local Contrast Enhancement using Local Standard Deviation

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

Digital Image Processing. Lecture # 4 Image Enhancement (Histogram)

ENHANCEMENT OF MRI BRAIN IMAGES USING VARIOUS HISTOGRAM EQUALIZATION TECHNIQUES. S.Chokkalingam 2 M.Geethalakshmi

MAV-ID card processing using camera images

Effective Contrast Enhancement using Adaptive Gamma Correction and Weighting Distribution Function

Performing Contrast Limited Adaptive Histogram Equalization Technique on Combined Color Models for Underwater Image Enhancement

A Survey on Image Enhancement by Histogram equalization Methods

PARAMETRIC ANALYSIS OF IMAGE ENHANCEMENT TECHNIQUES

Enhance Image using Dynamic Histogram and Data Hiding Technique

Color Image Enhancement by Histogram Equalization in Heterogeneous Color Space

Image Enhancement using Histogram Equalization and Spatial Filtering

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

Illumination based Sub Image Histogram Equalization: A Novel Method of Image Contrast Enhancement

Improvement in image enhancement using recursive adaptive Gamma correction

Contrast Limited Fuzzy Adaptive Histogram Equalization for Enhancement of Brain Images

An Enhancement of Images Using Recursive Adaptive Gamma Correction

Keywords Image Processing, Contrast Enhancement, Histogram Equalization, BBHE, Histogram. Fig. 1: Basic Image Processing Technique

A Survey on Image Enhancement Based Histogram Equalization Techniques

FILTER FIRST DETECT THE PRESENCE OF SALT & PEPPER NOISE WITH THE HELP OF ROAD

Image Enhancement by using Biogeography Based Optimization

EEL 6562 Image Processing and Computer Vision Box Filter and Laplacian Filter Implementation

Histogram Equalization with Range Offset for Brightness Preserved Image Enhancement

Image Denoising using Filters with Varying Window Sizes: A Study

DodgeCmd Image Dodging Algorithm A Technical White Paper

Image Denoising Using Statistical and Non Statistical Method

Comparative Study of Image Enhancement and Analysis of Thermal Images Using Image Processing and Wavelet Techniques

[Kaur*, 4(3): March, 2017] ISSN Impact Factor: 2.805

Contrast Enhancement with Reshaping Local Histogram using Weighting Method

Color Sensitive Adaptive Gamma Correction for Image Color and Contrast Enhancement

An Advanced Contrast Enhancement Using Partially Overlapped Sub-Block Histogram Equalization

ADVANCES in NATURAL and APPLIED SCIENCES

Study of Various Image Enhancement Techniques-A Review

DENOISING DIGITAL IMAGE USING WAVELET TRANSFORM AND MEAN FILTERING

Review and Analysis of Image Enhancement Techniques

Guided Image Filtering for Image Enhancement

ABSTRACT I. INTRODUCTION

Image Enhancement using Neural Model Cascading using PCNN

International Journal of Innovative Research in Engineering Science and Technology APRIL 2018 ISSN X

Image Quality Assessment for Defocused Blur Images

Image Contrast Enhancement Using Joint Segmentation

COMPARITIVE STUDY OF IMAGE DENOISING ALGORITHMS IN MEDICAL AND SATELLITE IMAGES

A Review on Image Enhancement Technique for Biomedical Images

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

Various Image Enhancement Techniques - A Critical Review

Survey on Contrast Enhancement Techniques

TDI2131 Digital Image Processing

Image Contrast Enhancement Techniques: A Comparative Study of Performance

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

Preprocessing on Digital Image using Histogram Equalization: An Experiment Study on MRI Brain Image

Contrast adaptive binarization of low quality document images

FOG REMOVAL ALGORITHM USING ANISOTROPIC DIFFUSION AND HISTOGRAM STRETCHING

ECC419 IMAGE PROCESSING

Image Restoration and De-Blurring Using Various Algorithms Navdeep Kaur

Analysis of various Fuzzy Based image enhancement techniques

Efficient Contrast Enhancement Using Adaptive Gamma Correction and Cumulative Intensity Distribution

GE 113 REMOTE SENSING. Topic 7. Image Enhancement

Demosaicing Algorithms

A self-adaptive Contrast Enhancement Method Based on Gradient and Intensity Histogram for Remote Sensing Images

Chapter 6. [6]Preprocessing

Digital Image Processing

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

Low Contrast Image Enhancement Technique By Using Fuzzy Method

SECTION I - CHAPTER 2 DIGITAL IMAGING PROCESSING CONCEPTS

17th World Conference on Nondestructive Testing, Oct 2008, Shanghai, China

AN ITERATIVE UNSYMMETRICAL TRIMMED MIDPOINT-MEDIAN FILTER FOR REMOVAL OF HIGH DENSITY SALT AND PEPPER NOISE

Detection and Verification of Missing Components in SMD using AOI Techniques

Non Linear Image Enhancement

Transcription:

, pp.345-352 http://dx.doi.org/10.14257/ijsip.2015.8.8.35 Histogram Equalization: A Strong Technique for Image Enhancement Ravindra Pal Singh and Manish Dixit Dept. of Comp. Science/IT MITS Gwalior, 474005 India ravindramits13@gmail.com, dixitmits@gmail.com Abstract Generally for improving contrast in digital images, HE is the method that commonly used but in result it gives unnatural artifacts like intensity saturation, over-enhancement and noise amplification. To overcome these problems there was a need to partition the image histogram, at first image histogram was partitioned into two parts and then different transformation functions were applied on each partition. After that image histogram was partitioned into many partitions and same process was applied with some additional features. DHE is the multi histogram method and CLAHE is the extension of AHE. These methods are compared to HE and found that both methods give better result than HE but DHE method also gives better result than CLAHE. Keywords: Image Processing, Contrast Enhancement, Histogram Processing etc. 1. Introduction Image enhancement is a process to remove the unwanted distortion due to deterioration in contrast, unwanted noise, improper intensity saturation, blurring effect etc, and determine the hidden information that are contained in images [1, 3]. And image enhancement gives better visually images that are given as input to various digital image processing applications. At present, in this paper we only concentrated on the contrast enhancement of digital images that can be used in different applications like biometric analysis, pattern identification, facial acknowledgement, medical fields, and in consumer electronics applications. Contrast is an image element that could be defined as a ratio between the highest and the lowest pixel intensities of an image. In image processing system contrast enhancement is a strenuous task to be done as well as it is very difficult to be obtained a good contrast image. There are several descriptions for an image to have poor contrast: due to the poor quality of the used imaging device. The images usually suffer from poor image quality, degradation in contrast and happening of shading and artifacts, due to lack in centering pixel intensity, poor lightening, specimen spotting and other factors that can be manipulated by image enhancement methods. Medical images, palm images, satellite images, remote sensing images, and electron-microscopy images even real life photographic pictures suffer from degradation in contrast [2, 3] which leads to enhance the contrast. Histogram of images provides a description of the image appearance globally. Histogram equalization and linear contrast manipulation are very frequently used techniques for improving the degraded image contrast. But both the methods are not suitable for retaining the natural contrast rather that they may suffer from unnatural contrast and some unwanted artifacts. Histogram gives huge information about image attributes and hence Histogram modeling through a spatial domain technique is of great importance in Digital Image Processing and has been implemented on various platforms. In this paper contrasting types of histogram equalization mechanisms are studied and compared to each other. Dynamic histogram equalization (DHE) is a multihistogram equalization method which is better than bi-histogram equalization method and ISSN: 2005-4254 IJSIP Copyright c 2015 SERSC

Contrast limited adaptive histogram equalization (CLAHE) is a clip histogram equalization technique that is better than classical AHE. The CLAHE approach is an extended version of adaptive histogram equalization method with some additional parameters that are used to overcome the problem with adaptive histogram equalization. 2. Histogram Equalization Histogram equalization is a spatial domain method that produces output image with uniform distribution of pixel intensity means that the histogram of the output image is flattened and extended systematically [2, 4]. This approach customarily works for image enhancement paradigm because of its simplicity and relatively better than other traditional methods. We acquire the probability density function (PDF) and cumulative density function (CDF) via the input image histogram. Apply these two functions PDF and CDF for replacing the input image gray levels to the new gray levels, and then we generate the processed image and histogram for the resultant image. And when we discriminate input image histogram with the processed image histogram we found that the gray level intensities are stretched and depressed systematically. Consequently, we obtain that the histogram of the output image is systematically distributed. Yet, this accords the over enhancement in images above the actual gray scale span. During histogram equalization approach the mean brightness of the processed image is always the middle gray level without concerning of the input mean. This procedure is not very convenient to be enforced in consumer electronics, such as television, by the reason of that the method tends to introduce irrelevant visual deterioration like the concentration effect. The particular explanation for this issue is to conquer this weakness is by perpetuating the mean brightness of the input image indoor the output image. Figure 2.1 shows an illustrating example of using Histogram Equalization (HE) for image contrast enhancement. (a) (b) (c) Figure 2.1 Illustration of HE: (a) Input image, (b) Histogram of the output image, (c) Output image by the HE method, (d) Histogram of the output image 3. Dynamic Histogram Equalization Dynamic Histogram Equalization (DHE) was essentially popularized in 2007 by Wadud et al. [8], to eliminate the influence of higher histogram components on lower histogram components in the image histogram and to regulate the amount of spreading of gray levels for objective enhancement of the image appearance by using local minima (d) 346 Copyright c 2015 SERSC

separation of histogram. DHE displays continuous and better enhancement of the image than the traditional paradigm. Withal, the DHE oversight the mean brightness perpetuation and influences to intensity saturation artifacts [9]. DHE technique has overcome the drawbacks of histogram equalization and has shown a better brightness preserving and contrast enhancement than HE. DHE reinforces the image beyond making any destruction in image particulars. However, if user is not satisfied, may control the extent of enhancement by adjusting only one parameter. Besides, DHE is transparent and computationally adequate which makes it easy to implement and can be operated in real time systems. The flowchart for the DHE algorithm is shown in Figure 3.1. Start Input the image Get the histogram of the image Find the local minima in the histogram Based on the local minima image histogram is divided Assign specific gray levels to each partition of the histogram On each partition of histogram HE is applied Stop Figure 3.1. Flow Diagram for DHE Method DHE separates the histogram depends on local minima. Formally, it implements a onedimensional smoothing filter on the histogram to dispose meaningless minima. Then it makes sub-histograms taking the portion of histogram that falls between two local minima. Figure 3.2 shows an illustrating example of using Dynamic Histogram Equalization (DHE) for image contrast enhancement. (a) (b) Copyright c 2015 SERSC 347

(c) Figure 3.2. Illustration of DHE: (a) Input image, (b) Histogram of the output image, (c) Output image by the DHE method, (d) Histogram of the output image 4. Contrast Limited Adaptive Histogram Equalization In few cases when grayscale distribution is extremely localized, it may not be enticing to transform low contrast images by Histogram Equalization approach. Therefore, in these cases aligning the curve may include segments with high slopes means two grayscale might be mapped to significantly different grayscales. This issue can be resolved through Histogram Equalization by limiting the contrast and the technique used for this condition is known as CLAHE (Contrast Limited Adaptive Histogram Equalization). Whereas on applying AHE, if the refined region has approximately small intensity then in that region the noise get more enhanced but there may be some artifacts on that region. CLAHE is the suitable method that is used to limit those artifacts. CLAHE promotes on minuscule image blocks and each block's contrast is being enhanced, so that the processed histogram region approximately matches the histogram specified by a distribution that may be any of Binomial, Gaussian, Poisson or Rayleigh. The neighboring blocks are jointed using bilinear interpolation to wipe out artificially induced perimeters. The contrast in homogenous area can be explained to evade strengthening any noise. Originally it was advanced for medical imaging and verified to be successful for the enhancement of low contrast images such as portal films [6]. To control the quality of the image CLAHE uses block size and clip limit as the parameters and these may have some default value sometimes these values are chosen by users. And when a user selects parameters values randomly, the results of the CLAHE would be degraded than HE approach [4,7]. The CLAHE introduced clip limit to overcome the noise problem. Before calculating the CDF, the CLAHE limits the amplification by clipping the histogram at a predefined value. This limits the slope of the CDF and therefore of the transformation function. Clip limit is a value based on the histogram is clipped, depends on the normalization of the histogram and thereby on the size of the neighborhood region [5]. The algorithm for CLAHE is shown in Figure 4.1. (d) 348 Copyright c 2015 SERSC

1. Input the image and calculate the grid size based on maximum image dimension. 2. Starting from top left corner Find grid points on the image. 3. for each grid point -Calculate histogram with area equal to window size and grid point as centre. -Clip the histogram above the clip limit and use it to find CDF. 4. for each pixel - find 4 neighbor grid point for pixel and based on their CDF find the mapping of that pixel at 4 grid points. 5. Apply Interpolation among these values to get mapping at the current pixel location. 6. Now map this intensity into the output image with range [min max]. Figure 4.1. Algorithm for CLAHE Method In the algorithm if a window size is not specified choose the grid size as the default window size and each grid point is separated by grid size pixels. After calculating the mappings for each grid point, steps 4 to 6 for each pixel in the input image are repeated. Clipping the histogram itself is not quite straight forward because the excess after clipping has to be redistributed with the new bins that may increments the level of the clipped histogram. Therefore the clipping should be executed at a level lower than the detailed clip level so that after reorganization, the maximum histogram level is equal to the clip level. Figure 4.2 shows an illustrating example of using Contrast Limited Adaptive Histogram Equalization (CLAHE) for image contrast enhancement. (a) (b) (c) Figure 4.2 Illustration of CLAHE: (a) Input image, (b) Histogram of the output image, (c) Output image by the CLAHE method, (d) Histogram of the output image (d) Copyright c 2015 SERSC 349

5. Results and Discussion The following methods for contrast enhancement are applied on various images and the resultant images formed by these methods are compared statistically with PSNR (Peak Signal to Noise Ratio) and NAE (Normalized Absolute Error). The PSNR values and NAE values for output images are stored in tabular form and Shown in Table 5.1 and Table 5.2 respectively. And the graphical illustration of PSNR and NAE are shown by Figure 5.2 and Figure 5.3 respectively. (a) (b) (c) (d) (e) (f) Figure 5.1. Illustration of input images: (a).road- side building (b)girl (c)beach (d)building (e)house (f)pirate Below in Table 5.1, the PSNR values for output images are tabulated. From these values we see that only for (d).building and (b). girl image CLAHE gives higher PSNR value than the HE and DHE. But for the images (a). Road-side building (c). Beach (e). House and (f). Pirate, the DHE gives higher PSNR. value. And when we plot graph according to the PSNR values Table 5.1. The PSNR Values for Various Contrast Enhancement Techniques Image Name HE DHE CLAHE Building 13.505 14.925 21.320 Road-side building 15.124 22.517 20.641 Girl 11.444 19.682 23.160 Beach 9.268 16.317 13.542 House 10.800 19.756 15.342 Pirate 18.715 21.742 17.717 for the Output images, and then except for two images the graph for DHE looks better than HE and CLAHE methods. Therefore, we can say that DHE method gives better result than HE and CLAHE. 350 Copyright c 2015 SERSC

Figure 5.2. Illustration of the PSNR Graph for Various Techniques for Contrast Enhancement Table 5.2. The NAE Values for Various Contrast Enhancement Techniques Image Name HE DHE CLAHE Building 0.2721 0.2585 0.1052 Road-side building 0.2895 0.0906 0.1271 Girl 0.3717 0.1421 0.0789 Beach 1.5832 0.4714 0.8852 House 0.8874 0.1682 0.5196 Pirate 0.2041 0.1623 0.2294 NAE values for output images are tabulated. From these values we see that only for (d).building and (b). girl image CLAHE gives lower NAE value than the HE and DHE. But for the images (a). Road-side building (c). Beach (e). House and (f). Pirate, the DHE gives lower PSNR value. And when we plot graph according to the NAE values for the images, then except for two images the graph for DHE looks better than HE and CLAHE methods. Therefore, we can say that DHE method gives better result than HE and CLAHE. Figure 5.3. Illustration of the NAE Graph for Various Techniques for Contrast Enhancement Copyright c 2015 SERSC 351

6. Conclusion HE is a simple and effective contrast enhancing technique. But it significantly changes the image brightness. On the other hand CLAHE and DHE both methods increases the contrast more than HE. CLAHE introduces large changes in the pixel intensity, which leads to some processing artifacts and affect the decision making process. By the values of PSNR and NAE the DHE method gives better result than HE and CLAHE. Operating on the global statistics of images DHE is computationally more efficient than CLAHE. So, DHE is more efficient method than the HE and CLAHE but the main drawback with DHE is that it is not good with preserving brightness of the images. Therefore, while using DHE at last we have to normalize the brightness of the image. References [1] R. C. Gonzalez and R. E. Woods, Digital Image Processing, 2nd edition, Prentice Hall, (2002). [2] R. C. Gonzalez and R. E. Woods, Digital image processing, Third Edition, Prentice Hall. [3] S. Jayaraman, S. Esakkirajan, and T. Veerakumar, Digital image processing, Third Edition, Mcgraw Hill education. [4] A. K. Jain, Fundamentals of Digital Image Processing Englewood Cliffs, NJ: Prentice Hall, (1989). [5] R. Garg, B. Mittal, and S. Garg, Histogram Equalization Techniques for Image Enhancement, International Journal on Electronics & Communication Technology, vol. 2, no. 1, (2011), pp. 107-111. [6] K. Zuiderveld, Contrast Limited Adaptive Histogram Equalization, Academic Press, Cambridge, (1994). [7] M. Kaur, J. Kaur, and J. Kaur, Survey of contrast enhancement techniques based on histogram equalization, International Journal of Advanced Computer Science and Applications, vol. 2, no. 7, (2011), pp. 137-141. [8] M. A. A. Wadud, M. H. Kabir, M. A. A. Dewan and O. Chae, A Dynamic Histogram Equalization for Image Contrast Enhancement, IEEE Transactions on Consumer Electronics, vol. 53, no. 2, (2007) May, pp. 593-600. [9] A. Raju, G. S. Dwarakish and D. V. Reddy, A Comparative Analysis of Histogram Equalization based Techniques for Contrast Enhancement and Brightness Preserving, International Journal of Signal Processing, Image Processing and Pattern Recognition, vol. 6, no. 5, (2013), pp. 353-366.. 352 Copyright c 2015 SERSC