SlideShare a Scribd company logo
[February 2012]
   Comparative study of Salt & Pepper filters and Gaussian filters
                                           By

                                     Ankush Srivastava
                    [Email: anksrizzz@gmail.com, anksri000@gmail.com]

Abstract: This article attempts to           integers, called pixels, representing a
undertake the study of two types of          physical quantity such as scene
noise such as Salt & Pepper Noise and        radiance, stored in a digital memory,
Gaussian Noise. Different noise have         and processed by computer or other
been removed by using various type           digital hardware [25]. The importance
of filters as Minimum Filter, Maximum        of image sequence processing is
Filter, Mean Filter, Rank Order Filter,      constantly growing with the ever
Median Filter, Blur Method, Gaussian         increasing use of digital television and
Filter and Weight Median Filter. The         video     systems      in     consumer,
comparative study is conducted with          commercial,         medical,         and
the help of Peak Signal to Noise Ratio       communicational applications. Digital
(PSNR).                                      image      processing      has     many
                                             advantages over analog image
Introduction:        Digital       image     processing; it allows a much wider
processing is a rapidly evolving field       range of algorithms to be applied to
with growing application in science          the input data and can avoid problems
and     engineering      [1].    Various     such as build-up of noise and signal
techniques have been developed in            distortion during processing. So noise
Image Processing during the last four        cancellation/filtering       are      an
to five decades. Image processing            important task in image processing.
holds the possibility of developing the
ultimate machine that could perform          Image Noise: Noise represents
the visual functions of all living being.    unwanted        information      which
The primary purpose of image                 deteriorates image quality. It is
processing is to convert image into          defined as a process which affects the
valuable information [7]. The term           acquired image and is not part of the
digital image processing generally           sense. Noise is introduced into images
refers to processing of a two-               usually while transferring and
dimensional picture by the digital           acquiring them.
computer      [1].     Digital     image
processing is a subset of the electronic     Types of Noise: The main type of
domain wherein the image is                  noise added while image acquisition
converted to an array of small               is called Gaussian noise while
Impulsive     noise     is    generally  ideally should smooth the distinct
introduced while transmitting image      parts of the image. A universal noise
data over an unsecure communication      removing scheme is implemented
channel, while it can also be added by   which weighs each pixel with respect
acquiring.                               to its neighborhood and deals with
                                         Gaussian noise. Such noise is usually
Salt & Pepper Noise: The salt and introduced during image acquisition.
pepper noise is caused by sharp,
sudden disturbances in the image Filters: Various techniques are
signal; its appearance is randomly employed for the removal of these
scattered white or black (or both) types of noise based on the properties
pixels over the image [25]. Salt & of their respective noise models.
Pepper Noise or impulse noise Image filtering is not only used to
generally is digitized as extreme (pure improve image quality but also is used
white or black) values in an image. An as a preprocessing stage in many
image containing salt-and-pepper applications             including      image
noise will have dark pixels in bright encoding, pattern recognition, image
regions and bright pixels in dark compression and target tracking, to
regions. This type of noise can be name a few. General-purpose image
caused by dead pixels, analog-to- filters lack the flexibility and
digital converter errors, and bit errors adaptability of un-modeled noise
in transmission. In the case of types.
impulsive noise removal, the aim of Noise reduction is a two-step process:
optimal filtering is to design noise 1) Noise detection and
reduction algorithms that would 2) Noise replacement.
affect only corrupted image pixels, In first step location of noise is
whereas the undistorted image pixels identified and in second step detected
should be invariant under the filtering noisy pixels are replaced by estimated
operation. Thus, an impulse detector value. Efficiency of noise reduction
can be employed to classify each pixel algorithm depends on both noise
in the noisy images as noise or not detection and noise replacement.
prior to filtering.
                                         Salt & Pepper Noise Removal
Gaussian Noise: Gaussian noise is a
set of values taken from a zero mean Noise detection: if the intensity value
Gaussian distribution which are of pixel is less than or equal to 0 then
added to each pixel value. Impulsive there is Pepper noise and if the
noise involves changing a part of the intensity value of pixel is greater than
pixel values with random ones. or equal to 255 then there is Salt noise
Gaussian Noise removal algorithms
[17]. These pixels are being
processed.
Intensity value of pixel at position (x,
y) ={




                                           Histogram of corrupted image

                                           Minimum Filtering: Minimum filter
                                           removes the white (salt) dots because
                                           any single white pixel within the
                                           selected filter region is replaced by
                                           one of its surrounding pixels with a
Original Image                             smaller value [2], [5].
                                           I’ (u, v) ← min {I (u+i, v+j) | (i, j) ∈ R}
                                           Steps:
                                           1. Put pixel value of surrounding (of
                                               noisy pixel) pixels in a single dim
                                               array.
                                           2. Sort this array in ascending order.
                                           3. The noisy pixel value is replays by
                                               first element of the sorted array.

Histogram of Original Image




                                              Applying Minimum Algorithm

Image corrupted by Salt & Pepper Noise
Histogram
Histogram
                                              Mean Filtering: In mean filtering, we
Maximum Filtering: Minimum filter             replace the desired pixel intensity
removes the black (pepper) dots               with the arithmetic mean of its
because any single black pixel within         surrounding pixel’s intensity value
the selected filter region is replaced        [5].
by one of its surrounding pixels with a       Steps:
greatest value [2], [5].                      1. Take the arithmetic mean of
I’ (u, v) ← max {I (u+i, v+j) | (i, j) ∈ R}      surrounding (of noisy pixel) pixel
Steps:                                           values.
1. Put pixel values of surrounding (of        2. The noisy pixel value is replays by
    noisy pixel) pixels in a single dim          the resulted arithmetic mean of its
    array                                        surrounding pixels.
2. Sort this array in ascending order.
3. The noisy pixel value is replays by
    last element of the sorted array.




                                              Applying Mean Algorithm


Applying Maximum Algorithm
Histogram                                    Histogram

Rank Order Filtering: In rank order          Median Filtering: In median filtering,
filtering, first we sort the surrounding     first we sort the surrounding pixels of
pixels of desired pixel behalf of its        desired pixel behalf of its intensity
intensity value then desired pixel will      value then desired pixel will be
be replaced by as per user define            replaced by middle element of sorted
order [23].                                  pixel values [2], [5].
Steps:                                       I’ (u, v) ← mid {I (u+i, v+j) | (i, j) ∈ R}
1. Put pixel values of surrounding (of       Steps:
    noisy pixel) pixels in a single dim      1. Put pixel values of surrounding (of
    array                                        noisy pixel) pixels in a single dim
2. Sort this array in ascending order.           array
3. Take the order ‘r’ of element from        2. Sort this array in ascending order.
    the user.                                3. The noisy pixel value is replays by
                                                 middle element of the sorted array.
The noisy pixel value is replays by rth
element of the sorted array.




                                             Applying Median Algorithm

Applying Rank Order Algorithm with order 2
Applying Proposed Method 1




Histogram
                                         Histogram
Proposed Method 1: In proposed
method 1, first we sort the              Proposed Method 2: In proposed
surrounding pixels of desired pixel      method 2, first we sort the
behalf of its intensity value then we    surrounding pixels of desired pixel
take the arithmetic mean of middle-1,    behalf of its intensity value then we
middle, middle+1 of sorted pixel         take the arithmetic mean of minimum
values and this will replays the         and maximum element of sorted pixel
desired pixel value.                     values and this will replays the
Steps:                                   desired pixel value.
1. Put pixel values of surrounding (of   Steps:
   noisy pixel) pixels in a single dim   1. Put pixel values of surrounding (of
   array                                    noisy pixel) pixels in a single dim
2. Sort this array in ascending order.      array
3. Now take arithmetic mean of           2. Sort this array in ascending order.
   (middle-1),        (middle)     and   3. Now take arithmetic mean of first
   (middle+1) element of the sorted         and last element of the sorted
   array.                                   array.
The noisy pixel value is replays by      The noisy pixel value is replays by
resulted arithmetic mean value.          resulted arithmetic mean value.
Applying Proposed Method 2                  Proposed Method 1 37.3239
                                            Proposed Method 2 34.7473

                                           Gaussian Noise Removal

                                           Noise detection: We compare and
                                           take absolute difference of each pixel
                                           from original image and corrupted
                                           image. If there is any difference then
                                           that pixel is noisy pixel and being
                                           process for the noise removal.
Histogram

Experimental          Results:      The
performance evaluation of the
filtering operation is quantified by the
PSNR (Peak Signal to Noise Ratio) and
MSE (Mean Square Error) calculated
using formula:
PSNR =                  ⁄
                         √
Where MSE is stands for Mean Square
Error and calculated by the following
formula,
       ∑   ∑
MSE =                                Original Image
Where M is with of the image, N is
height of the image, i and j are the
pixel positioning coordinates.
   o PSNR value of noisy image is
      31.4395 dB.
 Filter Type           PSNR value
                       of image (in
                       dB)
 Minimum               32.8731
 Maximum               30.7662       Histogram
 Mean                  37.1102
 Rank Order with 34.4930
 order is 2
 Median                37.3239
Image corrupted by Gaussian Noise          Applying Blur




Histogram                                  Histogram

Blur Method: In blur method, we            Gaussian Filter:
replace the noisy pixel intensity with     In Gaussian Filter, the noisy pixel is
the     arithmetic   mean      of    its   replays by the resulted value of
surrounding pixel’s intensity value.       multiplication of kernel matrix and
Steps:                                     selected region from the image. [2][3]
1. Take the arithmetic mean of             Steps:
   surrounding (of noisy pixel) pixel      1. First we create the kernel matrix
   values.                                    by using he following formula:
2. The noisy pixel value is replays by        K[x, y] =
   the resulted arithmetic mean of its
                                           2. Take addition of all the elements of
   surrounding pixels.
                                              kernel matrix.
                                           3. Multiply the kernel matrix and
                                              selected region of the image and
take the addition of these values in        Steps:
   another variable.                           1. Put pixel values of surrounding (of
4. And divide this value with the                 noisy pixel) pixels in a single dim
   addition of kernel matrix.                     array
5. Now the noisy pixel is replays by           2. Sort this array in ascending order.
   resulted value comes from step 4.           3. The noisy pixel value is replays by
                                                  middle element of the sorted array.




Applying Gaussian Algorithm
                                               Applying Median Algorithm




Histogram
                                               Histogram
Median Filter: In median filtering,
first we sort the surrounding pixels of        Weight Median Filter:
desired pixel behalf of its intensity          In weight median filter, the noisy pixel
value then desired pixel will be               is replays by the middle element of
replaced by middle element of sorted           the sorted array which full of pixel
pixel values. [2][5]                           values [5].
I’ (u, v) ← mid {I (u + i, v + j) | (i, j) ∈   Steps:
R}
1. First we create weight matrix with Experimental           Results:      The
   following values:                   performance evaluation of the
                                       filtering operation is quantified by the
                                       PSNR (Peak Signal to Noise Ratio) and
                                       MSE (Mean Square Error) calculated
2. Put the values of surrounding using formula:
   (noisy pixel) pixels in single dim
   array with the repetitive values PSNR =                      ⁄
                                                                 √
   according to the values of weight
   matrix.                             Where MSE is stands for Mean Square
4. Sort this array in ascending order. Error and calculated by the following
5. The noisy pixel value is replays by formula,
   middle element of the sorted array.         ∑   ∑
                                       MSE =
                                       Where M is with of the image, N is
                                       height of the image, i and j are the
                                       pixel positioning coordinates.

                                           o PSNR value of noisy image is
                                              32.4583 dB.
                                         Filtering Type PSNR value of
                                                          image(in dB)
                                         Blur Method      33.6072
                                         Gaussian         33.1504
                                         Median           33.5380
                                         Weight Median 33.4232
Applying Weight Median Algorithm
                                        Conclusion: This paper highlighted
                                        the noise removal algorithms for gray
                                        scale images as well as color images
                                        corrupted by Salt & Pepper and
                                        Gaussian noise. This work primarily
                                        focuses on comparing the efficiency of
                                        noise removal algorithms. The
                                        comparative study is explained by
                                        with the help of Peak Signal to Noise
                                        Ratio (PSNR). For removing the salt &
Histogram                               Pepper noise we applied various noise
                                        filtering algorithms such as Minimum,
                                        Maximum, Mean, Rank Order and
Median Filters. The Median Filter           Noise from Remote Sensing
produces the correct image as               Image”.
compare to all other filtering 11. Paul Murry and Stephen Marshall,
algorithms. In other side for removing      “A Fast Method for compute the
Gaussian noise we applied Blur              output of rank order filters within
method, Gaussian, Median and Weight         arbitrarily shaped windows”.
Median filtering algorithms and 12. Gajanand Gupta, “Algorithm for
compare these algorithms with help          Image Processing Using Improved
of Peak Signal to Noise Ratio (PSNR)        Median Filter and Comparison of
value.                                      Mean, Median and Improved
                                            Median Filter”.
References:                             13. Shitong Wang, Yueyang Li, Fu-lai
1. Anil K. Jain, “Fundamentals of           Chung and Min Xu, “An Iterative
    Digital Image Processing”.              Self-adaptive     Algorithm      to
2. Rafael C. Gonzalez, Richard E.           Impulse Noise Filtering for Color
    Woods,         “Digital      Image      Images”.
    Processing”.                        14. Krisana Chinnasarn, “Removing
3. Alasdair       McAndrew,         “An     Salt-and-Pepper       Noise      in
    Introduction to Digital Image           Text/Graphics Images”.
    Processing with MATLAB”.            15. Minakshi Kumar, “Digital Image
4. Bernd Jahne, “Digital Image              Processing”.
    Processing”.                        16. Dr. K. Sri Rama Krishna, A. Guruva
5. Wilhelm Burger, Mark J. Burge,           Reddy, Dr. M.N. Giri Prasad, Dr. K.
    “Principles of Digital Image            Chandrabushan Rao, M. Madhavi,
    Processing”.                            “Genetic Algorithm Processor for
6. Nick Efford, “Digital Image              Image Noise Filtering Using
    Processing”.                            Evolvable Hardware”.
7. Dr. Puneet Misra, “A Primary 17. Manohar Annappa Koli, “Robust
    Study     on      Digital    Image      Algorithm for Impulse Noise
    Processing”.                            Detection”.
8. Mark Nixon and Alberto Aguado, 18. K.M.M. Rao, “Overview of Image
    “Feature Extraction & Image             Processing”.
    Processing”.                        19. John Eakins, Margaret Graham,
9. Gerhard X. Ritter and Joseph N.          “Content-based Image Retrieval”.
    Wilson,      “Computer       Vision 20. Ziv Yaniv, “Median Filtering”.
    Algorithms in Image Algebra”.       21. Mahmoud Saeidi, Khadijeh Saeidi,
10. Mr. Salem Saleh Al-amri, Dr. N.V.       Mahmoud        Khaleghi,     “Noise
    Kalyankar and Dr. Khamitkar S.D,        Reduction in Image Sequences
    “A Comparative Study of Removal
using    an     Effective     Fuzzy Corrupted by Additive Gaussian
    Algorithm”.                         Noise”.
22. Ce Liu, William T. Freeman, 30. L. Nataraj, A. Sarkar and B. S.
    Richard Szeliski, Sing Bing Kang,   Manjunath, “Adding Gaussian
    “Noise Estimation from a Single     Noise to Denoise JPEG for
    Image”.                             Detecting Image Resizing”.
23. Anthony       Edward        Nelson,
    “Implementation       of      Image
    Processing Algorithms on FPGA
    Hardware”.
A. Gasteratos, I. Andreadis and Ph.
    Tsalides, “Realization of Rank
    Order Filters based on Majority
    Gate”.
24. Er. Harish Kundra, Er. Monika
    Verma, Er. Aashima, “Filter for
    Removal of Impulse Noise by
    Using Fuzzy Logic”.
25. Yiqiu Dong, Raymond H. Chan, and
    Shufang Xu, “A Detection Statistic
    for    Random-Valued       Impulse
    Noise”.
26. Umesh Ghanekar, “A Novel
    Impulse Detector for filtering of
    Highly Corrupted images”.
27. Jian-Feng Cai, Raymond H. Chan,
    and Mila Nikolova, “Two-Pahse
    approach for Deblurring Images
    Corrupted by Impulse Plus
    Gaussian Noise”.
28. Naga     Sravanthi      Kota,    G.
    Umamaheswara Reddy “Fusion
    Based Gaussian noise Removal in
    the Image using Curvelets and
    Wavelets with Gaussian Filter”.
29. Shyam Lal, Mahesh Chandra and
    Gopal Krishna Upadhyay, “Noise
    Removal Algorithm for Images

More Related Content

What's hot

Intensity Transformation and Spatial filtering
Intensity Transformation and Spatial filteringIntensity Transformation and Spatial filtering
Intensity Transformation and Spatial filtering
Shajun Nisha
 
Lecture 16 KL Transform in Image Processing
Lecture 16 KL Transform in Image ProcessingLecture 16 KL Transform in Image Processing
Lecture 16 KL Transform in Image Processing
VARUN KUMAR
 
Edge Detection using Hough Transform
Edge Detection using Hough TransformEdge Detection using Hough Transform
Edge Detection using Hough Transform
Mrunal Selokar
 
Digital Image Processing
Digital Image ProcessingDigital Image Processing
Digital Image Processing
PreethiPreethi28
 
Image restoration and degradation model
Image restoration and degradation modelImage restoration and degradation model
Image restoration and degradation model
AnupriyaDurai
 
Noise Models
Noise ModelsNoise Models
Noise Models
Sardar Alam
 
Region based segmentation
Region based segmentationRegion based segmentation
Region based segmentation
Inamul Hossain Imran
 
Smoothing in Digital Image Processing
Smoothing in Digital Image ProcessingSmoothing in Digital Image Processing
Smoothing in Digital Image Processing
Pallavi Agarwal
 
The Digital Image Processing Q@A
The Digital Image Processing Q@AThe Digital Image Processing Q@A
The Digital Image Processing Q@A
Chung Hua Universit
 
Lecture-11.pdf
Lecture-11.pdfLecture-11.pdf
Lecture-11.pdf
NiharikaThakur32
 
Lecture 13 (Usage of Fourier transform in image processing)
Lecture 13 (Usage of Fourier transform in image processing)Lecture 13 (Usage of Fourier transform in image processing)
Lecture 13 (Usage of Fourier transform in image processing)
VARUN KUMAR
 
Sharpening spatial filters
Sharpening spatial filtersSharpening spatial filters
Lecture 14 Properties of Fourier Transform for 2D Signal
Lecture 14 Properties of Fourier Transform for 2D SignalLecture 14 Properties of Fourier Transform for 2D Signal
Lecture 14 Properties of Fourier Transform for 2D Signal
VARUN KUMAR
 
Lecture 4 Relationship between pixels
Lecture 4 Relationship between pixelsLecture 4 Relationship between pixels
Lecture 4 Relationship between pixels
VARUN KUMAR
 
Spatial domain and filtering
Spatial domain and filteringSpatial domain and filtering
Spatial domain and filtering
University of Potsdam
 
Image enhancement
Image enhancementImage enhancement
Image enhancement
shabanam tamboli
 
Lecture 3 image sampling and quantization
Lecture 3 image sampling and quantizationLecture 3 image sampling and quantization
Lecture 3 image sampling and quantization
VARUN KUMAR
 
Noise filtering
Noise filteringNoise filtering
Noise filteringAlaa Ahmed
 
Digital Image restoration
Digital Image restorationDigital Image restoration
Digital Image restoration
Md Shabir Alam
 

What's hot (20)

Intensity Transformation and Spatial filtering
Intensity Transformation and Spatial filteringIntensity Transformation and Spatial filtering
Intensity Transformation and Spatial filtering
 
Lecture 16 KL Transform in Image Processing
Lecture 16 KL Transform in Image ProcessingLecture 16 KL Transform in Image Processing
Lecture 16 KL Transform in Image Processing
 
Edge Detection using Hough Transform
Edge Detection using Hough TransformEdge Detection using Hough Transform
Edge Detection using Hough Transform
 
Digital Image Processing
Digital Image ProcessingDigital Image Processing
Digital Image Processing
 
Unit ii
Unit iiUnit ii
Unit ii
 
Image restoration and degradation model
Image restoration and degradation modelImage restoration and degradation model
Image restoration and degradation model
 
Noise Models
Noise ModelsNoise Models
Noise Models
 
Region based segmentation
Region based segmentationRegion based segmentation
Region based segmentation
 
Smoothing in Digital Image Processing
Smoothing in Digital Image ProcessingSmoothing in Digital Image Processing
Smoothing in Digital Image Processing
 
The Digital Image Processing Q@A
The Digital Image Processing Q@AThe Digital Image Processing Q@A
The Digital Image Processing Q@A
 
Lecture-11.pdf
Lecture-11.pdfLecture-11.pdf
Lecture-11.pdf
 
Lecture 13 (Usage of Fourier transform in image processing)
Lecture 13 (Usage of Fourier transform in image processing)Lecture 13 (Usage of Fourier transform in image processing)
Lecture 13 (Usage of Fourier transform in image processing)
 
Sharpening spatial filters
Sharpening spatial filtersSharpening spatial filters
Sharpening spatial filters
 
Lecture 14 Properties of Fourier Transform for 2D Signal
Lecture 14 Properties of Fourier Transform for 2D SignalLecture 14 Properties of Fourier Transform for 2D Signal
Lecture 14 Properties of Fourier Transform for 2D Signal
 
Lecture 4 Relationship between pixels
Lecture 4 Relationship between pixelsLecture 4 Relationship between pixels
Lecture 4 Relationship between pixels
 
Spatial domain and filtering
Spatial domain and filteringSpatial domain and filtering
Spatial domain and filtering
 
Image enhancement
Image enhancementImage enhancement
Image enhancement
 
Lecture 3 image sampling and quantization
Lecture 3 image sampling and quantizationLecture 3 image sampling and quantization
Lecture 3 image sampling and quantization
 
Noise filtering
Noise filteringNoise filtering
Noise filtering
 
Digital Image restoration
Digital Image restorationDigital Image restoration
Digital Image restoration
 

Similar to Comparative study of Salt & Pepper filters and Gaussian filters

Image processing, Noise, Noise Removal filters
Image processing, Noise, Noise Removal filtersImage processing, Noise, Noise Removal filters
Image processing, Noise, Noise Removal filters
Kuppusamy P
 
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...IJERD Editor
 
M017218088
M017218088M017218088
M017218088
IOSR Journals
 
Image Noise Removal by Dual Threshold Median Filter for RVIN
Image Noise Removal by Dual Threshold Median Filter for RVINImage Noise Removal by Dual Threshold Median Filter for RVIN
Image Noise Removal by Dual Threshold Median Filter for RVIN
IOSR Journals
 
Image denoising algorithms
Image denoising algorithmsImage denoising algorithms
Image denoising algorithmsMohammad Sunny
 
Robustness of Median Filter For Suppression of Salt and Pepper Noise (SPN) an...
Robustness of Median Filter For Suppression of Salt and Pepper Noise (SPN) an...Robustness of Median Filter For Suppression of Salt and Pepper Noise (SPN) an...
Robustness of Median Filter For Suppression of Salt and Pepper Noise (SPN) an...
CSCJournals
 
3 intensity transformations and spatial filtering slides
3 intensity transformations and spatial filtering slides3 intensity transformations and spatial filtering slides
3 intensity transformations and spatial filtering slides
BHAGYAPRASADBUGGE
 
Image Denoising Using Non Linear Filter
Image Denoising Using Non Linear FilterImage Denoising Using Non Linear Filter
Image Denoising Using Non Linear Filter
IJMER
 
Filtering Corrupted Image and Edge Detection in Restored Grayscale Image Usin...
Filtering Corrupted Image and Edge Detection in Restored Grayscale Image Usin...Filtering Corrupted Image and Edge Detection in Restored Grayscale Image Usin...
Filtering Corrupted Image and Edge Detection in Restored Grayscale Image Usin...
CSCJournals
 
Image denoising with unknown Non-Periodic Noises
Image denoising with unknown Non-Periodic NoisesImage denoising with unknown Non-Periodic Noises
Image denoising with unknown Non-Periodic Noises
SakshiAggarwal85
 
Lecture 4
Lecture 4Lecture 4
Lecture 4
Wael Sharba
 
Performance Assessment of Several Filters for Removing Salt and Pepper Noise,...
Performance Assessment of Several Filters for Removing Salt and Pepper Noise,...Performance Assessment of Several Filters for Removing Salt and Pepper Noise,...
Performance Assessment of Several Filters for Removing Salt and Pepper Noise,...
IJEACS
 
IRJET- A Review on Various Restoration Techniques in Digital Image Processing
IRJET- A Review on Various Restoration Techniques in Digital Image ProcessingIRJET- A Review on Various Restoration Techniques in Digital Image Processing
IRJET- A Review on Various Restoration Techniques in Digital Image Processing
IRJET Journal
 
Impulse noise removal in digital images
Impulse noise removal in digital imagesImpulse noise removal in digital images
Impulse noise removal in digital images
Mohan Raj
 
Filter for Removal of Impulse Noise By Using Fuzzy Logic
Filter for Removal of Impulse Noise By Using Fuzzy LogicFilter for Removal of Impulse Noise By Using Fuzzy Logic
Filter for Removal of Impulse Noise By Using Fuzzy Logic
CSCJournals
 
Project 2-Image_Processng by Anish Hemmady
Project 2-Image_Processng by Anish HemmadyProject 2-Image_Processng by Anish Hemmady
Project 2-Image_Processng by Anish Hemmadyanish h
 

Similar to Comparative study of Salt & Pepper filters and Gaussian filters (20)

Image processing, Noise, Noise Removal filters
Image processing, Noise, Noise Removal filtersImage processing, Noise, Noise Removal filters
Image processing, Noise, Noise Removal filters
 
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
 
M017218088
M017218088M017218088
M017218088
 
Image Noise Removal by Dual Threshold Median Filter for RVIN
Image Noise Removal by Dual Threshold Median Filter for RVINImage Noise Removal by Dual Threshold Median Filter for RVIN
Image Noise Removal by Dual Threshold Median Filter for RVIN
 
PID3474431
PID3474431PID3474431
PID3474431
 
Unit3 dip
Unit3 dipUnit3 dip
Unit3 dip
 
Image denoising algorithms
Image denoising algorithmsImage denoising algorithms
Image denoising algorithms
 
vs.pptx
vs.pptxvs.pptx
vs.pptx
 
Robustness of Median Filter For Suppression of Salt and Pepper Noise (SPN) an...
Robustness of Median Filter For Suppression of Salt and Pepper Noise (SPN) an...Robustness of Median Filter For Suppression of Salt and Pepper Noise (SPN) an...
Robustness of Median Filter For Suppression of Salt and Pepper Noise (SPN) an...
 
3 intensity transformations and spatial filtering slides
3 intensity transformations and spatial filtering slides3 intensity transformations and spatial filtering slides
3 intensity transformations and spatial filtering slides
 
Image Denoising Using Non Linear Filter
Image Denoising Using Non Linear FilterImage Denoising Using Non Linear Filter
Image Denoising Using Non Linear Filter
 
Filtering Corrupted Image and Edge Detection in Restored Grayscale Image Usin...
Filtering Corrupted Image and Edge Detection in Restored Grayscale Image Usin...Filtering Corrupted Image and Edge Detection in Restored Grayscale Image Usin...
Filtering Corrupted Image and Edge Detection in Restored Grayscale Image Usin...
 
Gg2411291135
Gg2411291135Gg2411291135
Gg2411291135
 
Image denoising with unknown Non-Periodic Noises
Image denoising with unknown Non-Periodic NoisesImage denoising with unknown Non-Periodic Noises
Image denoising with unknown Non-Periodic Noises
 
Lecture 4
Lecture 4Lecture 4
Lecture 4
 
Performance Assessment of Several Filters for Removing Salt and Pepper Noise,...
Performance Assessment of Several Filters for Removing Salt and Pepper Noise,...Performance Assessment of Several Filters for Removing Salt and Pepper Noise,...
Performance Assessment of Several Filters for Removing Salt and Pepper Noise,...
 
IRJET- A Review on Various Restoration Techniques in Digital Image Processing
IRJET- A Review on Various Restoration Techniques in Digital Image ProcessingIRJET- A Review on Various Restoration Techniques in Digital Image Processing
IRJET- A Review on Various Restoration Techniques in Digital Image Processing
 
Impulse noise removal in digital images
Impulse noise removal in digital imagesImpulse noise removal in digital images
Impulse noise removal in digital images
 
Filter for Removal of Impulse Noise By Using Fuzzy Logic
Filter for Removal of Impulse Noise By Using Fuzzy LogicFilter for Removal of Impulse Noise By Using Fuzzy Logic
Filter for Removal of Impulse Noise By Using Fuzzy Logic
 
Project 2-Image_Processng by Anish Hemmady
Project 2-Image_Processng by Anish HemmadyProject 2-Image_Processng by Anish Hemmady
Project 2-Image_Processng by Anish Hemmady
 

More from Ankush Srivastava

Land Mine Detection and Image Processing
Land Mine Detection and Image ProcessingLand Mine Detection and Image Processing
Land Mine Detection and Image ProcessingAnkush Srivastava
 
Introduction to Computer Architecture
Introduction to Computer ArchitectureIntroduction to Computer Architecture
Introduction to Computer ArchitectureAnkush Srivastava
 
Creating an executable jar file
Creating an executable jar fileCreating an executable jar file
Creating an executable jar fileAnkush Srivastava
 
Image processing SaltPepper Noise
Image processing SaltPepper NoiseImage processing SaltPepper Noise
Image processing SaltPepper NoiseAnkush Srivastava
 
Neurons
NeuronsNeurons
Search Engine
Search EngineSearch Engine
Search Engine
Ankush Srivastava
 

More from Ankush Srivastava (12)

Land Mine Detection and Image Processing
Land Mine Detection and Image ProcessingLand Mine Detection and Image Processing
Land Mine Detection and Image Processing
 
Microprocessor
MicroprocessorMicroprocessor
Microprocessor
 
Data transferschemes
Data transferschemesData transferschemes
Data transferschemes
 
Dynamic RAM
Dynamic RAMDynamic RAM
Dynamic RAM
 
Introduction to Computer Architecture
Introduction to Computer ArchitectureIntroduction to Computer Architecture
Introduction to Computer Architecture
 
Pin 8085
Pin 8085Pin 8085
Pin 8085
 
Html
HtmlHtml
Html
 
Creating an executable jar file
Creating an executable jar fileCreating an executable jar file
Creating an executable jar file
 
Introduction to Multimedia
Introduction to MultimediaIntroduction to Multimedia
Introduction to Multimedia
 
Image processing SaltPepper Noise
Image processing SaltPepper NoiseImage processing SaltPepper Noise
Image processing SaltPepper Noise
 
Neurons
NeuronsNeurons
Neurons
 
Search Engine
Search EngineSearch Engine
Search Engine
 

Recently uploaded

Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
GeoBlogs
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
PedroFerreira53928
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
Celine George
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
PedroFerreira53928
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
Celine George
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
Fundacja Rozwoju Społeczeństwa Przedsiębiorczego
 

Recently uploaded (20)

Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
 

Comparative study of Salt & Pepper filters and Gaussian filters

  • 1. [February 2012] Comparative study of Salt & Pepper filters and Gaussian filters By Ankush Srivastava [Email: anksrizzz@gmail.com, anksri000@gmail.com] Abstract: This article attempts to integers, called pixels, representing a undertake the study of two types of physical quantity such as scene noise such as Salt & Pepper Noise and radiance, stored in a digital memory, Gaussian Noise. Different noise have and processed by computer or other been removed by using various type digital hardware [25]. The importance of filters as Minimum Filter, Maximum of image sequence processing is Filter, Mean Filter, Rank Order Filter, constantly growing with the ever Median Filter, Blur Method, Gaussian increasing use of digital television and Filter and Weight Median Filter. The video systems in consumer, comparative study is conducted with commercial, medical, and the help of Peak Signal to Noise Ratio communicational applications. Digital (PSNR). image processing has many advantages over analog image Introduction: Digital image processing; it allows a much wider processing is a rapidly evolving field range of algorithms to be applied to with growing application in science the input data and can avoid problems and engineering [1]. Various such as build-up of noise and signal techniques have been developed in distortion during processing. So noise Image Processing during the last four cancellation/filtering are an to five decades. Image processing important task in image processing. holds the possibility of developing the ultimate machine that could perform Image Noise: Noise represents the visual functions of all living being. unwanted information which The primary purpose of image deteriorates image quality. It is processing is to convert image into defined as a process which affects the valuable information [7]. The term acquired image and is not part of the digital image processing generally sense. Noise is introduced into images refers to processing of a two- usually while transferring and dimensional picture by the digital acquiring them. computer [1]. Digital image processing is a subset of the electronic Types of Noise: The main type of domain wherein the image is noise added while image acquisition converted to an array of small is called Gaussian noise while
  • 2. Impulsive noise is generally ideally should smooth the distinct introduced while transmitting image parts of the image. A universal noise data over an unsecure communication removing scheme is implemented channel, while it can also be added by which weighs each pixel with respect acquiring. to its neighborhood and deals with Gaussian noise. Such noise is usually Salt & Pepper Noise: The salt and introduced during image acquisition. pepper noise is caused by sharp, sudden disturbances in the image Filters: Various techniques are signal; its appearance is randomly employed for the removal of these scattered white or black (or both) types of noise based on the properties pixels over the image [25]. Salt & of their respective noise models. Pepper Noise or impulse noise Image filtering is not only used to generally is digitized as extreme (pure improve image quality but also is used white or black) values in an image. An as a preprocessing stage in many image containing salt-and-pepper applications including image noise will have dark pixels in bright encoding, pattern recognition, image regions and bright pixels in dark compression and target tracking, to regions. This type of noise can be name a few. General-purpose image caused by dead pixels, analog-to- filters lack the flexibility and digital converter errors, and bit errors adaptability of un-modeled noise in transmission. In the case of types. impulsive noise removal, the aim of Noise reduction is a two-step process: optimal filtering is to design noise 1) Noise detection and reduction algorithms that would 2) Noise replacement. affect only corrupted image pixels, In first step location of noise is whereas the undistorted image pixels identified and in second step detected should be invariant under the filtering noisy pixels are replaced by estimated operation. Thus, an impulse detector value. Efficiency of noise reduction can be employed to classify each pixel algorithm depends on both noise in the noisy images as noise or not detection and noise replacement. prior to filtering. Salt & Pepper Noise Removal Gaussian Noise: Gaussian noise is a set of values taken from a zero mean Noise detection: if the intensity value Gaussian distribution which are of pixel is less than or equal to 0 then added to each pixel value. Impulsive there is Pepper noise and if the noise involves changing a part of the intensity value of pixel is greater than pixel values with random ones. or equal to 255 then there is Salt noise Gaussian Noise removal algorithms
  • 3. [17]. These pixels are being processed. Intensity value of pixel at position (x, y) ={ Histogram of corrupted image Minimum Filtering: Minimum filter removes the white (salt) dots because any single white pixel within the selected filter region is replaced by one of its surrounding pixels with a Original Image smaller value [2], [5]. I’ (u, v) ← min {I (u+i, v+j) | (i, j) ∈ R} Steps: 1. Put pixel value of surrounding (of noisy pixel) pixels in a single dim array. 2. Sort this array in ascending order. 3. The noisy pixel value is replays by first element of the sorted array. Histogram of Original Image Applying Minimum Algorithm Image corrupted by Salt & Pepper Noise
  • 4. Histogram Histogram Mean Filtering: In mean filtering, we Maximum Filtering: Minimum filter replace the desired pixel intensity removes the black (pepper) dots with the arithmetic mean of its because any single black pixel within surrounding pixel’s intensity value the selected filter region is replaced [5]. by one of its surrounding pixels with a Steps: greatest value [2], [5]. 1. Take the arithmetic mean of I’ (u, v) ← max {I (u+i, v+j) | (i, j) ∈ R} surrounding (of noisy pixel) pixel Steps: values. 1. Put pixel values of surrounding (of 2. The noisy pixel value is replays by noisy pixel) pixels in a single dim the resulted arithmetic mean of its array surrounding pixels. 2. Sort this array in ascending order. 3. The noisy pixel value is replays by last element of the sorted array. Applying Mean Algorithm Applying Maximum Algorithm
  • 5. Histogram Histogram Rank Order Filtering: In rank order Median Filtering: In median filtering, filtering, first we sort the surrounding first we sort the surrounding pixels of pixels of desired pixel behalf of its desired pixel behalf of its intensity intensity value then desired pixel will value then desired pixel will be be replaced by as per user define replaced by middle element of sorted order [23]. pixel values [2], [5]. Steps: I’ (u, v) ← mid {I (u+i, v+j) | (i, j) ∈ R} 1. Put pixel values of surrounding (of Steps: noisy pixel) pixels in a single dim 1. Put pixel values of surrounding (of array noisy pixel) pixels in a single dim 2. Sort this array in ascending order. array 3. Take the order ‘r’ of element from 2. Sort this array in ascending order. the user. 3. The noisy pixel value is replays by middle element of the sorted array. The noisy pixel value is replays by rth element of the sorted array. Applying Median Algorithm Applying Rank Order Algorithm with order 2
  • 6. Applying Proposed Method 1 Histogram Histogram Proposed Method 1: In proposed method 1, first we sort the Proposed Method 2: In proposed surrounding pixels of desired pixel method 2, first we sort the behalf of its intensity value then we surrounding pixels of desired pixel take the arithmetic mean of middle-1, behalf of its intensity value then we middle, middle+1 of sorted pixel take the arithmetic mean of minimum values and this will replays the and maximum element of sorted pixel desired pixel value. values and this will replays the Steps: desired pixel value. 1. Put pixel values of surrounding (of Steps: noisy pixel) pixels in a single dim 1. Put pixel values of surrounding (of array noisy pixel) pixels in a single dim 2. Sort this array in ascending order. array 3. Now take arithmetic mean of 2. Sort this array in ascending order. (middle-1), (middle) and 3. Now take arithmetic mean of first (middle+1) element of the sorted and last element of the sorted array. array. The noisy pixel value is replays by The noisy pixel value is replays by resulted arithmetic mean value. resulted arithmetic mean value.
  • 7. Applying Proposed Method 2 Proposed Method 1 37.3239 Proposed Method 2 34.7473 Gaussian Noise Removal Noise detection: We compare and take absolute difference of each pixel from original image and corrupted image. If there is any difference then that pixel is noisy pixel and being process for the noise removal. Histogram Experimental Results: The performance evaluation of the filtering operation is quantified by the PSNR (Peak Signal to Noise Ratio) and MSE (Mean Square Error) calculated using formula: PSNR = ⁄ √ Where MSE is stands for Mean Square Error and calculated by the following formula, ∑ ∑ MSE = Original Image Where M is with of the image, N is height of the image, i and j are the pixel positioning coordinates. o PSNR value of noisy image is 31.4395 dB. Filter Type PSNR value of image (in dB) Minimum 32.8731 Maximum 30.7662 Histogram Mean 37.1102 Rank Order with 34.4930 order is 2 Median 37.3239
  • 8. Image corrupted by Gaussian Noise Applying Blur Histogram Histogram Blur Method: In blur method, we Gaussian Filter: replace the noisy pixel intensity with In Gaussian Filter, the noisy pixel is the arithmetic mean of its replays by the resulted value of surrounding pixel’s intensity value. multiplication of kernel matrix and Steps: selected region from the image. [2][3] 1. Take the arithmetic mean of Steps: surrounding (of noisy pixel) pixel 1. First we create the kernel matrix values. by using he following formula: 2. The noisy pixel value is replays by K[x, y] = the resulted arithmetic mean of its 2. Take addition of all the elements of surrounding pixels. kernel matrix. 3. Multiply the kernel matrix and selected region of the image and
  • 9. take the addition of these values in Steps: another variable. 1. Put pixel values of surrounding (of 4. And divide this value with the noisy pixel) pixels in a single dim addition of kernel matrix. array 5. Now the noisy pixel is replays by 2. Sort this array in ascending order. resulted value comes from step 4. 3. The noisy pixel value is replays by middle element of the sorted array. Applying Gaussian Algorithm Applying Median Algorithm Histogram Histogram Median Filter: In median filtering, first we sort the surrounding pixels of Weight Median Filter: desired pixel behalf of its intensity In weight median filter, the noisy pixel value then desired pixel will be is replays by the middle element of replaced by middle element of sorted the sorted array which full of pixel pixel values. [2][5] values [5]. I’ (u, v) ← mid {I (u + i, v + j) | (i, j) ∈ Steps: R}
  • 10. 1. First we create weight matrix with Experimental Results: The following values: performance evaluation of the filtering operation is quantified by the PSNR (Peak Signal to Noise Ratio) and MSE (Mean Square Error) calculated 2. Put the values of surrounding using formula: (noisy pixel) pixels in single dim array with the repetitive values PSNR = ⁄ √ according to the values of weight matrix. Where MSE is stands for Mean Square 4. Sort this array in ascending order. Error and calculated by the following 5. The noisy pixel value is replays by formula, middle element of the sorted array. ∑ ∑ MSE = Where M is with of the image, N is height of the image, i and j are the pixel positioning coordinates. o PSNR value of noisy image is 32.4583 dB. Filtering Type PSNR value of image(in dB) Blur Method 33.6072 Gaussian 33.1504 Median 33.5380 Weight Median 33.4232 Applying Weight Median Algorithm Conclusion: This paper highlighted the noise removal algorithms for gray scale images as well as color images corrupted by Salt & Pepper and Gaussian noise. This work primarily focuses on comparing the efficiency of noise removal algorithms. The comparative study is explained by with the help of Peak Signal to Noise Ratio (PSNR). For removing the salt & Histogram Pepper noise we applied various noise filtering algorithms such as Minimum, Maximum, Mean, Rank Order and
  • 11. Median Filters. The Median Filter Noise from Remote Sensing produces the correct image as Image”. compare to all other filtering 11. Paul Murry and Stephen Marshall, algorithms. In other side for removing “A Fast Method for compute the Gaussian noise we applied Blur output of rank order filters within method, Gaussian, Median and Weight arbitrarily shaped windows”. Median filtering algorithms and 12. Gajanand Gupta, “Algorithm for compare these algorithms with help Image Processing Using Improved of Peak Signal to Noise Ratio (PSNR) Median Filter and Comparison of value. Mean, Median and Improved Median Filter”. References: 13. Shitong Wang, Yueyang Li, Fu-lai 1. Anil K. Jain, “Fundamentals of Chung and Min Xu, “An Iterative Digital Image Processing”. Self-adaptive Algorithm to 2. Rafael C. Gonzalez, Richard E. Impulse Noise Filtering for Color Woods, “Digital Image Images”. Processing”. 14. Krisana Chinnasarn, “Removing 3. Alasdair McAndrew, “An Salt-and-Pepper Noise in Introduction to Digital Image Text/Graphics Images”. Processing with MATLAB”. 15. Minakshi Kumar, “Digital Image 4. Bernd Jahne, “Digital Image Processing”. Processing”. 16. Dr. K. Sri Rama Krishna, A. Guruva 5. Wilhelm Burger, Mark J. Burge, Reddy, Dr. M.N. Giri Prasad, Dr. K. “Principles of Digital Image Chandrabushan Rao, M. Madhavi, Processing”. “Genetic Algorithm Processor for 6. Nick Efford, “Digital Image Image Noise Filtering Using Processing”. Evolvable Hardware”. 7. Dr. Puneet Misra, “A Primary 17. Manohar Annappa Koli, “Robust Study on Digital Image Algorithm for Impulse Noise Processing”. Detection”. 8. Mark Nixon and Alberto Aguado, 18. K.M.M. Rao, “Overview of Image “Feature Extraction & Image Processing”. Processing”. 19. John Eakins, Margaret Graham, 9. Gerhard X. Ritter and Joseph N. “Content-based Image Retrieval”. Wilson, “Computer Vision 20. Ziv Yaniv, “Median Filtering”. Algorithms in Image Algebra”. 21. Mahmoud Saeidi, Khadijeh Saeidi, 10. Mr. Salem Saleh Al-amri, Dr. N.V. Mahmoud Khaleghi, “Noise Kalyankar and Dr. Khamitkar S.D, Reduction in Image Sequences “A Comparative Study of Removal
  • 12. using an Effective Fuzzy Corrupted by Additive Gaussian Algorithm”. Noise”. 22. Ce Liu, William T. Freeman, 30. L. Nataraj, A. Sarkar and B. S. Richard Szeliski, Sing Bing Kang, Manjunath, “Adding Gaussian “Noise Estimation from a Single Noise to Denoise JPEG for Image”. Detecting Image Resizing”. 23. Anthony Edward Nelson, “Implementation of Image Processing Algorithms on FPGA Hardware”. A. Gasteratos, I. Andreadis and Ph. Tsalides, “Realization of Rank Order Filters based on Majority Gate”. 24. Er. Harish Kundra, Er. Monika Verma, Er. Aashima, “Filter for Removal of Impulse Noise by Using Fuzzy Logic”. 25. Yiqiu Dong, Raymond H. Chan, and Shufang Xu, “A Detection Statistic for Random-Valued Impulse Noise”. 26. Umesh Ghanekar, “A Novel Impulse Detector for filtering of Highly Corrupted images”. 27. Jian-Feng Cai, Raymond H. Chan, and Mila Nikolova, “Two-Pahse approach for Deblurring Images Corrupted by Impulse Plus Gaussian Noise”. 28. Naga Sravanthi Kota, G. Umamaheswara Reddy “Fusion Based Gaussian noise Removal in the Image using Curvelets and Wavelets with Gaussian Filter”. 29. Shyam Lal, Mahesh Chandra and Gopal Krishna Upadhyay, “Noise Removal Algorithm for Images