SlideShare ist ein Scribd-Unternehmen logo
1 von 60
Noise Addition and Filtering

`

Presented By : Sara El-Masri
Alaa Sababbah
Amna El-Sheikh Ali
Supervised By : Dr. Samy Salamah
Outline
1. Introduction
• It is generally desirable for image brightness to be
uniform except where it changes to form an image.
• There are factors, however, that tend to produce
variation in the brightness of a displayed image even
when no image detail is present.
• This variation is usually random and has no particular
pattern.
1. Introduction (cont.)
In many cases, it reduces image quality and is especially
significant when the objects being imaged are small and have
relatively low contrast.

This random variation in image brightness is
designated noise.
1. Introduction (cont.)
Image on the right has more noise
than the image on the left
Images
• There are two types of images :



Vector images



Digital images
Vector Images
• Vector images made up of vectors which lead through
locations called control points.

• Each of these control points has define on the x and y axes
of the work plain .
Digital Images
• A digital image is 2-dim array of real numbers
• 2-D image is divided into N rows and M columns
• the intersection of these rows and columns is known as pixels
Types of Digital Images
• Binary images (black and white images)
• Gray scale images
• Color images
Binary Images
• Each pixel is just black or white
• There is only two possible values for each pixel
i.e. 0 or 1
Gray Scale Images
• Each pixel value of gray scale images normally from
0 (black) to 255 (white)
Color images
• In color images each pixel has a particular color ; that
color being described by the amount of red , blue and
green in it .
• Each of these components has a rang 0-255
2. Image noise
Noise in image , is any degradation in an image signal ,
caused by external disturbance while an image is
being sent from one place to another place via satellite
, wireless and network cable .
We can model a noisy image as follows:
Source of Image Noise
• Error occurs in image signal while an image is being sent
electronically from one place to another .
• Sensor heat while clicking an image
• ISO factor ISO number indicates how quickly a camera’s sensor
absorbs , light , higher ISO used mare chance of noticeable noise
• By memory cell failure.
Types of Image Noise
1) Salt and pepper noise
2) Gaussian noise
3) Speckle noise

4) Uniform noise
Salt and pepper noise
• It known as shot noise, impulse noise or Spike noise .
• Its appearance is randomly scattered white or black or
both pixel over the image .

• there are only two possible values exists that is a and b
and the probability of each is less than 0.2 .
Salt and pepper noise (cont.)
Reasons for Salt and Pepper Noise:
1)
2)
3)

By memory cell failure.
By malfunctioning of camera’s sensor cells.
By synchronization errors in image digitizing or transmission.

Where: pa, pb are the Probabilities Density Function (PDF), p(z) is distribution
salt and pepper noise in image and A, B are the arrays size image.
Salt and pepper noise (cont.)
Image with Salt and
Pepper

Original Image
Salt and pepper noise (cont.)
• filtering techniques :
 mean filtering .
 Median filtering
 Gaussian filtering
Gaussian Noise
Gaussian noise is caused by random fluctuations in the
signal , its modeled by random values add to an image
This noise has a probability density function [pdf] of the
normal distribution. It is also known as Gaussian
distribution.
Gaussian Noise (cont.)

Without Noise

With Gaussian Noise
Image with Gaussian Noise
Sources of Gaussian Noise
• In digital images arise during acquisition .
e.g. Sensor noise caused by poor illumination and/or high
temperature
• Transmission
e.g. Electronic circuit noise .
Gaussian Noise (cont.)
• filtering techniques :
mean (convolution) filtering
Median filtering
Gaussian filtering
Speckle Noise
• Speckle noise can be modeled by random values multiplied
by pixel values of an image
• results from random fluctuations in the return signal from
an object that is no bigger than a single image-processing
element.
It increases the mean grey level of a local area.
Speckle Noise
The distribution noise can be expressed by:

Where g(n,m), is the observed image , u(n,m) is the multiplicative
component . and &(n,m) is the additive component of the speckle noise.
Original Image

Image with Noise
Speckle Noise (cont.)
• filtering techniques :
mean (convolution) filtering
Median filtering
Uniform Noise
• The uniform noise cause by quantizing the pixels of image
to a number of distinct levels is known as quantization
noise.
• Uniform noise can be analytically described by :

• The gray level values of the noise are evenly distributed across
a specific range
Uniform Noise (cont.)
• Quantization noise has an approximately uniform
distribution
Uniform Noise (cont.)
3. Filtering
• Filtering image data is a standard process used in
almost all image processing systems.
• Filters are used to remove noise from digital image
while keeping the details of image preserved.
• The choice of filter is determined by
 the nature of the task performed by filter .
 Filter behavior .
 type of the data .
Filtering Techniques

Linear Filtering

Non-Linear Filtering
Linear Filter
• Linear filters are used to remove certain type of noise.

• The linear filters work best with salt and pepper noise, and
Gaussian noise.
• Gaussian and mean filters.

• Simple to design .
• These filters also
 tend to blur the sharp edges .
 destroy the lines and other fine details of image .
Linear Filters – Example

Filtered Gaussian
noise.
Non-Linear Filters
• Can preserve edges .
• Very effective at removing impulsive noise .
• They are more powerful than linear filters because they
are able to reduce noise levels without blurring edges.
• Can be difficult to design.
• Median Filter.
Non-linear Filter vs. linear Filter
Filters Types
1)

Median filter .

2)

Wiener Filter .

3)

Mean filter .

4)

Gaussian filter
Median Filter
• Median Filter is a simple and powerful non-linear filter .

• It is used for reducing the amount of intensity variation
between one pixel and the other pixel.
• In this filter, we replaces pixel value with the median value .
• The median is calculated by first sorting all the pixel values into
ascending order and then replace the pixel being calculated
with the middle pixel value

• Salt and pepper noise.
Median Filter
• Advantage:
 It is easy to implement.
 Used for de-noising different types of noises.

• Disadvantage:
 Median Filter tends to remove image details when the impulse
noise percentage is more than 0.4 %.
Example : 3x3 Median
Original

Salt & pepper
%20

De-noising by
Median filter

Original

Salt & pepper
%60

De-noising by
Median filter
Wiener Filter
• The purpose of the Wiener filter is to filter out the
noise that has corrupted a signal.
• This filter is based on a statistical approach.
• The goal of wiener filter is reduced the mean square
error (MSE) as much as possible.
• Poisson noise , speckle noise .
Wiener Filter
• One method that we assume we have knowledge of the
spectral property of the noise and original signal.

•
•
•
•
•

The Fourier domain of the Wiener filter is Where :
H*(u, v) = Complex conjugate of degradation function
Pn (u, v) = Power Spectral Density of Noise
Ps (u, v) = Power Spectral Density of non-degraded image
H (u, v) = Degradation function
Wiener filter Example
Mean Filter
• Mean Filter (average filter) is a simple linear filter .
• Replace each pixel value in an image with the mean value of its
neighbors, including itself.

• Gaussian noise .
• Advantage:
 Easy to implement
 Used to remove the impulse noise.

•

Disadvantage:
 It does not preserve details of image. Some details are removes of image
with using the mean filter.
Mean Filtering Example
Average filtering example using a 3 x 3 sampling window:
Keeping border values unchanged
Mean Filtering - Boundaries
• Average filtering example using a 3 x 3 sampling
window:
Extending border values outside with values at boundary
Mean Filter Example
• (a) Original Image

• (b) Image corrupted by %12
Gaussian noise .
• (c)De –noising by mean filter
Gaussian filter
Gaussian noise
• Gaussian is smoothing filter in the 2D convolution
operation that is used to remove noise and blur from
image.
• Probably the most useful filter (although not the
fastest).
• Gaussian filtering is done by convolution each point
in the input array with a Gaussian kernel and then
summing them all to produce the output array.
Gaussian filter Example

(a) Original

(b)Noisy

(c) Gaussian filter

Image corrupted by %60 salt & Pepper Noise
Performance Parameters
• For comparing original image and filtered image, we calculate
following parameters:
1) Mean Square Error (MSE): The MSE is the cumulative square error
between the encoded and the original image defined by:

Where, f is the original image and g is the filtered image. The dimension of
the images is m x n. Thus MSE should be as low as possible for effective
filtering .
Performance Parameters
2) Signal to Noise Ratio is defined by the power ratio between a signal
and the background noise.

Where P is average power. Both noise and power must be measured at
the same points in a system, and within system with same bandwidth.
Performance Parameters
3) Peak signal to Noise ratio (PSNR):
– It is defined by:
PSNR = 10 log (255^2/mse)
Implementation in Matlab
Conclusion
• Enhancement of an noisy image is necessary task in
image processing.

• Filters are used best for removing noise from the images.
• The decision to apply a which particular filter is based on the
different noise level at the different test pixel location or
performance of the filter scheme on a filtering mask.
QUESTIONS ?
Be nice ...
Noise Removal and Filtering Techniques

Weitere ähnliche Inhalte

Was ist angesagt?

Image compression in digital image processing
Image compression in digital image processingImage compression in digital image processing
Image compression in digital image processingDHIVYADEVAKI
 
Image Filtering in the Frequency Domain
Image Filtering in the Frequency DomainImage Filtering in the Frequency Domain
Image Filtering in the Frequency DomainAmnaakhaan
 
Frequency Domain Image Enhancement Techniques
Frequency Domain Image Enhancement TechniquesFrequency Domain Image Enhancement Techniques
Frequency Domain Image Enhancement TechniquesDiwaker Pant
 
Image Restoration (Order Statistics Filters)
Image Restoration (Order Statistics Filters)Image Restoration (Order Statistics Filters)
Image Restoration (Order Statistics Filters)Kalyan Acharjya
 
Image Enhancement in Spatial Domain
Image Enhancement in Spatial DomainImage Enhancement in Spatial Domain
Image Enhancement in Spatial DomainDEEPASHRI HK
 
Wavelet transform in image compression
Wavelet transform in image compressionWavelet transform in image compression
Wavelet transform in image compressionjeevithaelangovan
 
Image Restoration
Image RestorationImage Restoration
Image RestorationPoonam Seth
 
Image Smoothing using Frequency Domain Filters
Image Smoothing using Frequency Domain FiltersImage Smoothing using Frequency Domain Filters
Image Smoothing using Frequency Domain FiltersSuhaila Afzana
 
Image enhancement techniques
Image enhancement techniques Image enhancement techniques
Image enhancement techniques Arshad khan
 
digital image processing
digital image processingdigital image processing
digital image processingAbinaya B
 
SPATIAL FILTERING IN IMAGE PROCESSING
SPATIAL FILTERING IN IMAGE PROCESSINGSPATIAL FILTERING IN IMAGE PROCESSING
SPATIAL FILTERING IN IMAGE PROCESSINGmuthu181188
 
Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)Kalyan Acharjya
 
Digital Image restoration
Digital Image restorationDigital Image restoration
Digital Image restorationMd Shabir Alam
 
Digital Image Processing - Image Compression
Digital Image Processing - Image CompressionDigital Image Processing - Image Compression
Digital Image Processing - Image CompressionMathankumar S
 
Simultaneous Smoothing and Sharpening of Color Images
Simultaneous Smoothing and Sharpening of Color ImagesSimultaneous Smoothing and Sharpening of Color Images
Simultaneous Smoothing and Sharpening of Color ImagesCristina Pérez Benito
 
Image noise reduction
Image noise reductionImage noise reduction
Image noise reductionJksuryawanshi
 

Was ist angesagt? (20)

Edge detection
Edge detectionEdge detection
Edge detection
 
Image compression in digital image processing
Image compression in digital image processingImage compression in digital image processing
Image compression in digital image processing
 
Image Filtering in the Frequency Domain
Image Filtering in the Frequency DomainImage Filtering in the Frequency Domain
Image Filtering in the Frequency Domain
 
NOISE FILTERS IN IMAGE PROCESSING
NOISE FILTERS IN IMAGE PROCESSINGNOISE FILTERS IN IMAGE PROCESSING
NOISE FILTERS IN IMAGE PROCESSING
 
Frequency Domain Image Enhancement Techniques
Frequency Domain Image Enhancement TechniquesFrequency Domain Image Enhancement Techniques
Frequency Domain Image Enhancement Techniques
 
Image Restoration (Order Statistics Filters)
Image Restoration (Order Statistics Filters)Image Restoration (Order Statistics Filters)
Image Restoration (Order Statistics Filters)
 
Image Enhancement in Spatial Domain
Image Enhancement in Spatial DomainImage Enhancement in Spatial Domain
Image Enhancement in Spatial Domain
 
Wavelet transform in image compression
Wavelet transform in image compressionWavelet transform in image compression
Wavelet transform in image compression
 
Image Restoration
Image RestorationImage Restoration
Image Restoration
 
Image Smoothing using Frequency Domain Filters
Image Smoothing using Frequency Domain FiltersImage Smoothing using Frequency Domain Filters
Image Smoothing using Frequency Domain Filters
 
Region based segmentation
Region based segmentationRegion based segmentation
Region based segmentation
 
Image enhancement techniques
Image enhancement techniques Image enhancement techniques
Image enhancement techniques
 
Data Redundacy
Data RedundacyData Redundacy
Data Redundacy
 
digital image processing
digital image processingdigital image processing
digital image processing
 
SPATIAL FILTERING IN IMAGE PROCESSING
SPATIAL FILTERING IN IMAGE PROCESSINGSPATIAL FILTERING IN IMAGE PROCESSING
SPATIAL FILTERING IN IMAGE PROCESSING
 
Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)
 
Digital Image restoration
Digital Image restorationDigital Image restoration
Digital Image restoration
 
Digital Image Processing - Image Compression
Digital Image Processing - Image CompressionDigital Image Processing - Image Compression
Digital Image Processing - Image Compression
 
Simultaneous Smoothing and Sharpening of Color Images
Simultaneous Smoothing and Sharpening of Color ImagesSimultaneous Smoothing and Sharpening of Color Images
Simultaneous Smoothing and Sharpening of Color Images
 
Image noise reduction
Image noise reductionImage noise reduction
Image noise reduction
 

Ähnlich wie Noise Removal and Filtering Techniques

Image processing, Noise, Noise Removal filters
Image processing, Noise, Noise Removal filtersImage processing, Noise, Noise Removal filters
Image processing, Noise, Noise Removal filtersKuppusamy P
 
Image Restoration and Reconstruction in Digital Image Processing
Image Restoration and Reconstruction in Digital Image ProcessingImage Restoration and Reconstruction in Digital Image Processing
Image Restoration and Reconstruction in Digital Image ProcessingSadia Zafar
 
Noise Estimation & Filtering_.pptx
Noise Estimation  & Filtering_.pptxNoise Estimation  & Filtering_.pptx
Noise Estimation & Filtering_.pptxSudipKG
 
noiseestimationfiltering-221217050348-c5d1a246.pdf
noiseestimationfiltering-221217050348-c5d1a246.pdfnoiseestimationfiltering-221217050348-c5d1a246.pdf
noiseestimationfiltering-221217050348-c5d1a246.pdfAmrilMukmin2
 
Removal of Salt and Pepper Noise in images
Removal of Salt and Pepper Noise in imagesRemoval of Salt and Pepper Noise in images
Removal of Salt and Pepper Noise in imagesMurali Siva
 
Iaetsd literature review on efficient detection and filtering of high
Iaetsd literature review on efficient detection and filtering of highIaetsd literature review on efficient detection and filtering of high
Iaetsd literature review on efficient detection and filtering of highIaetsd Iaetsd
 
Smoothing in Digital Image Processing
Smoothing in Digital Image ProcessingSmoothing in Digital Image Processing
Smoothing in Digital Image ProcessingPallavi Agarwal
 
IMAGE DENOISING USING HYBRID FILTER
IMAGE DENOISING USING HYBRID FILTERIMAGE DENOISING USING HYBRID FILTER
IMAGE DENOISING USING HYBRID FILTERPushparaj Pal
 
ModuleII091.pdf
ModuleII091.pdfModuleII091.pdf
ModuleII091.pdfSamrajECE
 
Performance Comparison of Various Filters and Wavelet Transform for Image De-...
Performance Comparison of Various Filters and Wavelet Transform for Image De-...Performance Comparison of Various Filters and Wavelet Transform for Image De-...
Performance Comparison of Various Filters and Wavelet Transform for Image De-...IOSR Journals
 
Image Restoration Using Particle Filters By Improving The Scale Of Texture Wi...
Image Restoration Using Particle Filters By Improving The Scale Of Texture Wi...Image Restoration Using Particle Filters By Improving The Scale Of Texture Wi...
Image Restoration Using Particle Filters By Improving The Scale Of Texture Wi...CSCJournals
 
reducing noises in images
reducing noises in imagesreducing noises in images
reducing noises in imagesaswathdas
 
survey paper for image denoising
survey paper for image denoisingsurvey paper for image denoising
survey paper for image denoisingArti Singh
 
Review Paper on Image Denoising Techniques
Review Paper  on Image Denoising TechniquesReview Paper  on Image Denoising Techniques
Review Paper on Image Denoising TechniquesIRJET Journal
 

Ähnlich wie Noise Removal and Filtering Techniques (20)

Image processing, Noise, Noise Removal filters
Image processing, Noise, Noise Removal filtersImage processing, Noise, Noise Removal filters
Image processing, Noise, Noise Removal filters
 
Image Restoration and Reconstruction in Digital Image Processing
Image Restoration and Reconstruction in Digital Image ProcessingImage Restoration and Reconstruction in Digital Image Processing
Image Restoration and Reconstruction in Digital Image Processing
 
Module 31
Module 31Module 31
Module 31
 
Noise Estimation & Filtering_.pptx
Noise Estimation  & Filtering_.pptxNoise Estimation  & Filtering_.pptx
Noise Estimation & Filtering_.pptx
 
noiseestimationfiltering-221217050348-c5d1a246.pdf
noiseestimationfiltering-221217050348-c5d1a246.pdfnoiseestimationfiltering-221217050348-c5d1a246.pdf
noiseestimationfiltering-221217050348-c5d1a246.pdf
 
DIP -Unit 3 ppt.pptx
DIP -Unit 3 ppt.pptxDIP -Unit 3 ppt.pptx
DIP -Unit 3 ppt.pptx
 
Removal of Salt and Pepper Noise in images
Removal of Salt and Pepper Noise in imagesRemoval of Salt and Pepper Noise in images
Removal of Salt and Pepper Noise in images
 
Image Filtering
Image FilteringImage Filtering
Image Filtering
 
Noise
NoiseNoise
Noise
 
Iaetsd literature review on efficient detection and filtering of high
Iaetsd literature review on efficient detection and filtering of highIaetsd literature review on efficient detection and filtering of high
Iaetsd literature review on efficient detection and filtering of high
 
Smoothing in Digital Image Processing
Smoothing in Digital Image ProcessingSmoothing in Digital Image Processing
Smoothing in Digital Image Processing
 
Image denoising
Image denoisingImage denoising
Image denoising
 
IMAGE DENOISING USING HYBRID FILTER
IMAGE DENOISING USING HYBRID FILTERIMAGE DENOISING USING HYBRID FILTER
IMAGE DENOISING USING HYBRID FILTER
 
ModuleII091.pdf
ModuleII091.pdfModuleII091.pdf
ModuleII091.pdf
 
Performance Comparison of Various Filters and Wavelet Transform for Image De-...
Performance Comparison of Various Filters and Wavelet Transform for Image De-...Performance Comparison of Various Filters and Wavelet Transform for Image De-...
Performance Comparison of Various Filters and Wavelet Transform for Image De-...
 
L011117884
L011117884L011117884
L011117884
 
Image Restoration Using Particle Filters By Improving The Scale Of Texture Wi...
Image Restoration Using Particle Filters By Improving The Scale Of Texture Wi...Image Restoration Using Particle Filters By Improving The Scale Of Texture Wi...
Image Restoration Using Particle Filters By Improving The Scale Of Texture Wi...
 
reducing noises in images
reducing noises in imagesreducing noises in images
reducing noises in images
 
survey paper for image denoising
survey paper for image denoisingsurvey paper for image denoising
survey paper for image denoising
 
Review Paper on Image Denoising Techniques
Review Paper  on Image Denoising TechniquesReview Paper  on Image Denoising Techniques
Review Paper on Image Denoising Techniques
 

Kürzlich hochgeladen

Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 

Kürzlich hochgeladen (20)

Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 

Noise Removal and Filtering Techniques

  • 1. Noise Addition and Filtering ` Presented By : Sara El-Masri Alaa Sababbah Amna El-Sheikh Ali Supervised By : Dr. Samy Salamah
  • 3. 1. Introduction • It is generally desirable for image brightness to be uniform except where it changes to form an image. • There are factors, however, that tend to produce variation in the brightness of a displayed image even when no image detail is present. • This variation is usually random and has no particular pattern.
  • 4. 1. Introduction (cont.) In many cases, it reduces image quality and is especially significant when the objects being imaged are small and have relatively low contrast. This random variation in image brightness is designated noise.
  • 5. 1. Introduction (cont.) Image on the right has more noise than the image on the left
  • 6. Images • There are two types of images :  Vector images  Digital images
  • 7. Vector Images • Vector images made up of vectors which lead through locations called control points. • Each of these control points has define on the x and y axes of the work plain .
  • 8. Digital Images • A digital image is 2-dim array of real numbers • 2-D image is divided into N rows and M columns • the intersection of these rows and columns is known as pixels
  • 9. Types of Digital Images • Binary images (black and white images) • Gray scale images • Color images
  • 10. Binary Images • Each pixel is just black or white • There is only two possible values for each pixel i.e. 0 or 1
  • 11. Gray Scale Images • Each pixel value of gray scale images normally from 0 (black) to 255 (white)
  • 12. Color images • In color images each pixel has a particular color ; that color being described by the amount of red , blue and green in it . • Each of these components has a rang 0-255
  • 13. 2. Image noise Noise in image , is any degradation in an image signal , caused by external disturbance while an image is being sent from one place to another place via satellite , wireless and network cable . We can model a noisy image as follows:
  • 14. Source of Image Noise • Error occurs in image signal while an image is being sent electronically from one place to another . • Sensor heat while clicking an image • ISO factor ISO number indicates how quickly a camera’s sensor absorbs , light , higher ISO used mare chance of noticeable noise • By memory cell failure.
  • 15. Types of Image Noise 1) Salt and pepper noise 2) Gaussian noise 3) Speckle noise 4) Uniform noise
  • 16. Salt and pepper noise • It known as shot noise, impulse noise or Spike noise . • Its appearance is randomly scattered white or black or both pixel over the image . • there are only two possible values exists that is a and b and the probability of each is less than 0.2 .
  • 17. Salt and pepper noise (cont.) Reasons for Salt and Pepper Noise: 1) 2) 3) By memory cell failure. By malfunctioning of camera’s sensor cells. By synchronization errors in image digitizing or transmission. Where: pa, pb are the Probabilities Density Function (PDF), p(z) is distribution salt and pepper noise in image and A, B are the arrays size image.
  • 18. Salt and pepper noise (cont.)
  • 19. Image with Salt and Pepper Original Image
  • 20. Salt and pepper noise (cont.) • filtering techniques :  mean filtering .  Median filtering  Gaussian filtering
  • 21. Gaussian Noise Gaussian noise is caused by random fluctuations in the signal , its modeled by random values add to an image This noise has a probability density function [pdf] of the normal distribution. It is also known as Gaussian distribution.
  • 22.
  • 23. Gaussian Noise (cont.) Without Noise With Gaussian Noise
  • 25. Sources of Gaussian Noise • In digital images arise during acquisition . e.g. Sensor noise caused by poor illumination and/or high temperature • Transmission e.g. Electronic circuit noise .
  • 26. Gaussian Noise (cont.) • filtering techniques : mean (convolution) filtering Median filtering Gaussian filtering
  • 27. Speckle Noise • Speckle noise can be modeled by random values multiplied by pixel values of an image • results from random fluctuations in the return signal from an object that is no bigger than a single image-processing element. It increases the mean grey level of a local area.
  • 28. Speckle Noise The distribution noise can be expressed by: Where g(n,m), is the observed image , u(n,m) is the multiplicative component . and &(n,m) is the additive component of the speckle noise.
  • 30. Speckle Noise (cont.) • filtering techniques : mean (convolution) filtering Median filtering
  • 31. Uniform Noise • The uniform noise cause by quantizing the pixels of image to a number of distinct levels is known as quantization noise. • Uniform noise can be analytically described by : • The gray level values of the noise are evenly distributed across a specific range
  • 32. Uniform Noise (cont.) • Quantization noise has an approximately uniform distribution
  • 34. 3. Filtering • Filtering image data is a standard process used in almost all image processing systems. • Filters are used to remove noise from digital image while keeping the details of image preserved. • The choice of filter is determined by  the nature of the task performed by filter .  Filter behavior .  type of the data .
  • 36. Linear Filter • Linear filters are used to remove certain type of noise. • The linear filters work best with salt and pepper noise, and Gaussian noise. • Gaussian and mean filters. • Simple to design . • These filters also  tend to blur the sharp edges .  destroy the lines and other fine details of image .
  • 37. Linear Filters – Example Filtered Gaussian noise.
  • 38. Non-Linear Filters • Can preserve edges . • Very effective at removing impulsive noise . • They are more powerful than linear filters because they are able to reduce noise levels without blurring edges. • Can be difficult to design. • Median Filter.
  • 39. Non-linear Filter vs. linear Filter
  • 40. Filters Types 1) Median filter . 2) Wiener Filter . 3) Mean filter . 4) Gaussian filter
  • 41. Median Filter • Median Filter is a simple and powerful non-linear filter . • It is used for reducing the amount of intensity variation between one pixel and the other pixel. • In this filter, we replaces pixel value with the median value . • The median is calculated by first sorting all the pixel values into ascending order and then replace the pixel being calculated with the middle pixel value • Salt and pepper noise.
  • 42. Median Filter • Advantage:  It is easy to implement.  Used for de-noising different types of noises. • Disadvantage:  Median Filter tends to remove image details when the impulse noise percentage is more than 0.4 %.
  • 43. Example : 3x3 Median
  • 44. Original Salt & pepper %20 De-noising by Median filter Original Salt & pepper %60 De-noising by Median filter
  • 45. Wiener Filter • The purpose of the Wiener filter is to filter out the noise that has corrupted a signal. • This filter is based on a statistical approach. • The goal of wiener filter is reduced the mean square error (MSE) as much as possible. • Poisson noise , speckle noise .
  • 46. Wiener Filter • One method that we assume we have knowledge of the spectral property of the noise and original signal. • • • • • The Fourier domain of the Wiener filter is Where : H*(u, v) = Complex conjugate of degradation function Pn (u, v) = Power Spectral Density of Noise Ps (u, v) = Power Spectral Density of non-degraded image H (u, v) = Degradation function
  • 48. Mean Filter • Mean Filter (average filter) is a simple linear filter . • Replace each pixel value in an image with the mean value of its neighbors, including itself. • Gaussian noise . • Advantage:  Easy to implement  Used to remove the impulse noise. • Disadvantage:  It does not preserve details of image. Some details are removes of image with using the mean filter.
  • 49. Mean Filtering Example Average filtering example using a 3 x 3 sampling window: Keeping border values unchanged
  • 50. Mean Filtering - Boundaries • Average filtering example using a 3 x 3 sampling window: Extending border values outside with values at boundary
  • 51. Mean Filter Example • (a) Original Image • (b) Image corrupted by %12 Gaussian noise . • (c)De –noising by mean filter
  • 52. Gaussian filter Gaussian noise • Gaussian is smoothing filter in the 2D convolution operation that is used to remove noise and blur from image. • Probably the most useful filter (although not the fastest). • Gaussian filtering is done by convolution each point in the input array with a Gaussian kernel and then summing them all to produce the output array.
  • 53. Gaussian filter Example (a) Original (b)Noisy (c) Gaussian filter Image corrupted by %60 salt & Pepper Noise
  • 54. Performance Parameters • For comparing original image and filtered image, we calculate following parameters: 1) Mean Square Error (MSE): The MSE is the cumulative square error between the encoded and the original image defined by: Where, f is the original image and g is the filtered image. The dimension of the images is m x n. Thus MSE should be as low as possible for effective filtering .
  • 55. Performance Parameters 2) Signal to Noise Ratio is defined by the power ratio between a signal and the background noise. Where P is average power. Both noise and power must be measured at the same points in a system, and within system with same bandwidth.
  • 56. Performance Parameters 3) Peak signal to Noise ratio (PSNR): – It is defined by: PSNR = 10 log (255^2/mse)
  • 58. Conclusion • Enhancement of an noisy image is necessary task in image processing. • Filters are used best for removing noise from the images. • The decision to apply a which particular filter is based on the different noise level at the different test pixel location or performance of the filter scheme on a filtering mask.