ANALYSIS OF IMAGE ENHANCEMENT TECHNIQUES USING MATLAB

Similar documents
ECC419 IMAGE PROCESSING

ECE 619: Computer Vision Lab 1: Basics of Image Processing (Using Matlab image processing toolbox Issued Thursday 1/10 Due 1/24)

TDI2131 Digital Image Processing

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

Image Processing for feature extraction

Digital Image Processing. Lecture # 3 Image Enhancement

Keywords: Image segmentation, pixels, threshold, histograms, MATLAB

SUPER RESOLUTION INTRODUCTION

DIGITAL IMAGE PROCESSING (COM-3371) Week 2 - January 14, 2002

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

SECTION I - CHAPTER 2 DIGITAL IMAGING PROCESSING CONCEPTS

Image Processing by Bilateral Filtering Method

Digital Image Processing

Non Linear Image Enhancement

Image Denoising using Filters with Varying Window Sizes: A Study

Image Processing Lecture 4

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

Histogram Equalization: A Strong Technique for Image Enhancement

PARAMETRIC ANALYSIS OF IMAGE ENHANCEMENT TECHNIQUES

Histogram and Its Processing

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

BSB663 Image Processing Pinar Duygulu. Slides are adapted from Gonzales & Woods, Emmanuel Agu Suleyman Tosun

Image Enhancement using Histogram Equalization and Spatial Filtering

Histogram and Its Processing

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

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

Image restoration and color image processing

Contrast Enhancement Techniques using Histogram Equalization: A Survey

Preparing Remote Sensing Data for Natural Resources Mapping (image enhancement, rectifications )

Image Processing. Chapter(3) Part 2:Intensity Transformation and spatial filters. Prepared by: Hanan Hardan. Hanan Hardan 1

SRI VENKATESWARA COLLEGE OF ENGINEERING. COURSE DELIVERY PLAN - THEORY Page 1 of 6

USE OF HISTOGRAM EQUALIZATION IN IMAGE PROCESSING FOR IMAGE ENHANCEMENT

An Efficient Color Image Segmentation using Edge Detection and Thresholding Methods

ME 6406 MACHINE VISION. Georgia Institute of Technology

GE 113 REMOTE SENSING. Topic 7. Image Enhancement

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

Image Enhancement using Neural Model Cascading using PCNN

Table of contents. Vision industrielle 2002/2003. Local and semi-local smoothing. Linear noise filtering: example. Convolution: introduction

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

PRACTICAL IMAGE AND VIDEO PROCESSING USING MATLAB

IMAGE ENHANCEMENT IN SPATIAL DOMAIN

An Integrated Approach of Logarithmic Transformation and Histogram Equalization for Image Enhancement

IMAGE ENHANCEMENT - POINT PROCESSING

1.Discuss the frequency domain techniques of image enhancement in detail.

Image Enhancement by using Biogeography Based Optimization

HISTOGRAM BASED AUTOMATIC IMAGE SEGMENTATION USING WAVELETS FOR IMAGE ANALYSIS

Digital Image Processing 3/e

Image Smoothening and Sharpening using Frequency Domain Filtering Technique

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

What is image enhancement? Point operation

Simple Pixel Operations 4S1

Image Enhancement in the Spatial Domain (Part 1)

MATHEMATICAL MORPHOLOGY AN APPROACH TO IMAGE PROCESSING AND ANALYSIS

EC-433 Digital Image Processing

Image Deblurring. This chapter describes how to deblur an image using the toolbox deblurring functions.

Background. Computer Vision & Digital Image Processing. Improved Bartlane transmitted image. Example Bartlane transmitted image

A PROPOSED ALGORITHM FOR DIGITAL WATERMARKING

Image analysis. CS/CME/BIOPHYS/BMI 279 Fall 2015 Ron Dror

Session 1. by Shahid Farid

A Histogram based Algorithm for Denoising Images Corrupted with Impulse Noise

Histogram Equalization-A Simple but Efficient Technique for Image Enhancement

Survey on Image Contrast Enhancement Techniques

MATLAB 6.5 Image Processing Toolbox Tutorial

AC : SIMPLIFIED TEACHING AND UNDERSTANDING OF HISTOGRAM EQUALIZATION IN DIGITAL IMAGE PROCESSING

Image Denoising Using Different Filters (A Comparison of Filters)

Determining MTF with a Slant Edge Target ABSTRACT AND INTRODUCTION

December 28, Dr. Praveen Sankaran (Department of ECE NIT Calicut DIP)

Capturing and Editing Digital Images *

New Spatial Filters for Image Enhancement and Noise Removal

BASIC OPERATIONS IN IMAGE PROCESSING USING MATLAB

Image Enhancement Techniques Based on Histogram Equalization

IMAGE PROCESSING PAPER PRESENTATION ON IMAGE PROCESSING

Image Restoration and Super- Resolution

Performance Comparison of Various Filters and Wavelet Transform for Image De-Noising

Refined Slanted-Edge Measurement for Practical Camera and Scanner Testing

Basic Digital Image Processing. The Structure of Digital Images. An Overview of Image Processing. Image Restoration: Line Drop-outs

International Journal of Advance Engineering and Research Development. Implementation of Digital Image Basic and Editing functions using MATLAB

LAB MANUAL SUBJECT: IMAGE PROCESSING BE (COMPUTER) SEM VII

IMAGE PROCESSING FOR EVERYONE

Image Denoising Using Statistical and Non Statistical Method

Design of Various Image Enhancement Techniques - A Critical Review

Locating the Query Block in a Source Document Image

Fuzzy Logic Based Adaptive Image Denoising

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

SYLLABUS CHAPTER - 2 : INTENSITY TRANSFORMATIONS. Some Basic Intensity Transformation Functions, Histogram Processing.

A Survey on Image Contrast Enhancement

Image acquisition. In both cases, the digital sensing element is one of the following: Line array Area array. Single sensor

Performance Evaluation of Edge Detection Techniques for Square Pixel and Hexagon Pixel images

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

Survey on Image Enhancement Techniques

Image processing. Image formation. Brightness images. Pre-digitization image. Subhransu Maji. CMPSCI 670: Computer Vision. September 22, 2016

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

Urban Feature Classification Technique from RGB Data using Sequential Methods

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

Technical information about PhoToPlan

Image Extraction using Image Mining Technique

Chapter 4 MASK Encryption: Results with Image Analysis

ISSN (PRINT): ,(ONLINE): ,VOLUME-4,ISSUE-3,

Estimation of Moisture Content in Soil Using Image Processing

from: Point Operations (Single Operands)

Transcription:

ANALYSIS OF IMAGE ENHANCEMENT TECHNIQUES USING MATLAB Abstract Ms. Jyoti kumari Asst. Professor, Department of Computer Science, Acharya Institute of Graduate Studies, jyothikumari@acharya.ac.in This study primarily centers on Image Processing. The principle objective of enhancement techniques is to process an image so that the result is more suitable than the original image for a specific application, the word specific is important, because it establishes at the outset that the techniques are very much problem oriented. Thus, for example, a method that is quite useful for enhancing x-ray image may not necessarily be the best approach for enhancing pictures of Mars transmitted by a space probe. Image enhancement is a challenging problem in digital image processing because of its usefulness in all image processing applications. Some commonly used image processing techniques are discussed in this study.these techniques are implemented in MATLAB using image processing algorithms. The technique used for the study is two dimensional matrix manipulations. Tools use for the study is MATLAB programming with image processing toolbox. Introduction Image Processing The field of digital image processing refers to processing digital images by means of a digital computer. We can define image processing as a discipline in which both the input and output of a process are images. Image Enhancement In image enhancement, the goal is to accentuate certain image features for subsequent analysis or for image display. Examples include contrast and edge enhancement, pseudo coloring, noise filtering, sharpening, and magnifying. Image enhancement is useful in feature extraction, image analysis, and visual information display. The

enhancement process itself does not increase the inherent information content in the data. It simply emphasizes certain specified image characteristics. algorithms are generally interactive and application-dependent. Enhancement Image enhancement techniques, such as contrast stretching, map each gray level into another gray level by a predetermined transformation. An example is the histogram equalization method, where the input gray levels are mapped so that the output gray level distribution is uniform. This has been found to be a powerful method of enhancement of low contrast image. Image enhancement is among the simplest and most appealing areas of digital image processing. Basically, the idea behind enhancement techniques is to bring out detail that is obscured, or simply to highlight certain features of interest in an image. A familiar example of enhancement is shown in Fig.1 in which when we increase the contrast of an image and filter it to remove the noise "it looks better." It is important to keep in mind that enhancement is a very subjective area of image processing. Improvement in quality of these degraded images can be achieved by using application of enhancement techniques. Fig.1: Image enhancement The greatest difficulty in image enhancement is quantifying the criteria for enhancement; therefore a large number of image enhancement techniques are empirical and require interactive procedure to obtain satisfactory result. However, image enhancement remains a very important topic because of its usefulness is virtually all image processing applications. Image enhancement generally classified into two categories as follows 1. Point operations

2. Spatial operations. Enhancement by point processing We begin the study of image enhancement techniques by considering processing methods that are based only on the intensity of single pixels. Some simple Intensity Transformation 1. Contrast stretching (adjusting the brightness) Low contrast images can result from poor illumination, lack of dynamic range in the image sensor, or even wrong setting of a lens aperture during image acquisition. The idea behind contrast stretching is to increase the dynamic range of the gray level in the image being processed. (Contrast local change in brightness) 2. Gray level slicing Highlighting a specific range of gray levels in the image often is desired. There are several ways of doing level slicing, but most of them of are variation of two basic themes. One approach is to display a high value for all gray levels in the range of interest and a low value for all other gray levels. The second approach based on the transformation brightness the desired range of gray levels but preserves the background and gray level tonalities in the image. 3. Image negatives Negatives of digital images are useful in numerous applications, such as displaying medical images and photographing a screen with monochrome positive film with the idea of using the resulting negatives as normal slides. The negative of an image can be obtained by subtraction of all intensity values from the maximum intensity value. 4. The Histogram Modelling

Histogram modelling has been found to be a powerful technique for image enhancement. Histogram In an image processing context, the histogram of an image normally refers to a histogram of the pixel intensity values. This histogram is a graph showing the number of pixels in an image at each different intensity value found in that image. For an 8- bitgrayscale image there are 256 different possible intensities, and so the histogram will graphically display 256 numbers showing the distribution of pixels amongst those grayscale values. How to generate? The operation is very simple. The image is scanned in a single pass and a running count of the number of pixels found at each intensity value is kept. This is then used to construct a suitable histogram. Where it can be used? The histogram is used and altered by many image enhancement operators. Two operators which are closely connected to the histogram are contrast stretching and histogram equalization. They are based on the assumption that an image has to use the full intensity range to display the maximum contrast. Contrast stretching takes an image in which the intensity values don't span the full intensity range and stretches its values linearly. Fig.2: The image

Histogram 1600 Original 1400 1200 1000 800 600 400 200 0 0 50 100 150 200 250 The image has low contrast. However, if we look at its histogram, it shows that most of the pixels values are clustered in a rather small area, whereas the top half of the intensity values is used by only a few pixels. The idea of histogram equalization is that the pixels should be distributed evenly over the whole intensity range, i.e. the aim is to transform the image so that the output image has a flat histogram. The image results from the histogram equalization and is the corresponding histogram. Fig.3: The image Histogram

1600 Histogram:Image adjust operation 1400 1200 1000 800 600 400 200 0 0 50 100 150 200 250 In this histogram the values are much more evenly distributed than in the original histogram and the contrast in the image was essentially increased. Generating and plotting image histogram in MATLAB. The histogram of an digital image with L total possible intensity levels in the range[0,g] is defined as the discrete function. h(r k ) = n k Where r k is the k th intensity level in the interval [0,G] and n k is the number of pixels in the image whose intensity level is r k. The value of G is 255. MATLAB function for dealing with image histogram is imhist, which has the following basic syntax. h = imhist(f,b) Where f- input image, h-is the histogram, b-is the number of bins(subdivision of intensity scale) used for forming histogram. (If b is not included the default value is 256). Histogram Equalization The process of adjusting intensity values can be done automatically by the histeq function. histeq performs histogram equalization, which involves transforming the

intensity values so that the histogram of the output image approximately matches a specified histogram This example illustrates using histeq to adjust a grayscale image. The original image has low contrast, with most values in the middle of the intensity range. histeq produces an output image having values evenly distributed throughout the range. I = imread( file1.bmp'); J = histeq(i); imshow(j) Fig.4: The image after histogram equalization Resultant histogram 1600 Histogram:Image adjust operation 1400 1200 1000 800 600 400 200 0 0 50 100 150 200 250 Adaptive Histogram Equalization As an alternative to using histeq, you can perform adaptive histogram equalization using the adapthisteq function. While histeq works on the entire image, adapthisteq operates

on small regions in the image, called tiles. Each tile's contrast is enhanced, so that the histogram of the output region approximately matches a specified histogram. After performing the equalization, adapthisteq combines neighboring tiles using bilinear interpolation to eliminate artificially induced boundaries. To avoid amplifying any noise that might be present in the image, you can use adapthisteq optional parameters to limit the contrast, especially in homogeneous areas. To illustrate, this example uses adapthisteq to adjust the contrast in a grayscale image. The original image has low contrast, with most values in the middle of the intensity range. adapthisteq produces an output image having values evenly distributed throughout the range. I = imread( file1.bmp ); J = adapthisteq(i); imshow(i); figure, imshow(j) Fig.5: The Image Adapthisteq MATLAB Fig: Image after Adaptive Equalization with Its Histogram

MATLAB is a high-level technical computing language and interactive environment whose basic data element is an array that does not require dimensioning. This allow you to solve many technical computing problems, especially those with matrix and vector formulations, in a fraction of the time it would take to write a program in a scalar non interactive language such as C or FORTRAN. The name MATLAB stands for matrix laboratory. MATLAB has evolved over a period of years with input from many users. In university environments, it is the standard instructional tool for introductory and advanced courses in mathematics, engineering, and science. In industry, MATLAB is the tool of choice for high-productivity research, development, and analysis, MATLAB features a family of add-on application-specific solutions called toolboxes. Very important and most users of MATLAB, toolboxes allow you to learn and apply specialized technology. Toolboxes are comprehensive collections of MATLAB functions (M-files) that extend the MATLAB environment to solve particular classes of problems. Areas in which toolboxes are available include signal processing, control systems, neural networks, fuzzy logic, wavelets, simulation, and many others. MATLAB provides a number of features for documenting and sharing your work. You can integrate your MATLAB code with other languages and applications, and distribute your MATLAB algorithms and applications. Features include: High-level language for technical computing Development environment for managing code, files, and data Interactive tools for iterative exploration, design, and problem solving Mathematical functions for linear algebra, statistics, Fourier analysis, filtering, optimization, and numerical integration 2-D and 3-D graphics functions for visualizing data Tools for building custom graphical user interfaces Functions for integrating MATLAB based algorithms with external applications and languages, such as C, C++, FORTRAN, Java, COM, and Microsoft Excel MATLAB Implementation.

%********************************************************* % Image Enhancement %********************************************************* Y=imread('d:\matlab704\work\pic.png'); I=rgb2gray(Y); I_imadjust=imadjust(I); I_histeq=histeq(I); I_adapthisteq=adapthisteq(I); imshow(i); title('original'); figure,imshow(i_imadjust); title('imadjust'); figure,imshow(i_histeq); title('histeq'); figure,imshow(i_adapthisteq); title('adapthisteq'); figure,imhist(i),title('original'); figure,imhist(i_imadjust), title('histogram:image adjust operation'); figure,imhist(i_histeq); title('histogram; image histogram equalisation opertion'); Jnanavardhini - Online MultiDisciplinary Research Journal

figure,imhist(i_adapthisteq), title('histogram image adaptive histogram operation'); %*********************************************************** Results and Screen shots. The following operations are done on the image: 1. Histogram generation 2. Image adjustment using histogram 3. Image after adjustment using histogram 4. Histogram Equalization 5. Image after Equalization of histogram 6. Adaptive histogram equalization 7. Image after adaptive equalization of histogram The result of the program provides the following. The input image is displayed as shown below. Fig.6: The Image Original FIGURE 4 ORIGINAL IMAGES The histogram of the image is as shown below.

1600 Original 1400 1200 1000 800 600 400 200 0 0 50 100 150 200 250 The gray value varies from 0 to 255. The number of occurrence of each. Gray value represents the histogram of the image. The histogram of the image after adjust operations is as shown below. 1600 Histogram:Image adjust operation 1400 1200 1000 800 600 400 200 0 0 50 100 150 200 250 Fig.7: The resultant image is as shown below. Imadjust FIGURE: IMAGES ADJUST The histogram of the image after equalization operation is as shown below.

Histogram; image histogram equalisation opertion 1600 1400 1200 1000 800 600 400 200 0 0 50 100 150 200 250 Fig.8: The resultant image after histogram equalization is as shown below. Histeq FIGURE: HISTOGRAM WITH EQUALIZATION The histogram of the image after adaptive equalization is as shown below. Histogram image adaptive histogram operation 1000 800 600 400 200 0 0 50 100 150 200 250

Fig.9: The resultant image after histogram adaptive equalization is as shown below. Adapthisteq FIGURE:ADAPTIVE HISTOGRAM CONCLUSION The objective of enhancement techniques is to process an image so that the result is more suitable than the original image for a specific application. The choice of the technique is depends upon the requirement. The histogram equalization method is powerful comparing to other methods. The gray levels of an image that has been subjected to histogram equalization are spread out and always reach white. This process increases the dynamic range of gray levels and, consequently, produces an increase in image contrast. In images with narrow histograms and relatively few gray levels, affect visual graininess and patchiness. Histogram method significantly improved the visual appearance of the image.

BIBILOGRAPHY BOOKS 1. Digital Image Processing by Gonzalez and Woods, Pearson Education Asia. 2. Digital Image Processing Using MATLAP[2008] by Rafael C. Gonzalez, Richard E. Woods, Steven L. Eddins, Pearson Education. 3. Fundamentals of Digital Image Processing, Anil K.Jain, Prentice-Hall of India Private Limited[2004]. 4. Fundamentals of Image Processing by I.T. Young J.J. Gerbrands L.J. Van Vliet. 5. Digital Image Processing: Concepts, Algorithms, and Scientific Applications by Jahne, B. 6. Digital Image Processing by Gonzalez, R.C. and Wintz, Pearson Education Asia.