You are on page 1of 13

Digital Image Processing and Analysis

Adding Poisson and Speckle Noise on Image &


Applying Filtering Methods and Comparison Techniques

Group members:
1. Estifanos Alebachew …….SGS/0231/2014A
2. Mulatu Tadele ……………SGS/0237/2014A
3. Tatek Shenkute …………..SGS/0242/2014A
4. Tilahun Brehanu …………SGS/0393/2013A

Submitted to: Dr. Million. M


June 2022 Addis
Ababa
1|Page

Abstract
Images are often degraded by noises. Noise can occur and obtained during image capture, transmission and
so on. Noise removal is an important task in image processing. In general the results of the noise removal
has a strong influence on the quality of the image processing techniques. Several techniques for noise
removal are well established in color image processing. The nature of the noise removal problem depends
on the type of the noise corrupting the image. In this Project we are going to See Two kind of noise Poisson
noise and spackle noise.

And also we are trying to apply different methods such as Gaussian filtering, mean filtering and median
filtering algorithms for reducing the noise. Also we are using the ranking algorithms which are PSNR and
MSN to see the better results for filtering technique. For as according to the PNSR values of the spackle
noise median filtering is better than other filtering technique the same thing in Poisson filtering we get a
best result in mean filtering technique.

1|Page
2|Page

Statement of the problem

One of the fundamental challenges in image processing and computer vision is image de-noising.
What de-noising does is to estimate the original image by suppressing noise from the image. While
in digital image processing there always comes an integrated part which is Noise. Noise means
random disturbance in a signal in a computer version. In our case, the signal is an image. Random
disturbance in the brightness and color of an image is called Image noise. Image noise is a random
variation of brightness or color information in the images captured. This is the deterioration of the
image signal due to an external source. Images with multiplicative noise are characterized by the
fact that brighter areas contain more noise.

In this project, we consider two kinds of noise speckle noise and Poisson noise. As we learn in the
class Speckle Noise is a granular 'noise' that inherently exists in and degrades the quality of the
image. Speckle noise also occurs caused by the coherent processing of backscattered signals from
multiple distributed targets. And in other words, speckle noise can be modeled by random values
multiplied by pixel values of an image. And in medical image processing, Image de-noising plays a
very important role in diagnosis. Medical images are very much inconsistent. In medical imaging,
Ultrasound is very popular due to its low cost, least harmful to the human body, real-time system,
and being small in size. Besides its advantages, it suffers from a major problem, speckle noise in
ultrasound images Thus, this project attempt to identify the effect of Poisson and Speckle noise on
the original image and try to use the Given two filtering algorithm Median and mean and one of our
selecting filtering techniques for each noise. In addition, by using MSE and PSNR comparison of
each filtering technique result is presented.

2|Page
3|Page

1. Noises and Algorithms Used for Filtering the Noise


1.1. Poisson noise
Poisson noise is an undesirable signal which gets added in a desired signal at the time of acquisition. In
images, noise can modify the intensity level of a single pixel or a bunch of pixels, which results in poor
quality image. Noise has additive or multiplicative type of nature. Even though the nature of noise is
random, it follows some specific distribution. Main source of Poisson noise is collection of photons at the
receptor side in a random manner.

1. 2. Speckle noise
Speckle noise: removing of noise from images is now a very challenging issue in the field of image processing,
this paper attempts to undertake the study of speckle noise of image by using three types of filters as mean filter,
median filter applied in the four types of image and compared with one another so as to choose the best technique.

2. Algorithms used for Filtering

In the project we used different types of algorithms in order to de-Nosie Speckle and Poisson from the
image.
Median filtering, Mean and Gaussian Filtering.

2.1 Median filtering:


Median filter is a nonlinear filtering technique for speckle noise reduction. It works best with salt and
pepper noise while retaining sharp edges in an image. This filter sorts the surrounding pixel values in the
window to an orderly set and replaces the center pixel value with the middle value.

Advantages:
1 .Median filter is more robust than mean filter so a single very unrepresentative pixel in a neighborhood
will not affect the median value significantly

2. It is better edge preserving filter.


The major disadvantage is the extra computation time is needed to sort the intensity value of all set.
The ‘medianBlur’ function from the open-CV library can be used to implement a median filter.
New_image =cv2.medianBlur (image, figure_size)

3|Page
4|Page

2.2. Mean Filter


Mean filter is an averaging linear filter. Here the filter computes the average value of the corrupted image
in a pre-decided area. Then the center pixel intensity value is replaced by that average value. The mean
filter is a simple spatial filter. It is sliding-window filters that replace the center value in the window. It
replaces with the average mean of all the pixel values in the kernel or window. The window is usually
square but it can be of any shape.

The blur function from the open-CV library can be used to apply a mean filter to an image. New_image
=cv2.blur(image,(firure_size,figure_size))

2.3. Gaussian Filtering:


A Gaussian Filter is a low pass filter used for reducing noise high frequency components and blurring
regions of an image. The filter is implemented as an Odd sized Symmetric Kernel which is passed
through each pixel of the Region of Interest to get the desired effect. Gaussian Filter could be considered
as an approximation of the Gaussian Function in mathematics.
The ‘GaussianBlur’ function from open-Cv package can be used to implement a Gaussian filter. the function
allows to specify the shapes of the kernel.
New_image= cv2.GaussianBlur(image,(figure_size, figure_size),0)

4|Page
5|Page

3. Experimental results
3.1 adding a Poisson noise to the image, filtering and its result

Img 1.1. Original image Img 1.2. Poisoned image

Images after applying the filtering techniques

Img 1.3. Gaussian filtering Img 1.4. Median Filtering

5|Page
6|Page

Img 1.5. Mean filtering


After applying the noises and filtering technique we try to compare the best filtering methods by using
PNSR and MSE ranking method.

3.2. Experimental Image result values for Poisson noise


Filtering technique used MSE and PNSR values
1 Gaussian filter MSE =5448.936830524344
PSNR =10.767685877066393
2 Median filter MSE =6131.010498595506
PSNR =10.255483010645722
3 Mean filter MSE =5356.159389044944
PSNR =10.842268685636503

6|Page
7|Page

3.1 adding a spackle noise to the image, filtering and its result

Img 2.1. Original Image Img 2.2. Image With spackle noise

7|Page
8|Page

Images after applying the filtering techniques

Img 2.3.Gaussian filter Img 2.4. Median filte

Img 2.5. Mean filter

8|Page
9|Page

3.3. Experimental Image result values for spackle noise with a colored image
Filtering technique used MSE and PNSR values

1 Gaussian filter MSE =1286.0694179151062


PSNR =17.03815949819505
2 Median filter MSE =491.33700530586765
PSNR =21.217008863831623
3 Mean filt MSE =1212.2461329588016
PSNR =17.294895534689502

4. Discussion of the result


4.1 Poisson noise
The first Noise we try to apply in our image is Poisson noise. We use a gray scale image after that
we apply Poisson noise. Three filtering techniques apply to the nosey image. If we want to regain
color image we can apply gray scale filtering.

Mean filtering is an effective noise reduction technique. As we can see in the picture 1.4, the picture is
better than others. We assume that this filtering technique is better than others for Poisson filtering.
Gaussian Image Filtering 1.3 is the second effective filtering for Poisson noise filtering. But the image is a
bit blurry. So we assume it works fine for Poisson noise but not better than mean filtering. In Img: 1.4
median filtering, it is not de-noised the noise, so we conclude that this filtering technique is not working
in poisoned noise.

4.2 speckle noise


Regarding speckle noise, it can be seen that speckle is noise that affects the background and degrades its
quality. Speckle noise can be created by multiplying a random pixel value by another pixel in the image.

In this noise we are trying to apply three filtering techniques which is mean, median and Gaussian filtering.
Regarding the result of the experiment that is by using MSE for comparison, from the 3 speckle noise filters
shown in the above pictures and the table below, we find that the median filter is best suited filter than the
rest of the other filters to reduce speckle noise.

9|Page
10 | P a g e

5. Conclusion
Noise is always present in digital images during the image acquisition, encoding, transmission, and
processing stages. In this paper, Poisson noise and speckle noise are used, and various filtering
algorithms are applied to reduce noise.

Image filters can be used to reduce the amount of noise in an image and enhance the edges of an
image. As we have seen in the experimental results Mean filtering are best for Poisson noise and
median and mean filtering are best for speckle noise.

10 | P a g e
11 | P a g e

Reference:
[1]. Jyoti J. and and Rajveer S. (2015). A STUDY OF SPECKLE NOISE REDUCTION FILTERS.
Signal & Image Processing: An International Journal (SIPIJ) Vol.6

[2]. Er. K.B. and Er. A. (2014). A Review on Speckle Noise Reduction Techniques. IOSR
Journal of Computer Engineering (IOSR-JCE), 2278- 8727Volume 16, Issue 3, Ver. I.

[3]. https://www.geeksforgeeks.org/add-a-poisson-noise-to-an-image- with-python/

[4]. https://github.com/bnsreenu/python_for_image_processing_APEER

11 | P a g e
12 | P a g e

Contribution of Each Members:

Members Contribution

Mulatu Tadele and In Poisson noise adding and in finding filtering


Estifanos Alebachew techniques.

Tatek Shenkute and In spackle noise adding and applying different filtering
Tilahun Brehanu techniques.

12 | P a g e

You might also like