Professional Documents
Culture Documents
Filtering Noisy (Salt & Pepper) Image Using Median Filter
Filtering Noisy (Salt & Pepper) Image Using Median Filter
Filtering Noisy (Salt & Pepper) Image Using Median Filter
[1]
SirajAnis
Filtering Noisy (Salt & Pepper) Image Using Median Filter
Department of Avionics, College of Engineering, Pakistan Air Force Karachi Institute of Economics and
Technology.
Email: [1]sirajanis@gmail.com
ABSTRACT
Denoising is an important problem in signal and image processing. In this paper a denoising filter is proposed which eliminates
salt and pepper noise from highly corrupted digital images. Several methods have been introduced to remove fixed value impulse
noise (salt and pepper noise) from digital images such as median filter (MF), adaptive median filter (AMF), Decision based
algorithms (DBA) etc. Many of these algorithms fail while removing the noise at high density and do not preserve fine details of
the image. The proposed filter (MF) shows better results than existing filtering methods.
Keywords: Salt & Pepper Noise, Impulse Noise, Image Denoising, Median Filter
1. Introduction
1
[FILTERING SALT & PEPPER NOISY IMAGE]
November 24, 2016
model comes from the initials of the three additive primary variation of brightness or color information in images, is
colors, red, green and blue. usually an aspect of electronic noise. Noise is always presents
in digital images during image acquisition, coding,
The main purpose of the RGB color model is for the sensing,
transmission, and processing steps.
representation and display of images in electronic systems,
such as televisions and computers, though it has also been
It is very difficult to remove noise from the digital images
used in conventional photography. Before the electronic age,
without the prior knowledge of noise model. That is why,
the RGB color model already had a solid theory behind it,
review of noise models are essential in the study of image
based in human perception of colors.
denoising techniques. These noise models can be selected by
analysis of their origin. Noise can be produced by the sensor
and circuitry of a scanner or digital camera. The most common
noise induced in digital images is known as salt & pepper
noise, which disturbs the actual image and displays only a
small amount of information by sophisticated processing
Grayscale images are distinct from one-bit bi-tonal black-and- An image containing salt-and-pepper noise will have dark
white images, which in the context of computer imaging are pixels in bright regions and bright pixels in dark regions. This
images with only two colors, black and white (also called bi- type of noise can be caused by analog-to-digital
level or binary images). converter errors, bit errors in transmission, etc. Usual and
effective noise reduction method for this type of noise
In photography and computing, a grayscale digital image is an involves the usage of median filter. This algorithm proves
image in which the value of each pixel is a single sample, it quite effective when the noise level is low. However, when the
carries only intensity information. Images of this sort, also noise level is higher than 50%, edges and details cannot be
known as black-and-white, are composed exclusively of well preserved.
shades of gray, varying from black at the weakest intensity to
white at the strongest.
Noisy (Salt & Pepper) Image:
3. Noise
What is Noise? In digital image processing noise means any 4. Filter
unwanted signal; random (not present in the object imaged)
2
[FILTERING SALT & PEPPER NOISY IMAGE]
November 24, 2016
In image processing, filtering is a technique for modifying or An image histogram is a chart that shows the distribution of
enhancing an image. A filter is a device or process that intensities in an indexed or grayscale image. A MATLAB
removes some unwanted components or features from an function named imhist creates a histogram plot by defining
image. An image can be filtered to emphasize certain features and equally spaced bins, each representing a range of data
or remove other features. The defining feature of filters being values, and then calculating the number of pixels within each
the complete or partial suppression of some aspect of the range. The histogram by default shows a peak at around 100,
image. Image processing operations implemented with corresponding to the dark gray background in the image
filtering include smoothing, sharpening, and edge
enhancement. Creating Histogram of Original and Filtered image
5. Histogram Conclusions
3
[FILTERING SALT & PEPPER NOISY IMAGE]
November 24, 2016
Acknowledgement
Very thankful to Engr. Noor-ul-Ain and Danyal Hussain of
PAF-KARACHI INSTITUTE OF ECONOMICS AND
TECHNOLOGY for the valuable support and suggestion and
for their constant encouragement.
Reference