Chapter 3. Study and Analysis of Different Noise Reduction Filters

Similar documents
Image Filtering. Median Filtering

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

Digital Image Processing

On the evaluation of edge preserving smoothing filter

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

Image Denoising using Filters with Varying Window Sizes: A Study

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

Filtering in the spatial domain (Spatial Filtering)

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

CS534 Introduction to Computer Vision. Linear Filters. Ahmed Elgammal Dept. of Computer Science Rutgers University

Image Processing for feature extraction

Removal of High Density Salt and Pepper Noise through Modified Decision based Un Symmetric Trimmed Median Filter

Prof. Feng Liu. Winter /10/2019

10. Noise modeling and digital image filtering

An Efficient Noise Removing Technique Using Mdbut Filter in Images

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

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

Image Enhancement in spatial domain. Digital Image Processing GW Chapter 3 from Section (pag 110) Part 2: Filtering in spatial domain

Practical Image and Video Processing Using MATLAB

Digital Image Processing

Frequency Domain Enhancement

IMAGE ENHANCEMENT IN SPATIAL DOMAIN

Motivation: Image denoising. How can we reduce noise in a photograph?

Image Denoising Using Statistical and Non Statistical Method

Filtering Images in the Spatial Domain Chapter 3b G&W. Ross Whitaker (modified by Guido Gerig) School of Computing University of Utah

Midterm Examination CS 534: Computational Photography

Achim J. Lilienthal Mobile Robotics and Olfaction Lab, AASS, Örebro University

Prof. Vidya Manian Dept. of Electrical and Comptuer Engineering

Images and Filters. EE/CSE 576 Linda Shapiro

Performance Analysis of Average and Median Filters for De noising Of Digital Images.

Image filtering, image operations. Jana Kosecka

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

IMAGE PROCESSING: AREA OPERATIONS (FILTERING)

A Novel Approach for MRI Image De-noising and Resolution Enhancement

Motivation: Image denoising. How can we reduce noise in a photograph?

Computer Vision, Lecture 3

Interpolation of CFA Color Images with Hybrid Image Denoising

Absolute Difference Based Progressive Switching Median Filter for Efficient Impulse Noise Removal

Design of Hybrid Filter for Denoising Images Using Fuzzy Network and Edge Detecting

COMPARITIVE STUDY OF IMAGE DENOISING ALGORITHMS IN MEDICAL AND SATELLITE IMAGES

Image analysis. CS/CME/BioE/Biophys/BMI 279 Oct. 31 and Nov. 2, 2017 Ron Dror

Image Enhancement using Histogram Equalization and Spatial Filtering

Image analysis. CS/CME/BioE/Biophys/BMI 279 Oct. 31 and Nov. 2, 2017 Ron Dror

A Modified Non Linear Median Filter for the Removal of Medium Density Random Valued Impulse Noise

Performance Comparison of Mean, Median and Wiener Filter in MRI Image De-noising

A Fast Median Filter Using Decision Based Switching Filter & DCT Compression

Impulse Noise Removal and Detail-Preservation in Images and Videos Using Improved Non-Linear Filters 1

Image De-noising Using Linear and Decision Based Median Filters

Chrominance Assisted Sharpening of Images

Chapter 6. [6]Preprocessing

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

Lecture 3: Linear Filters

8.2 IMAGE PROCESSING VERSUS IMAGE ANALYSIS Image processing: The collection of routines and

Image Filtering in Spatial domain. Computer Vision Jia-Bin Huang, Virginia Tech

Literature Survey On Image Filtering Techniques Jesna Varghese M.Tech, CSE Department, Calicut University, India

Stochastic Image Denoising using Minimum Mean Squared Error (Wiener) Filtering

Removal of High Density Salt and Pepper Noise along with Edge Preservation Technique

ABSTRACT I. INTRODUCTION

DIGITAL IMAGE DE-NOISING FILTERS A COMPREHENSIVE STUDY

Image preprocessing in spatial domain

Non Linear Image Enhancement

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

C. Efficient Removal Of Impulse Noise In [7], a method used to remove the impulse noise (ERIN) is based on simple fuzzy impulse detection technique.

Part I Feature Extraction (1) Image Enhancement. CSc I6716 Spring Local, meaningful, detectable parts of the image.

CS6670: Computer Vision Noah Snavely. Administrivia. Administrivia. Reading. Last time: Convolution. Last time: Cross correlation 9/8/2009

Historical Document Preservation using Image Processing Technique

Image Denoising Using Different Filters (A Comparison of Filters)

Comparative Analysis of Methods Used to Remove Salt and Pepper Noise

Noise Adaptive and Similarity Based Switching Median Filter for Salt & Pepper Noise

Noise Reduction Technique in Synthetic Aperture Radar Datasets using Adaptive and Laplacian Filters

De-Noising Techniques for Bio-Medical Images

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

FUZZY BASED MEDIAN FILTER FOR GRAY-SCALE IMAGES

Filip Malmberg 1TD396 fall 2018 Today s lecture

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

Removal of Gaussian noise on the image edges using the Prewitt operator and threshold function technical

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

Available online at ScienceDirect. Procedia Computer Science 42 (2014 ) 32 37

Direction based Fuzzy filtering for Color Image Denoising

Image Denoising with Linear and Non-Linear Filters: A REVIEW

Chapter 2 Image Enhancement in the Spatial Domain

Digital Image Processing 3/e

VLSI Implementation of Impulse Noise Suppression in Images

I. INTRODUCTION II. EXISTING AND PROPOSED WORK

FPGA IMPLEMENTATION OF RSEPD TECHNIQUE BASED IMPULSE NOISE REMOVAL

Digital Image Processing

Vision Review: Image Processing. Course web page:

Fourier Transform. Any signal can be expressed as a linear combination of a bunch of sine gratings of different frequency Amplitude Phase

International Journal of Computer Engineering and Applications, TYPES OF NOISE IN DIGITAL IMAGE PROCESSING

CS 4501: Introduction to Computer Vision. Filtering and Edge Detection

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

Blind Single-Image Super Resolution Reconstruction with Defocus Blur

Removal of Salt and Pepper Noise from Satellite Images

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

Decision Based Median Filter Algorithm Using Resource Optimized FPGA to Extract Impulse Noise

Image Enhancement contd. An example of low pass filters is:

International Journal of Pharma and Bio Sciences PERFORMANCE ANALYSIS OF BONE IMAGES USING VARIOUS EDGE DETECTION ALGORITHMS AND DENOISING FILTERS

Detail preserving impulsive noise removal

Digital Image Processing. Digital Image Fundamentals II 12 th June, 2017

An Efficient Color Image Segmentation using Edge Detection and Thresholding Methods

Transcription:

Chapter 3 Study and Analysis of Different Noise Reduction Filters Noise is considered to be any measurement that is not part of the phenomena of interest. Departure of ideal signal is generally referred to as noise. Noise arises as a result of unmodelled or unmodellable processes going on in the production and capture of real signal. It is not part of the ideal signal and may be caused by a wide range of sources, e. g. variation in the detector sensitivity, environmental variations, the discrete nature of radiation, transmission or quantization errors etc. It is also possible to treat irrelevant scene details as if they are image noises e.g. surface reflectance textures. The characteristics of noise (Russo, 2005) depend on its source, as does the operator which reduces its effects. Many image processing packages contains operators to artificially add noise to an image. Deliberately corrupting an image with noise allows us to test the resistance of an image processing operator to noise and assess the performance of various noise filters. There are two ways of image corruption by noise: noise addition and noise multiplication. A model of an image degraded by additive random noise is given by (Gonzalez and Woods, 2002). g( x, y) f ( x, y) n( x, y) (3.1) Where n( x, y) represents the signal independent additive random noise. The level of noise is generally expressed by its variance. In order to compare the performance of the original, degraded and processed images, some measures of error are necessary. The Peak Signal-to-Noise Ratio (PSNR) is often used for the characterization of signal. 60

PSNR is the ratio between possible power of a signal and the power of corrupting noise that affects the fidelity of its representation. PSNR = 10 log10 (255 2 /MSE) (3.2) Higher PSNR value provides higher image quality. Mean square error (MSE) is given by: MSE N i j1 f ( i, j) F( i, j) 2 N 2 (3.3) Where, f is the original image F is the filtered image and N is the size of image. MSE is an estimator in many ways to quantify the amount by which a filtered/noisy image differs from noiseless image. 3.1 Classification of Different Types of Noise Digital images acquired with an electronic camera are typically corrupted with noise due to the optical system, light sensor and associated electronics. The transmission of video images is often accompanied by noise depending on environmental conditions. Video images transmitted via satellite are very susceptible to the electronic interference due to sunspot activity. Noise is classified based upon the shape of its probability density function (pdf). The mean and variance are important parameters to characterize the noise. Mean value m, gives the average brightness of the noise and square root of variance gives the average peak-to-peak gray level deviation of the noise (Xu and Lai, 1998). The mean and variance are defined as: gmax m k p ( k) (3.4) k0 n 61

gmax 2 2 ( kpn ( k) m) k0 (3.5) Where, p n (k) is the frequency of occurrence of noise amplitude, k and g max is the maximam gray level of the image. Ideally, k varies from - to +, however, since the pixel levels are limited in the range [0,L-1], the noise amplitude level k also lies in [0, L- 1]. Now we want to describe different types of noise that we have studied for our work. 3.1.1 Gaussian Noise The most common type of noise that is found in an image is Gaussian noise, which is the result of many unknown noises from independent sources added together. Gaussian noise is expressed by the probability density function (pdf) as (Xu and Lai, 1998): 2 ( km) 1 2 pn ( k) e ; 2 k (3.6) Where k=grey level, m mean and standard deviation In the pdf, mean is located at the peak, having highest probability of occurrence and the width is determined by the standard deviation. Gaussian noise is defined over infinite range; however, the digitized image has finite range. Hence the noise values that exceed the gray level range are deposited at the 0 and g max points on the pdf. For 99.7% of the gray levels, the peak-to-peak gray level deviation is equal to 6. Figure 3: Gaussian Noise Distribution Function 62

3.1.2 Salt and Pepper Noise In the salt and pepper noise model only two possible values are possible, a and b, and probability of obtaining each of them is less than 0.1(otherwise, the noise would vastly dominate the image). For an 8 bit/pixel image, the typical intensity value g for pepper noise is close to 0 and for salt noise is close to 255. The probability density function (PDF) for salt and pepper noise (Meher, 2004) model is given by: A for g a (" pepper ") PDF salt and pepper= B for g b(" salt" ) (3.7) Figure 3.1: Salt and Pepper Noise Distribution Function The salt and pepper noise is generally caused by malfunctioning of camera s sensor cells, by memory cell failure or by synchronization errors in the image digitizing or transmission. 3.2 Image Denoising Image denoising is a delicate and difficult task. A trade-off between noise reduction and the preservation of actual image features occurs, in order to enhance the relevant image content. Reducing noise has always been one of the standard problems of image processing. A multitude of methods have been proposed to remove noise as it is well 63

known that every source of noise creates a different type of noise. The purpose of denoising is to suppress the noise from the observed signal, and help the recovery of functions of that signal. In statistical terms (Hazma and Krim, 2001), this corresponds to a non parametric regression, where an orthogonal basis expansion is used to estimate the unknown function using a time regression setting. 3.2.1 Conventional Filters Filters are mainly used to suppress either the high frequencies in the image, i.e., for smoothing the image, or the low frequencies, i.e., for enhancing or detecting edges in the image.suppose that an image-processing operator F acts on the two input images A and B and produces output images C and D respectively. If the operator F is linear (Gonzalez and Woods, 2002; Jain, 1989), then F (a A+ b B) = a C + b D (3.8) Where a and b are constants. This means that each pixel in the output of a linear operator is the weighted sum of a set of pixels in the input image. For example, the threshold operator is non-linear (Astola and Kuosmanen, 1997) because individually, corresponding pixels in the two images A and B may be below the threshold, whereas the pixel obtained by adding A and B may be above threshold. Similarly, the absolute value operation is non-linear: -1+1 ~ = -1 + 1 (3.9) 3.2.1.1 Simple Mean Filter The moving average or mean filter (MF) is a simple linear filter. The idea of mean filtering is simply to replace each pixel value in an image with the mean (`average') 64

value of its neighbors, including itself (Gonzalez and Woods, 2002; Jain, 1989). This has the effect of eliminating pixel values, which are unrepresentative of their surroundings. Often a 3 3 square kernel shown in Figure 3.2 is used. 1 1 X 1 9 1 1 1 1 1 1 1 Figure 3.2: 3 3 averaging kernel used in mean filtering It is very simple to implement in hardware and software. The computational complexity is very low. It works fine for low power AWGN. As the noise power increases, its filtering performance degrades. If the noise power is high, then a larger window should be employed for spatial sampling to have better local statistical information. As the window size increases, MF produces a reasonably high blurring effect and thus thin edges and fine details in an image are lost. There are two main problems with mean filtering, which are: A single pixel with a very unrepresentative value can significantly affect the mean value of all the pixels in its neighborhood. When the filter neighborhood straddles an edge, the filter will interpolate new values for pixels on the edge thereby blurring the edge. This may be a problem if sharp edges are required in the output. 3.2.1.2 Disk Filter Disk filter (Gonzalez and Woods, 2002) uses a circular averaging filter (pillbox) within the square matrix of side 2*radius+1. The pillbox has circular top and straight sides. For example, if the lens of a camera is not properly focused, each point in the image will be projected to a circular spot on the image sensor. In other words, the pillbox is the point 65

spread function of an out-of-focus lens. The Disk filter convolved image will appear blurry and have less defined edges, but will be lower in random noise. These are called smoothing filters, for their action in the time domain, or low-pass filters, for how they treat the frequency domain. 3.2.2 Median filter The median filter is a nonlinear digital filtering technique, often used to remove noise. Such noise reduction is a typical pre-processing step to improve the results of later processing (for example, edge detection on an image). Median filtering is very widely used in digital image processing because, under certain conditions, it preserves edges while removing noise. Median filter (Eng and Ma, 2001) is a spatial filtering operation, so it uses a 2-D mask that is applied to each pixel in the input image. To apply the mask means to centre it in a pixel, evaluating the covered pixel brightnesses and determining which brightness value is the median value. Figure presents the concept of spatial filtering based on a 3x3 mask, where I is the input image and O is the output image. Figure 3.3: Shows concept of spatial filtering The median value is determined by sorting all the pixel values from the surrounding neighborhood into numerical order and then replacing the pixel being 66

considered with the middle pixel value (Chan et al., 2005; Wang and Hang, 1999). If the neighborhood under consideration contains an even number of pixels, the average of the two middle pixel values is used. Figure 3.3 illustrates calculation of median value. Figure 3.4: The median value of a pixel neighborhood As can be seen, the central pixel value of 150 is rather unrepresentative of the surrounding pixels and is replaced with the median value: 124. A 3 3 square neighborhood is used here; however, larger neighborhoods will produce more severe smoothing. By calculating the median value of a neighborhood rather than the mean filter, the median filter has two main advantages over the mean filter: The median is more robust than the mean and so a single very unrepresentative pixel in a neighborhood will not affect the median value significantly. Since the median value must actually be the value of one of the pixels in the neighborhood, the median filter does not create new unrealistic pixel values, when the filter straddles an edge. For this reason, the median filter is much better at preserving sharp edges than the mean filter. The main problem of the median filter is its high computational cost (for sorting N pixels, the temporal complexity is O (N log N), even with the most efficient sorting algorithms).in General, the median filter allows a great deal of high spatial frequency 67

detail to pass while remaining very effective at removing noise on images where less than half of the pixels in a smoothing neighborhood have been effected. (As a consequence of this, median filtering can be less effective at removing noise from images corrupted with Gaussian noise). Unlike the mean filter, the median filter is non-linear. This means that for two images A (x) and B (x), we have Median A (x) +B (x) Median A (x) + Median (x) (3.10) 3.2.3 Gaussian Filter The Gaussian Filter (Krystek, 1996; Vanherck, 1994) is a 2-D convolution operator that is used to `blur' images and remove detail and noise. In this sense, it is similar to the mean filter, but it uses a different kernel that represents the shape of a Gaussian (`bell-shaped') hump. This kernel has some special properties as explained below. The Gaussian distribution in 1-D has the form: G x 2 x 2 2 1 e (3.11) 2 where is the standard deviation of the distribution. We have also assumed that the distribution has a mean of zero (i.e. it is centered on the line x=0). The distribution is illustrated in Figure 3.5. Figure 3.5: 1-D Gaussian distribution with mean 0 and =1 68

In 2-D, an isotropic (i.e. circularly symmetric) Gaussian has the form: G x 2 2 x y 1 2 2, y e 2 (3.12) 2 This distribution is shown in Figure 3.6. Figure 3.6: 2-D Gaussian distribution with mean (0, 0) and =1 The idea of Gaussian smoothing is to use this 2-D distribution as a `point-spread' function, and this is achieved by convolution. Since the image is stored as a collection of discrete pixels we need to produce a discrete approximation to the Gaussian function before we can perform the convolution. In theory, the Gaussian distribution is non-zero everywhere, which would require an infinitely large convolution kernel, but in practice it is effectively zero more than about three standard deviations from the mean, and so we can truncate the kernel at this point. Figure 3.7 shows a suitable integer-valued convolution kernel that approximates a Gaussian filter with a = 1.0. Figure 3.7: Discrete approximation to Gaussian function with =1.0 69

Once a suitable kernel has been calculated, then the Gaussian smoothing can be performed using standard convolution methods. The convolution can in fact be performed fairly quickly since the equation for the 2-D isotropic Gaussian shown above is separable into x and y components. Thus the 2-D convolution can be performed by first convolving with a 1-D Gaussian in the x direction, and then convolving with another 1-D Gaussian in the y direction. (The Gaussian is in fact the only completely circularly symmetric operator which can be decomposed in such a way.) Figure 3.8 shows the 1-D x component kernel that would be used to produce the full kernel shown in Figure 3.7 (after scaling by 273, rounding and truncating one row of pixels around the boundary because they mostly have the value 0. This reduces the 7x7 matrix to the 5x5 shown above.). The y component is exactly the same but is oriented vertically. Figure 3.8: one of the pair of 1-D convolution kernels used to calculate the full kernel more quickly A further way to compute a Gaussian smoothing with a large standard deviation is to convolve an image several times with a smaller Gaussian. While this is computationally complex, it can have applicability if the processing is carried out using a hardware pipeline. The Gaussian filter not only has utility in engineering applications. It is also attracting attention from computational biologists because it has been attributed with some amount of biological plausibility, e.g. some cells in the visual pathways of the brain often have an approximately Gaussian response. 70

3.2.4 The Laplace Operator The Laplacian operator (Taubin, 1995; Zhang, 2003) is a 2-D isotropic measure of the 2nd spatial derivative of an image. It is particularly good at finding the fine detail in an image. Any feature with a sharp discontinuity (like noise) will be enhanced by a Laplacian operator. Thus, one application of a Laplacian operator is to restore fine detail to an image which has been smoothed to remove noise. The Laplacian L(x, y) of an image with pixel intensity values I(x, y) is given by: L 2 2 I I (3.13) x y x, y 2 2 The Laplacian operator is implemented as a convolution between an image and a kernel. The Laplacian kernel can be constructed in various ways but is generally used as a 3-by-3 kernel and shown in the figure below. -1-1 -1-1 8-1 -1-1 -1 Figure 3.9: Laplacian 3x3 kernel In image convolution, the kernel is centered on each pixel in turn, and the pixel value is replaced by the sum of the kernel mutipled by the image values. In the particular kernel we are using here, we are counting the contributions of the diagonal pixels as well as the orthogonal pixels in the filter operation. 3.2.5 Laplacian of Gaussian Laplacian filters are derivative filters used to find areas of rapid change (edges) in images. Since derivative filters are very sensitive to noise, it is common to smooth the 71

mage (e.g., using a Gaussian filter) before applying the Laplacian. This two-step process is called the Laplacian of Gaussian (LoG) operation. 2 2 2 f ( x, y) f ( x, y) f ( x, y) 2 2 L( x, y) (3.14) x y There are different ways to find an approximate discrete convolution kernal that approximates the effect of the Laplacian. A possible kernel is 0 1 0 1 4 1 0 1 0 Figure 3.10: Commonly used discrete approximations to the Laplacian filter. This is called a negative Laplacian because the central peak is negative. We have defined the Laplacian using a negative peak because this is more common; however, it is equally valid to use the opposite sign convention. To include a smoothing Gaussian filter, combine the Laplacian and Gaussian functions to obtain a single equation: 2 2 2 2 1 x y x y LOG( x, y) (1 )exp( ) (3.15) 4 2 2 2 2 and is shown in Figure 3.11 Figure 3.11: The 2-D Laplacian of Gaussian (LoG) function. The x and y axes are marked in standard deviations ( ). 72

A discrete kernel for the case of σ = 1.4 is given by 0 1 1 2 2 2 1 1 0 1 2 4 5 5 5 4 2 1 1 4 5 3 0 3 5 4 1 2 5 3-12 -24-12 3 5 2 2 5 0-24 -40-24 0 5 2 2 5 3-12 -24-12 3 5 2 1 4 5 3 0 3 5 4 1 1 2 4 5 5 5 4 2 1 0 1 1 2 2 2 1 1 0 Figure 3.12: Discrete approximation to LoG function with Gaussian = 1.4 The LoG operator takes the second derivative of the image. Where the image is basically uniform, the LoG will give zero. Wherever a change occurs, the LoG will give a positive response on the darker side and a negative response on the lighter side. At a sharp edge between two regions, the response will be zero at a long distance from the edge, positive just to one side of the edge, negative just to the other side of the edge, zero at some point in between, on the edge itself. Figure 3.13 illustrates the response of the LoG to a step edge. Figure 3.13: Response of 1-D LoG filter to a step edge. 73

The left hand graph shows a 1-D image, 200 pixels long, containing a step edge. The right hand graph shows the response of a 1-D LoG filter with Gaussian = 3 pixels. 3.2.6 Wiener Filter Wiener (1949) proposed the concept of Wiener filtering. There are two methods: (i) Fourier-transform based method (frequency-domain) and (ii) mean-squared based method (spatial-domain) for implementing Wiener filter. The former method is used only for complete restoration (denoising and deblurring) whereas the latter is used for denoising. In Fourier transform based method of Wiener filtering, normally a priori knowledge of the power spectra of noise and the original image is required. But in mean-squared method, no such a priori knowledge is required. Hence, it is easier to use the mean-squared method for image denoising. Wiener filter is based on the leastsquared principle, i.e. the filter minimizing the mean-squared error (MSE) between the actual output and the desired output (Shui, 2005). Image statistics vary too much from a region to another even within the same image. Thus, both global statistics (mean variance etc. of the whole image) and local statistics (mean, variance etc. of a small region or sub-image) are important. Wiener filtering is based on both the global statistics and local statistics and is given by: f 2 2 f x y g gx, y g, 2 f n (3.16) where, g is the local mean, 2 f is the local signal variance, 2 n is the noise variance and f x, y denotes the restored image. For (2a+1) (2b+1) window of noisy image g(x, y), the local mean g 2 and local Variance g are defined by: 74

a b 1 g gs, t L sa tb (3.17) where, L, is the total number of pixels in a window, i.e. L = (2a+1) (2b+1); and 2 a b 2 1 g gs, t g (3.18) L 1 s a tb The local signal variance 2 f used in (3.16) is calculated from 2 g with a priori knowledge of noise variance, 2 n simply by subtracting 2 2 n from g with the assumption that the signal and noise are not correlated with each other. From (3.16) it may be observed that the filter-output is equal to local mean, if the current pixel value equals local mean. Otherwise, it outputs a different value; the value being some what different from local mean. If the input current value is more (less) than the local mean, then the filter outputs a positive (negative) differential amount taking the noise variance and the signal variance into consideration. Thus, the filter output varies from the local mean depending upon the local variance and hence tries to catch the true original value as far as possible. In statistical theory, Wiener filtering is a great land mark. It estimates the original data with minimum mean-squared error and hence, the overall noise power in the filtered output is minimal. Thus, it is accepted as a benchmark in 1-D and 2-D signal processing. 3.2.7 Unsharp Filter Unsharp filterering technique is used commonly in the printing industry for crispening the edges. A signal proportional to the unsharp or low-pass filtered, version 75

of the image is subtracted from the image. This is equivalent to adding the gradient, or a high-pass signal, to the image. Steps for Unsharp Filtering are: Blur the image Subtract the blurred version from the original (this is called the mask) g mask ( x, y) f ( x, y) f ( x, y) (3.19) Where f ( x, y) an original is image and ( x, y) f is the blurred image Add the mask to the original g( x, y) f ( x, y) k. g ( x, y) mask where k is a weight. We can better understand the operation of the unsharp sharpening filter by examining its frequency response characteristics. If we have a signal as shown in Figure 3.14(a), subtracting away the lowpass component of that signal (as in Figure 3.14(b)), yields the highpass, or `edge', representation shown in Figure 3.14(c). Figure 3.14: Calculating an edge image for unsharp filtering This edge image can be used for sharpening if we add it back into the original signal, as shown in Figure 3.15. 76

Figure 3.15: Sharpening the original signal by adding the edge image The unsharp filter is implemented as a window-based operator, i.e. it relies on a convolution kernel to perform spatial filtering. It can be implemented using an appropriately defined lowpass filter to produce the smoothed version of an image, which is then pixel subtracted from the original image in order to produce a description of image edges, i.e. a highpassed image. 3.2.8 Lee Filter The Lee filter (Lee, 1980) developed by Jong-Sen Lee is an adaptive filter which changes its characteristics according to the local statistics in the neighborhood of the current pixel. Lee filters utilize the statistical distribution of the DN values within the moving kernel to estimate the value of the pixel of interest. The filter assumes a Gaussian distribution for the noise in the image data. The Lee filter is based on the assumption that the mean and variance of the pixel of interest is equal to the local mean and variance of all pixels within the user-selected moving kernel. The Lee filter is able to smooth away noise in flat regions, but leaves the fine details (such as lines and textures) unchanged. It uses small window (3 3, 5 5, 7 7).The formula used for the Lee filter is: DN out Mean KDN Mean (3.20) in Where Mean=Average of pixels in a moving window 77

Var ( x) K= 2 2 Mean Var ( x ) (3.21) and Variance within window Mean within window 2 Sigma 1 2 Var ( x) Mean within window 2 (3.22) The distinct characteristic of the filter is that in the areas of low signal activity (flat regions) the estimated pixel approaches the local mean, whereas in the areas of high signal activity (edge areas) the estimated pixel favours the corrupted image pixel, thus retaining the edge information. It is generally claimed that human vision is more sensitive to noise in a flat area than in an edge area. The major drawback of the filter is that it leaves noise in the vicinity of edges and lines. However, it is still desirable to reduce noise in the edge area without sacrificing the edge sharpness. Some variants of Lee filter available in the literature handle multiplicative noise and yield edge sharpening. 3.2.9 Frost Filter The Frost filter (Frost et al., 1982) is an adaptive and exponentially-weighted averaging filter based on the coefficient of variation which is the ratio of the local standard deviation to the local mean of the degraded image. The Frost filter replaces the pixel of interest with a weighted sum of the values within the nxn moving kernel. The weighting factors decrease with distance from the pixel of interest. The weighting factors increase for the central pixels as variance within the kernel increases. This filter assumes multiplicative noise and stationary noise statistics and follows the following formula: 78

DN k e nxn t (3.23) Where 4 2 n 2 2 I K= normalization constant I = local mean σ = Local variance = image coefficient of variation value t X X Y 0 Y 0, and n= moving kernel size 3.3 Estimation of Statistical Parameters Over the past few years, various filters have been proposed based on numerous purposes. Consequently, criteria quantifying the performances of the filters are desired. Two general classes of criteria are used as the basis for such evaluations (Gonzalez and Woods, 2002; Wang et al., 2002): 3.3.1 (a) Objective fidelity criteria A simple and convenient mechanism for quantitating the differences between two images by letting functions represents images. 3.3.1 (b) Subjective fidelity criteria Human observers evaluate different images and averaging their evaluations. 79

The parameters which are used in the filter performance evaluation are Mean Square Error (MSE) (Girod,1993), Peak Signal to Noise Ratio (PSNR) (Eskicioglu and Fisher, 1995), Correlation Coefficient (COC) (Rodgers and Nicewander, 1995), and Mean Structural Similarity Index Measure (MSSIM) (Eskicioglu and Fisher, 1995), UQI (Universal Quality Index (Wang and Bovik, 2002). These are already explained in chapter I. 3.4 Simulation Results All the filters like Mean, Circular Mean, Median, Gaussian, Laplacian, Laplacian of Gaussian, Wiener, Unsharp, Lee and Frost filters are simulated on MATLAB 7.0 platform. The experiments are performed on 40 gray scale images (taken from the database of images Berkeley Segmentation Dataset, Matlab test images and this database brings a set of 200 images of natural scenes and their ground truth produced manually) and results on a few images (natural gray scale images; Lena and Cameraman, and two synthetic sharp edge images; Test_corners image and Test_pattern) shown in figure 3.16 below (Table 3.1 to 3.32) have been presented. To analyse the performance of various filters in the noisy environment, first the image is corrupted with Gaussian noise of variance =.05, 0.1, 0.25 and 0.5 and salt and pepper noise of density=.05, 0.1, 0.25 and 0.5. The Mean Square Error (MSE), Peak-Signal-to- Noise Ratio (PSNR), Correlation Coefficient (COC), Mean Structural Similarity Index Measure (SSIM) and Universal Quality Index (UQI) are taken as performance measures. Results of performance evaluation of various filters have been shown qualitatively as well as quantitatively. The figure 3.16 shows a few test images used in study. 80

Test Corners Test Pattern Lena Cameraman Figure 3.16: Shows a few test images used for simulation along with their names 81

3.4.1 Visual Results of Various Filters on Images Corrupted With Salt and Pepper Noise 3.4.1.1 Test_corners Image Results I. Filtering performance of various filters operated on Test_corners image corrupted with salt and pepper noise of density=0.05 Figure 3.17: (a) Original Image (b) Noisy image (c) Mean (d) Disk (e) Gaussian (f) II. Filtering performance of various filters operated on Test_corners image corrupted with salt and pepper noise of density=0.1 Figure 3.18: (a) Original Image (b) Noisy image (c) Mean (d) Disk (e) Gaussian (f) 82

III. Filtering performance of various filters operated on Test_corners image corrupted with salt and pepper noise of density=0.25 Figure 3.19: (a) Original Image (b) Noisy image (c) Mean (d) Disk (e) Gaussian (f) IV. Filtering performance of various filters operated on Test_corners image corrupted with salt and pepper noise of density=0.5 Figure 3.20: (a) Original Image (b) Noisy image (c) Mean (d) Disk (e) Gaussian (f) 83

3.4.1.2 Test_pattern Image Results I. Filtering performance of various filters operated on Test_pattern image corrupted with salt and pepper noise of density=0.05 Figure 3.21: (a) Original Image (b) Noisy image (c) Mean (d) Disk (e) Gaussian (f) II. Filtering performance of various filters operated on Test_pattern image corrupted with salt and pepper noise of density=0.1 Figure 3.22: (a) Original Image (b) Noisy image (c) Mean (d) Disk (e) Gaussian (f) 84

III. Filtering performance of various filters operated on Test_pattern image corrupted with salt and pepper noise of density=0.25 Figure 3.23: (a) Original Image (b) Noisy image (c) Mean (d) Disk (e) Gaussian (f) IV. Filtering performance of various filters operated on Test_pattern image corrupted with salt and pepper noise of density=0.5 Figure 3.24: (a) Original Image (b) Noisy image (c) Mean (d) Disk (e) Gaussian (f) 85

3.4.1.3 Lena Image Results I. Filtering performance of various filters operated on Lena image corrupted with salt and pepper noise of density=0.05 Figure 3.25: (a) Original Image (b) Noisy image (c) Mean (d) Disk (e) Gaussian (f) II. Filtering performance of various filters operated on Lena image corrupted with salt and pepper noise of density=0.1 Figure 3.26: (a) Original Image (b) Noisy image (c) Mean (d) Disk (e) Gaussian (f) 86

III. Filtering performance of various filters operated on Lena image corrupted with salt and pepper noise of density=0.25 Figure 3.27: (a) Original Image (b) Noisy image (c) Mean (d) Disk (e) Gaussian (f) IV. Filtering performance of various filters operated on Lena image corrupted with salt and pepper noise of density=0.5 Figure 3.28: (a) Original Image (b) Noisy image (c) Mean (d) Disk (e) Gaussian (f) 87

3.4.1.4 Cameraman Image Results I. Filtering performance of various filters operated on Cameraman Image corrupted with salt and pepper noise of density=0.05 Figure 3.29: (a) Original Image (b) Noisy image (c) Mean (d) Disk (e) Gaussian (f) II. Filtering performance of various filters operated on Cameraman image corrupted with salt and pepper noise of density=0.1 Figure 3.30: (a) Original Image (b) Noisy image (c) Mean (d) Disk (e) Gaussian (f) 88

III. Filtering performance of various filters operated on Cameraman image corrupted with salt and pepper noise of density=0.25 Figure 3.31: (a) Original Image (b) Noisy image (c) Mean (d) Disk (e) Gaussian (f) IV. Filtering performance of various filters operated on Cameraman image corrupted with salt and pepper noise of density=0.5 Figure 3.32: (a) Original Image (b) Noisy image (c) Mean (d) Disk (e) Gaussian (f) 89

3.4.2 Visual Results of Different Filters on Images Corrupted with Gaussian noise 3.4.2.1 Test_corners Image Results I. Filtering performance of various filters operated on Test_corners image corrupted with Gaussian noise of variance =0.05 Figure 3.33: (a) Original Image (b) Noisy image (c) Mean (d) Disk (e) Gaussian (f) II. Filtering performance of various filters operated on Test_corners image corrupted with Gaussian noise of variance =0.1 Figure 3.34: (a) Original Image (b) Noisy image (c) Mean (d) Disk (e) Gaussian (f) 90

III. Filtering performance of various filters operated on Test_corners image corrupted Gaussian noise of variance =0.25 Figure 3.35: (a) Original Image (b) Noisy image (c) Mean (d) Disk (e) Gaussian (f) IV. Filtering performance of various filters operated on Test_corners image corrupted with Gaussian noise of variance =0.5 Figure 3.36: (a) Original Image (b) Noisy image (c) Mean (d) Disk (e) Gaussian (f) 91

3.4.2.2 Test_pattern Image Results I. Filtering performance of various filters operated on Test_pattern image corrupted with Gaussian noise of variance =0.05 Figure 3.37: (a) Original Image (b) Noisy image (c) Mean (d) Disk (e) Gaussian (f) II. Filtering performance of various filters operated on Test_pattern image corrupted with Gaussian noise of variance =0.1 Figure 3.38: (a) Original Image (b) Noisy image (c) Mean (d) Disk (e) Gaussian (f) 92

III. Filtering performance of various filters operated on Test_pattern image corrupted with Gaussian noise of variance =0.25 Figure 3.39: (a) Original Image (b) Noisy image (c) Mean (d) Disk (e) Gaussian (f) IV. Filtering performance of various filters operated on Test_pattern image corrupted with Gaussian noise of variance =0.5 Figure 3.40: (a) Original Image (b) Noisy image (c) Mean (d) Disk (e) Gaussian (f) 93

3.4.2.3 Lena Image Results I. Filtering performance of various filters operated on Lena image corrupted with Gaussian noise of variance =0.05 Figure 3.41: (a) Original Image (b) Noisy image (c) Mean (d) Disk (e) Gaussian (f) II. Filtering performance of various filters operated on Lena image corrupted with Gaussian noise of variance =0.1 Figure 3.42: (a) Original Image (b) Noisy image (c) Mean (d) Disk (e) Gaussian (f) 94

III. Filtering performance of various filters operated on Lena image corrupted with Gaussian noise of variance =0.25 Figure 3.43: (a) Original Image (b) Noisy image (c) Mean (d) Disk (e) Gaussian (f) IV. Filtering performance of various filters operated on Lena image corrupted with Gaussian noise of variance =0.5 Figure 3.44: (a) Original Image (b) Noisy image (c) Mean (d) Disk (e) Gaussian (f) 95

3.4.2.4 Cameraman Image Results I. Filtering performance of various filters operated on Cameraman Image corrupted with Gaussian noise of variance=0.05 Figure 3.45: (a) Original Image (b) Noisy image (c) Mean (d) Disk (e) Gaussian (f) II. Filtering performance of various filters operated on Cameraman image corrupted with Gaussian noise of variance=0.1 Figure 3.46: (a) Original Image (b) Noisy image (c) Mean (d) Disk (e) Gaussian (f) 96

III. Filtering performance of various filters operated on Cameraman image corrupted with Gaussian noise of variance=0.25 Figure 3.47: (a) Original Image (b) Noisy image (c) Mean (d) Disk (e) Gaussian (f) IV. Filtering performance of various filters operated on Cameraman image corrupted with Gaussian noise of variance=0.5 Figure 3.48: (a) Original Image (b) Noisy image (c) Mean (d) Disk (e) Gaussian (f) 97

3.4.3 Quantitative Results of Different Filters on Images Corrupted With Gaussian Noise 3.4.3.1 Cameraman Image Results Table 3.1: Results of different quantitative parameters for Cameraman image with Gaussian noise of variance=0.05 Average 426.8875 21.8277 0.5709 0.9638 0.9581 Disk 755.8718 19.3463 0.5784 0.9138 0.9037 Gaussian 445.9232 21.6382 0.4394 0.9637 0.9587 Laplacian 1.4102e+004 6.6380-0.0534-0.0939-0.0543 LoG 1.4872e+004 6.4071-0.0701-0.1229-0.0906 Unsharp 6.9562e+003 9.7071 0.1248 0.5249 0.4775 Median 397.3887 22.1386 0.5193 0.9675 0.9629 Wiener 369.4961 22.4547 0.5821 0.9727 0.9669 Lee 448.4305 21.6139 0.5709 0.9613 0.9556 Frost 479.1566 21.3260 0.4388 0.9599 0.9543 Table 3.2: Results of different quantitative parameters for Cameraman image with Gaussian noise of variance=0.1 Average 890.6357 18.6338 0.5462 0.9630 0.9454 Disk 1.1830e+003 17.4010 0.5533 0.9110 0.8914 Gaussian 923.0924 18.4784 0.4171 0.9635 0.9459 Laplacian 1.4269e+004 6.5868-0.0548-0.1069-0.0624 LoG 1.5175e+004 6.3195-0.0699-0.1337-0.0986 Unsharp 7.2368e+003 9.5353 0.1201 0.5224 0.4719 Median 876.7766 18.7019 0.4959 0.9675 0.9500 Wiener 840.0562 18.8877 0.5566 0.9727 0.9545 Lee 921.1032 18.4877 0.5461 0.9597 0.9421 Frost 960.5062 18.3058 0.4216 0.9604 0.9422 Table 3.3: Results of different quantitative parameters for Cameraman image with Gaussian noise of variance=0.25 Average 4.0224e+003 12.0859 0.5055 0.9583 0.8802 Disk 4.1765e+003 11.9227 0.4926 0.8996 0.8252 Gaussian 4.0736e+003 12.0311 0.3927 0.9632 0.8847 Laplacian 1.4883e+004 6.4040-0.0559-0.1558-0.0867 LoG 1.5805e+004 6.1428-0.0700-0.1756-0.1246 Unsharp 8.3109e+003 8.9343 0.1183 0.5485 0.4820 Median 4.2163e+003 11.8815 0.4449 0.9662 0.8848 Wiener 4.0179e+003 12.0908 0.5124 0.9705 0.8900 Lee 4.1255e+003 11.9760 0.4993 0.9432 0.8667 Frost 4.1565e+003 11.9435 0.3948 0.9597 0.8798 98

Table 3.4: Results of different quantitative parameters for Cameraman image with Gaussian noise of variance=0.5 Average 1.1422e+004 7.5535 0.5191 0.9225 0.7261 Disk 1.1347e+004 7.5820 0.4392 0.8418 0.6577 Gaussian 1.1466e+004 7.5367 0.5223 0.9413 0.7450 Laplacian 1.7917e+004 5.5982-0.0499-0.4079-0.1170 LoG 1.8985e+004 5.3467-0.0627-0.4274-0.1817 Unsharp 1.2171e+004 7.2775 0.2739 0.6626 0.5552 Median 1.2048e+004 7.3216 0.5212 0.9344 0.7355 Wiener 1.1346e+004 7.5973 0.5202 0.9435 0.7378 Lee 1.7152e+004 5.7877 0.1243-0.1283-0.1103 Frost 1.1608e+004 7.4833 0.4983 0.9385 0.7366 3.4.3.2 Lena Image Results Table 3.5: Results of different quantitative parameters for Lena with Gaussian noise of variance=0.05 Average 304.2763 23.2981 0.6587 0.9511 0.9467 Disk 440.5853 21.6905 0.6603 0.8964 0.8870 Gaussian 432.5781 21.7702 0.4614 0.9227 0.9171 Laplacian 1.1989e+004 7.3429-0.0292-0.0791-0.0429 LoG 1.2467e+004 7.1730-0.0402-0.0978-0.0603 Unsharp 7.4847e+003 9.3891 0.0822 0.3649 0.2709 Median 316.6966 23.1244 0.5937 0.9497 0.9454 Wiener 291.7856 23.4802 0.6595 0.9564 0.9518 Lee 361.9421 22.5444 0.6585 0.9349 0.9307 Frost 385.2458 22.2734 0.5078 0.9343 0.9296 Table 3.6: Results of different quantitative parameters for Lena with Gaussian noise of variance=0.1 Average 777.0128 19.2265 0.6503 0.9498 0.9335 Disk 878.0488 18.6956 0.6500 0.8917 0.8728 Gaussian 915.7030 18.5133 0.4526 0.9227 0.9050 Laplacian 1.1986e+004 7.3440-0.0281-0.0755-0.0409 LoG 1.2490e+004 7.1650-0.0390-0.0946-0.0583 Unsharp 7.7388e+003 9.2440 0.0807 0.3658 0.2698 Median 802.7483 19.0850 0.5848 0.9494 0.9327 Wiener 768.4559 19.2746 0.6511 0.9566 0.9398 Lee 834.3511 18.9173 0.6502 0.9357 0.9195 Frost 876.9656 18.7010 0.4987 0.9344 0.9173 99

Table 3.7: Results of different quantitative parameters for Lena with Gaussian noise of variance=0.25 Average 3.9895e+003 12.1216 0.6167 0.9412 0.8653 Disk 3.9733e+003 12.1393 0.6006 0.8660 0.7945 Gaussian 4.1414e+003 11.9594 0.4377 0.9220 0.8476 Laplacian 1.2433e+004 7.1851-0.0307-0.1319-0.0687 LoG 1.2982e+004 6.9974-0.0414-0.1491-0.0893 Unsharp 8.7701e+003 8.7008 0.0845 0.3933 0.2871 Median 4.1538e+003 11.9463 0.5548 0.9504 0.8720 Wiener 3.9708e+003 12.1606 0.6174 0.9553 0.8768 Lee 4.0921e+003 12.0114 0.6053 0.9123 0.8392 Frost 4.1461e+003 11.9544 0.4796 0.9335 0.8569 Table 3.8: Results of different quantitative parameters for Lena with Gaussian noise of variance=0.5 Average 1.2648e+004 7.1106 0.5464 0.8380 0.6263 Disk 1.2380e+004 7.2037 0.4963 0.7003 0.5322 Gaussian 1.2308e+004 7.2614 0.5033 0.8486 0.6410 Laplacian 1.4666e+004 6.4678-0.0326-0.3479-0.1204 LoG 1.5238e+004 6.3016-0.0421-0.3606-0.1594 Unsharp 1.2525e+004 7.1530 0.1753 0.4853 0.3691 Median 1.3416e+004 6.8546 0.5134 0.8602 0.6403 Wiener 1.2757e+004 7.0731 0.5470 0.8913 0.6478 Lee 1.6321e+004 6.0033 0.2419-0.3319-0.2362 Frost 1.2885e+004 7.0301 0.4806 0.8662 0.6384 3.4.3.3 Test_pattern Image Results Table 3.9: Results of different quantitative parameters for Test_pattern image with Gaussian noise of variance=0.05 Average 1.0034e+003 18.1159 0.7506 0.9010 0.8887 Disk 1.6666e+003 15.9126 0.7218 0.8252 0.7874 Gaussian 407.5132 22.0294 0.6928 0.9662 0.9608 Laplacian 4.1922e+004 1.9064-0.0537-0.3614-0.1055 LoG 4.0638e+004 2.0415-0.0858-0.3470-0.1370 Unsharp 3.9250e+003 12.1924 0.3792 0.6897 0.6795 Median 1.0049e+003 18.1097 0.6130 0.9149 0.9104 Wiener 309.5918 23.2229 0.7939 0.9777 0.9714 Lee 1.1121e+003 17.6692 0.7308 0.8874 0.8769 Frost 1.1889e+003 17.3793 0.7355 0.8800 0.8710 100

Table 3.10: Results of different quantitative parameters for Test_pattern image with Gaussian noise of variance=0.1 Average 1.1767e+003 17.4243 0.7910 0.9007 0.8852 Disk 1.8366e+003 15.4907 0.7225 0.8223 0.7814 Gaussian 560.7404 20.6432 0.7523 0.9694 0.9606 Laplacian 4.3941e+004 1.7021-0.0582-0.4354-0.1033 LoG 4.3086e+004 1.7875-0.0899-0.4263-0.1395 Unsharp 2.8501e+003 13.5823 0.4071 0.7471 0.7433 Median 1.2869e+003 17.0354 0.7116 0.9199 0.9105 Wiener 512.5355 21.0336 0.8326 0.9755 0.9659 Lee 1.7847e+003 15.6152 0.6684 0.8238 0.8173 Frost 1.3461e+003 16.8400 0.7819 0.8826 0.8701 Table 3.11: Results of different quantitative parameters for Test_pattern image with Gaussian noise of variance=0.25 Average 1.8082e+003 15.5584 0.8594 0.8970 0.8500 Disk 2.4797e+003 14.1867 0.7127 0.8104 0.7324 Gaussian 1.1996e+003 17.3404 0.8991 0.9720 0.9338 Laplacian 4.9087e+004 1.2211-0.0615-0.6237-0.0616 LoG 4.9536e+004 1.1816-0.0841-0.6609-0.0895 Unsharp 1.6365e+003 15.9915 0.6785 0.8913 0.8836 Median 1.7927e+003 15.5956 0.8196 0.9227 0.8816 Wiener 1.3068e+003 16.9689 0.8916 0.9610 0.9197 Lee 2.5738e+004 4.0250 0.0111 0.0677 0.0513 Frost 1.9186e+003 15.3010 0.8688 0.8849 0.8420 Table 3.12: Results of different quantitative parameters for Test_pattern image with Gaussian noise of variance=0.5 Average 2.9963e+003 13.3650 0.7971 0.8809 0.6949 Disk 3.6050e+003 12.5618 0.6742 0.7685 0.5672 Gaussian 2.3850e+003 14.7255 0.8441 0.9635 0.7799 Laplacian 4.9509e+004 1.1839-0.0570-0.6358-0.0432 LoG 5.0207e+004 1.1232-0.0793-0.6861-0.0660 Unsharp 2.4019e+003 14.3252 0.9036 0.8457 0.8177 Median 2.9699e+003 13.4034 0.7610 0.9161 0.7278 Wiener 2.8731e+003 13.5473 0.8039 0.9159 0.7188 Lee 4.5572e+004 1.5439-0.1135-0.4827-0.1538 Frost 3.0437e+003 13.2968 0.8072 0.8787 0.6953 101

3.4.3.4 Test_corners Image Results Table 3.13: Results of different quantitative parameters for Test_corners Image with Gaussian noise of variance=0.05 Average 536.8096 20.8326 0.3431 0.9837 0.9677 Disk 1.0171e+003 18.0573 0.3712 0.9608 0.9394 Gaussian 430.9117 21.7869 0.2566 0.9884 0.9736 Laplacian 1.5202e+004 6.3119-0.0276-0.1159-0.0619 LoG 1.6334e+004 5.9999-0.0363-0.1341-0.1029 Unsharp 5.4680e+003 10.7526 0.0971 0.7567 0.7291 Median 309.5209 23.2239 0.3526 0.9912 0.9810 Wiener 313.2737 23.1716 0.3701 0.9950 0.9798 Lee 895.6420 18.6095 0.2895 0.9628 0.9484 Frost 516.4448 21.0006 0.2789 0.9847 0.9688 Table 3.14: Results of different quantitative parameters for Test_corners Image with Gaussian noise of variance=0.1 Average 922.3457 18.4819 0.3392 0.9820 0.9446 Disk 1.3951e+003 16.6848 0.3579 0.9591 0.9168 Gaussian 838.0480 18.8981 0.2638 0.9855 0.9495 Laplacian 1.6153e+004 6.0483-0.0275-0.1892-0.1087 LoG 1.7992e+004 5.5801-0.0356-0.2058-0.1676 Unsharp 6.5087e+003 9.9958 0.1060 0.7388 0.6893 Median 726.8147 19.5166 0.3392 0.9893 0.9556 Wiener 704.1591 19.6541 0.3645 0.9932 0.9564 Lee 2.4617e+003 14.2184 0.2401 0.8835 0.8593 Frost 916.5390 18.5093 0.2832 0.9827 0.9451 Table 3.15: Results of different quantitative parameters for Test_corners Image with Gaussian noise of variance=0.25 Average 3.5579e+003 12.6189 0.3285 0.9721 0.8319 Disk 3.9979e+003 12.1125 0.3277 0.9480 0.8035 Gaussian 3.5055e+003 12.6834 0.2853 0.9733 0.8361 Laplacian 1.7727e+004 5.6445-0.0250-0.2750-0.1621 LoG 2.0255e+004 5.0654-0.0329-0.2870-0.2359 Unsharp 9.6844e+003 8.2701 0.1855 0.6979 0.5945 Median 3.4516e+003 12.7506 0.3324 0.9796 0.8404 Wiener 3.3675e+003 12.8578 0.3493 0.9828 0.8427 Lee 1.1945e+004 7.3589 0.1394 0.2502 0.2329 Frost 3.5928e+003 12.5765 0.2936 0.9717 0.8315 102

Table 3.16: Results of different quantitative parameters for Test_corners Image with Gaussian noise of variance=0.5 Average 1.2352e+004 7.2135 0.3116 0.9364 0.5908 Disk 1.2610e+004 7.1238 0.2941 0.9068 0.5628 Gaussian 1.2358e+004 7.2113 0.2984 0.9334 0.5956 Laplacian 1.8123e+004 5.5484-0.0205-0.3358-0.1707 LoG 2.0645e+004 4.9827-0.0290-0.3470-0.2593 Unsharp 1.6562e+004 5.9396 0.2534 0.6054 0.4453 Median 1.2370e+004 7.2071 0.3204 0.9440 0.6002 Wiener 1.2322e+004 7.2240 0.3169 0.9424 0.5945 Lee 2.4563e+004 4.2280 0.0487-0.5203-0.4556 Frost 1.2467e+004 7.1733 0.2976 0.9354 0.5907 103

3.4.4 Quantitative Results of Different Filters on Images Corrupted with Salt and Pepper Noise 3.4.4.1 Cameraman Image Results Table 3.17: Results of different quantitative parameters for Cameraman Image with salt and pepper noise density=0.05 Average 325.8947 23.0000 0.5617 0.9577 0.9548 Disk 651.6573 19.9906 0.5959 0.9150 0.9031 Gaussian 449.9483 21.5992 0.4829 0.9414 0.9413 Laplacian 1.6837e+004 5.8682-0.0521-0.1899-0.0689 LoG 1.7415e+004 5.7216-0.0830-0.2892-0.1398 Unsharp 2.5256e+003 14.1072 0.2849 0.7991 0.7669 Median 139.9153 26.6722 0.8686 0.9819 0.9818 Wiener 348.7699 22.7054 0.5439 0.9542 0.9524 Lee 355.0574 22.6278 0.5612 0.9536 0.9509 Frost 413.6059 21.9649 0.4534 0.9454 0.9442 Table 3.18: Results of different quantitative parameters for Cameraman Image with salt and pepper noise density=0.1 Average 469.8738 21.4110 0.4273 0.9386 0.9329 Disk 705.8064 19.6439 0.5579 0.9104 0.8907 Gaussian 885.3023 18.6599 0.3244 0.8855 0.8854 Laplacian 1.6778e+004 5.8834-0.0513-0.1849-0.0980 LoG 1.7734e+004 5.6427-0.0770-0.2977-0.1877 Unsharp 4.0709e+003 12.0339 0.1943 0.7116 0.6643 Median 170.5271 25.8129 0.8613 0.9779 0.9779 Wiener 615.6147 20.2377 0.3922 0.9175 0.9153 Lee 503.8844 21.1075 0.4271 0.9336 0.9283 Frost 700.0991 19.6792 0.3163 0.9063 0.9046 Table 3.19: Results of different quantitative parameters for Cameraman Image with salt and pepper noise density=0.25 Average 1.0025e+003 18.1198 0.2558 0.8636 0.8434 Disk 957.3305 18.3202 0.4790 0.8945 0.8315 Gaussian 2.2894e+003 14.5336 0.1643 0.7123 0.7121 Laplacian 1.7670e+004 5.6583-0.0417-0.2100-0.1605 LoG 1.9816e+004 5.1607-0.0589-0.3434-0.2757 Unsharp 7.9655e+003 9.1187 0.1061 0.5393 0.4717 Median 379.5234 22.3384 0.7521 0.9515 0.9514 Wiener 1.9330e+003 15.2685 0.1860 0.7426 0.7420 Lee 1.0149e+003 18.0667 0.2558 0.8617 0.8416 Frost 1.6639e+003 15.9195 0.1716 0.7706 0.7676 104

Table 3.20: Results of different quantitative parameters for Cameraman Image with salt and pepper noise density=0.5 Average 2.2228e+003 14.6618 0.1426 0.6582 0.6173 Disk 1.6905e+003 15.8507 0.3932 0.8275 0.6485 Gaussian 4.8410e+003 11.2815 0.0799 0.4390 0.4368 Laplacian 1.9609e+004 5.2063-0.0274-0.2021-0.1674 LoG 2.2096e+004 4.6876-0.0363-0.3027-0.2489 Unsharp 1.2779e+004 7.0658 0.0530 0.3369 0.2787 Median 1.6820e+003 15.8753 0.4240 0.8373 0.7300 Wiener 5.4252e+003 10.7866 0.0733 0.4126 0.4078 Lee 2.2307e+003 14.6464 0.1426 0.6570 0.6162 Frost 3.5154e+003 12.6710 0.0890 0.5119 0.5095 3.4.4.2 Lena Image Results Table 3.21: Results of different quantitative parameters for Lena image with salt and pepper noise density=0.05 Average 192.0504 25.2967 0.6372 0.9413 0.9398 Disk 332.0023 22.9194 0.6590 0.8985 0.8857 Gaussian 387.5958 22.2470 0.4942 0.8905 0.8897 Laplacian 1.4708e+004 6.4553-0.0308-0.1554-0.0500 LoG 1.4602e+004 6.4866-0.0575-0.2414-0.0965 Unsharp 2.4801e+003 14.1860 0.2533 0.6907 0.6097 Median 48.9744 31.2311 0.9235 0.9854 0.9853 Wiener 205.1260 25.0106 0.6245 0.9373 0.9363 Lee 263.5656 23.9219 0.6185 0.9193 0.9184 Frost 297.1659 23.4008 0.5077 0.9109 0.9108 Table 3.22: Results of different quantitative parameters for Lena image with salt and pepper noise density=0.1 Average 303.4512 23.3099 0.5059 0.9058 0.9037 Disk 363.0739 22.5309 0.6386 0.8898 0.8706 Gaussian 762.0094 19.3112 0.3241 0.7996 0.7958 Laplacian 1.4347e+004 6.5632-0.0293-0.1502-0.0682 LoG 1.4471e+004 6.5258-0.0505-0.2325-0.1193 Unsharp 4.0593e+003 12.0463 0.1560 0.5888 0.4833 Median 65.3641 29.9774 0.9135 0.9805 0.9804 Wiener 384.4256 22.2827 0.4694 0.8825 0.8820 Lee 374.9766 22.3908 0.4971 0.8839 0.8825 Frost 540.2601 20.8048 0.3560 0.8423 0.8422 105

Table 3.23: Results of different quantitative parameters for Lena image with salt and pepper noise density=0.25 Average 679.2178 19.8107 0.3128 0.7830 0.7792 Disk 482.4604 21.2962 0.5817 0.8585 0.8087 Gaussian 1.9156e+003 15.3078 0.1581 0.5822 0.5658 Laplacian 1.4347e+004 6.5632-0.0230-0.1557-0.0947 LoG 1.5214e+004 6.3085-0.0373-0.2397-0.1499 Unsharp 7.8207e+003 9.1984 0.0792 0.4295 0.3062 Median 200.8450 25.1022 0.8135 0.9416 0.9415 Wiener 1.3467e+003 16.8382 0.2135 0.6486 0.6446 Lee 705.4516 19.6461 0.3117 0.7748 0.7713 Frost 1.3005e+003 16.9897 0.1931 0.6540 0.6511 Table 3.24: Results of different quantitative parameters for Lena image with salt and pepper noise density=0.5 Average 1.4648e+003 16.4731 0.1682 0.5243 0.5210 Disk 828.0518 18.9502 0.4833 0.7423 0.6216 Gaussian 3.9942e+003 12.1165 0.0672 0.3195 0.2925 Laplacian 1.5775e+004 6.1511-0.0145-0.1403-0.0888 LoG 1.7129e+004 5.7936-0.0222-0.2093-0.1307 Unsharp 1.2249e+004 7.2498 0.0374 0.2737 0.1737 Median 1.9411e+003 15.2502 0.2481 0.6293 0.5994 Wiener 4.2712e+003 11.8253 0.0643 0.3068 0.2771 Lee 1.4851e+003 16.4133 0.1682 0.5200 0.5168 Frost 2.7136e+003 13.7953 0.0902 0.3810 0.3719 3.4.4.3 Test_pattern Image Results Table 3.25: Results of different quantitative parameters for Test_pattern with salt and pepper noise density=0.05 Average 1.0632e+003 17.8646 0.6109 0.8897 0.8798 Disk 1.6615e+003 15.9258 0.6912 0.8257 0.7881 Gaussian 745.4486 19.4066 0.5430 0.9244 0.9230 Laplacian 4.8196e+004 1.3007-0.0582-0.4232-0.0633 LoG 4.8577e+004 1.2665-0.0817-0.5099-0.0888 Unsharp 1.4870e+003 16.4077 0.5495 0.8708 0.8663 Median 575.3574 20.5314 0.5835 0.9423 0.9407 Wiener 840.5798 18.8850 0.8828 0.9136 0.9124 Lee 2.8528e+004 3.5780 0.0466 0.1535 0.0997 Frost 1.3877e+003 16.7077 0.5889 0.8526 0.8476 106

Table 3.26: Results of different quantitative parameters for Test_pattern with salt and pepper noise density=0.1 Average 1.3072e+003 16.9672 0.4859 0.8680 0.8533 Disk 1.7939e+003 15.5929 0.6381 0.8213 0.7704 Gaussian 1.3946e+003 16.6865 0.4267 0.8625 0.8612 Laplacian 4.6876e+004 1.4213-0.0682-0.3684-0.0827 LoG 4.7572e+004 1.3573-0.0943-0.4627-0.1142 Unsharp 2.9715e+003 13.4011 0.4251 0.7688 0.7564 Median 911.1087 18.5351 0.8825 0.9062 0.9052 Wiener 1.1952e+003 17.3563 0.4540 0.8828 0.8813 Lee 1.8546e+004 5.4482 0.0942 0.2620 0.2162 Frost 1.7973e+003 15.5847 0.4668 0.8116 0.8057 Table 3.27: Results of different quantitative parameters for Test_pattern with salt and pepper noise density=0.25 Average 2.2866e+003 14.5389 0.3432 0.7922 0.7602 Disk 2.4514e+003 14.2367 0.5333 0.8045 0.7032 Gaussian 3.5093e+003 12.6785 0.3002 0.6904 0.6868 Laplacian 4.3658e+004 1.7302-0.0835-0.2924-0.1148 LoG 4.5058e+004 1.5930-0.1119-0.3908-0.1587 Unsharp 7.2586e+003 9.5223 0.2876 0.5556 0.5233 Median 1.2919e+003 17.0186 0.7897 0.8679 0.8676 Wiener 3.6584e+003 12.4979 0.3068 0.6858 0.6818 Lee 5.9814e+003 10.3628 0.2044 0.5293 0.5196 Frost 3.2407e+003 13.0244 0.3294 0.6850 0.6762 Table 3.28: Results of different quantitative parameters for Test_pattern with salt and pepper noise density=0.5 Average 4.7899e+003 11.3275 0.2268 0.6056 0.5451 Disk 4.4313e+003 11.6655 0.4104 0.7442 0.5228 Gaussian 7.5680e+003 9.3410 0.1934 0.4356 0.4252 Laplacian 3.9044e+004 2.2153-0.0836-0.2122-0.1196 LoG 4.0238e+004 2.0844-0.1043-0.2789-0.1590 Unsharp 1.4049e+004 6.6543 0.1808 0.3265 0.2866 Median 4.2097e+003 11.8883 0.4271 0.7459.6596 Wiener 8.9993e+003 8.5887 0.1904 0.3970 0.3819 Lee 5.1072e+003 11.0490 0.2136 0.5759 0.5231 Frost 6.3597e+003 10.0964 0.2168 0.4593 0.4451 107