SlideShare a Scribd company logo
1 of 63
Model of image degradation/restoration process
Noise models.
Restoration in the Presence of Noise Only– Spatial
Filtering.
 Periodic Noise Reduction by Frequency Domain
Filtering.
 Linear Position– Invariant Degradations
 Inverse filtering.
Image Restoration
Image restoration is to restore a degraded image
back to the original image while image
enhancement is to manipulate the image so that it
is suitable for a specific application.
Preview
■ Goal of Image Restoration
■ Improve an image in some predefined sense
■ Difference with image enhancement ?
■ Features
■ Image restoration v.s image enhancement
■ Objective process v.s. subjective process
■ A prior knowledge v.s heuristic process
■ A prior knowledge of the degradation
phenomenon is considered
■ Modeling the degradation and apply the
inverse process to recover the original
image
Degradation/Restoration Process
Degradation function H, and some knowledge about the additive noise
term the objective of restoration is to obtain an estimate of the original
image. f(x,y) is an input g(x,y)is an degraded and n(x,y) is a noisy image
* ->convolution
g(x,y)=f(x,y)*h(x,y)+n(x,y)
G(u,v)=F(u,v)H(u,v)+N(u,v)
degradation/restoration
process
Noisemodels
■ Source of noise
■ Image acquisition (digitization)
■ Image transmission
■ Spatial properties of noise
■ Statistical behavior of the gray-level values
of pixels
■ Noise parameters, correlation with the image
■ Frequency properties of noise
■ Fourier spectrum
Noise probability density
functions
■ Noises are taken as random variables
■ Random variables
■ Probability density function (PDF)
■ a probability density function (PDF), density of a
continuous random variable lying between a
specific range of values
Gaussian noise
■ In spatial and frequency
domain.
 Due to factors such as electronic
circuit noise and sensor noise due to
poor illumination and/or high
temperature.
Rayleigh Noise
Erlang (gamma) Noise
Eq. (5.2-5) often is referred to as the gamma density, or the Erlang
density
Exponential noise
Uniform noise
Impulse (salt-and-pepper)
noise
• If intensity b > a then b will appear as a light dot in the image.
• If a >b a will appear like a dark dot.
• If either is zero, the impulse noise is called unipolar.
• Bipolar impulse noise also is called salt and- pepper noise. Data-
drop-out and spike noise.
• The Rayleigh density -noise phenomena in range imaging
• Exponential and gamma densities-laser imaging
• Impulse noise -faulty switching, take place during imaging.
• Uniform density - Random number generators that are used in
simulations
PDFs of some important noise
models
Test for noise behavior
■ Test pattern
Its histogram:
0 255
Periodic noise
■ Arise from electrical or
electromechanical interference
during image acquisition
■ Can be reduced using frequency
domain
Sinusoidal noise:
frequency domain
Estimation of Noise Parameters
The parameters of periodic noise-inspection of the
Fourier spectrum of the image.
 Automated analysis - visual analysis.
Attempt to infer the periodicity of noise
components directly from the image, in
simplistic cases.
Observe the histogram
Mean and variance
Mean and variance of intensity levels from the data
from the image strips.
Consider a strip (subimage) denoted by S, and
denote the probability estimates of the intensities
of the pixels in S, where L is the number of possible
intensities in the entire image (e.g., 256 for an 8-bit
image).
Additive noise only
g(x,y)=f(x,y)+ (x,y)
G(u,v)=F(u,v)+N(u,v)
Restoration in the presence of noise
only – spatial filtering
When the only degradation present in an image
is noise, Eqs. (5.1-1) and (5.1-2)
Mean filter
1. Arithmetic mean filter
• Let Sxy represent the set of coordinates in a
rectangular subimage window (neighborhood) of
size mxn centered at point (x, y).
• The arithmetic mean filter computes the
average value of the corrupted image g(x,y)in
the area defined by Sxy .
• A mean filter smooths local variations in an
image, and noise is reduced with blurring.
Mean filter
2. Geometric mean filter
• Each restored pixel is given by the product of the
pixels in the subimage window, raised to the power
1/mn.
• Good smoothing comparable to the arithmetic mean
filter, but lose less image details.
Mean filter
3. Harmonic mean filter
• The harmonic mean filter works well for salt
noise, but fails for pepper noise.
• Works well for Gaussian noise.
Mean filter
3. Contraharmonic mean filter
• Q is called the order of the filter.
• Useful in reducing effects of salt-and-pepper noise.
• Q is positive , eliminates pepper noise.
• Q is negative eliminates salt noise.
• It cannot do both simultaneously.
• arithmetic mean filter if Q = 0,
• harmonic mean filter if Q = -1.
Mean filter
Corrupted with additive Gaussian noise of zero
mean and variance of 400
Image is corrupted now by pepper noise with
probability of 0.1.
Wrong sign in contra-harmonic filter
Q=-1.5 Q= 1.5
5.3.2 Order-Statistic Filters
1. Median filter
• median of the intensity levels in the neighborhood
of that pixel:
• Reduce bipolar and unipolar impulse noise
5.3.2 Order-Statistic Filters
2. Max and min filters
• Useful for finding the brightest points in an
image.
• Pepper noise reduced by this filter
5.3.2 Order-Statistic Filters
2. Max and min filters
• Finding the darkest points in an image.
• Reduces salt noise
5.3.2 Order-Statistic Filters
3. Midpoint filter
• Midpoint between the maximum and minimum
values.
• combines order statistics and averaging.
• It works best for randomly distributed noise, like
Gaussian or uniform noise.
5.3.2 Order-Statistic Filters
4. Alpha-trimmed mean filter
5.3.3 Adaptive Filters
• The filters are independent of image characteristics
vary from one point to another
• Adaptive, local noise reduction filter
 Depend on Mean and Variance
 Mean is a -- of average gray level in the region,
 variance gives a measure of contrast in that region.
'mean' ---- contribution of individual pixel intensity for the entire
image
Variance - how each pixel varies from the neighbouring pixel
(or centre pixel)
On a local region Sxy it should satisfy four
quantities:
(a) g(x,y)the value of the noisy image at (x, y);
(b) The variance of the noise corrupting
f(x,y)to g(x,y)
(c) mL local mean of the pixels in Sxy
(d) The local variance of the pixels in Sxy
2.If the local variance is high relative to the filter should
return a value close to g(x, y).
3.If the two variances(local variance and noise variance)
are equal return the arithmetic mean value of the pixels in
Sxy.
An adaptive expression is
Estimation required
Adaptive median filter
Suitable for higher rate of Impulse Noise > 0.2 by preserving the details of an image
Three purposes
1. Remove salt-and-pepper (impulse) noise
2. Reduce distortion, such as excessive thinning
or thickening of object boundaries.
Adaptive median filter
Periodic Noise Reduction by Frequency
Domain Filtering
The three types of selective filters
5.4.1 Bandreject Filters
• A band reject filter is useful when the general location of the noise in
the frequency domain is known.
• A band reject filter blocks frequencies within the chosen range
and lets frequencies outside of the range pass through.
5.4.2 Bandpass Filters
• A bandpass filter performs the opposite operation of a
bandreject.
• Enhance edges (suppressing low frequencies) while
reducing the noise at the same time (attenuating high
frequencies).
• Given as a fraction of the highest frequency
represented in the Fourier domain image.
5.4.3 Notch Filters
• A notch filter rejects (or passes) frequencies
in predefined neighborhoods about a center
frequency.
5.4.4 Optimum Notch Filtering
• It minimizes local variances of the restored
estimate .
Extract the principal frequency components
of the interference pattern
HNP(u, v), is the noise with the interference
pattern, then the Fourier transform of the
interference noise pattern is given by the
expression
G(u,v) is Fourier transform of the corrupted image.
• The effect of components not present in the
estimate of can be minimized instead by
subtracting g(x,y) from a weighted portion of
to obtain an estimate of f(x,y):
• is the estimate of f(x,y) and w(x,y)is to be
determined.
• The function w(x,y) is called a weighting or
modulation function, and the objective of the
procedure is to select this function so that the result
is optimized.
5.5 Linear, Position-Invariant
Degradations
The input-output relationship in restoration stage is
expressed as
is called the impulse response of H
If in Eq. (5.5-1) then is the response of H to
an impulse at coordinates (x, y). The impulse becomes a point
of light and is point spread function (PSF). This
which is called the superposition (or Fredholm) integral of the
first kind,from the linear system theory. If the response of H to
an impulse is known, the response to any input can be
calculated by means of Eq. (5.5-11)
This expression is the convolution integral. This integral tells us that
knowing the impulse response of a linear system allows us to compute
its response, g, to any input f. The result is simply the convolution of
the impulse response and the input function.
In the presence of additive noise
5.7 Inverse Filtering
An estimate of the transform of the original
image simply by dividing the transform of the
degraded image G(u,v)by the degradation function
Substituting the right side of Eq. (5.1-2) for G(u,v)in
Eq. (5.7-1) yields
if we know the degradation function we cannot
recover the undegraded image [the inverse
Fourier transform of F(u,v) exactly because is
N(u,v)is not known.
If the degradation function has zero or very
small values, then the ratio could
easily dominate the estimate

More Related Content

Similar to DIP -Unit 3 ppt.pptx

Image Enhancement using Frequency Domain Filters
Image Enhancement using Frequency Domain FiltersImage Enhancement using Frequency Domain Filters
Image Enhancement using Frequency Domain FiltersKarthika Ramachandran
 
Digital Image restoration
Digital Image restorationDigital Image restoration
Digital Image restorationMd Shabir Alam
 
ModuleII091.pdf
ModuleII091.pdfModuleII091.pdf
ModuleII091.pdfSamrajECE
 
04 cie552 image_filtering_frequency
04 cie552 image_filtering_frequency04 cie552 image_filtering_frequency
04 cie552 image_filtering_frequencyElsayed Hemayed
 
08 frequency domain filtering DIP
08 frequency domain filtering DIP08 frequency domain filtering DIP
08 frequency domain filtering DIPbabak danyal
 
Image_filtering (1).pptx
Image_filtering (1).pptxImage_filtering (1).pptx
Image_filtering (1).pptxwdwd10
 
An Adaptive approach to retrieve image affected by impulse noise from documents
An Adaptive approach to retrieve image affected by impulse noise from documentsAn Adaptive approach to retrieve image affected by impulse noise from documents
An Adaptive approach to retrieve image affected by impulse noise from documentsiosrjce
 
Smoothing in Digital Image Processing
Smoothing in Digital Image ProcessingSmoothing in Digital Image Processing
Smoothing in Digital Image ProcessingPallavi Agarwal
 
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
 
Comparison of Denoising Filters on Greyscale TEM Image for Different Noise
Comparison of Denoising Filters on Greyscale TEM Image for  Different NoiseComparison of Denoising Filters on Greyscale TEM Image for  Different Noise
Comparison of Denoising Filters on Greyscale TEM Image for Different NoiseIOSR Journals
 

Similar to DIP -Unit 3 ppt.pptx (20)

Image Enhancement using Frequency Domain Filters
Image Enhancement using Frequency Domain FiltersImage Enhancement using Frequency Domain Filters
Image Enhancement using Frequency Domain Filters
 
Digital Image restoration
Digital Image restorationDigital Image restoration
Digital Image restoration
 
unit-3.ppt
unit-3.pptunit-3.ppt
unit-3.ppt
 
Lecture 4
Lecture 4Lecture 4
Lecture 4
 
ModuleII091.pdf
ModuleII091.pdfModuleII091.pdf
ModuleII091.pdf
 
04 cie552 image_filtering_frequency
04 cie552 image_filtering_frequency04 cie552 image_filtering_frequency
04 cie552 image_filtering_frequency
 
08 frequency domain filtering DIP
08 frequency domain filtering DIP08 frequency domain filtering DIP
08 frequency domain filtering DIP
 
Image_filtering (1).pptx
Image_filtering (1).pptxImage_filtering (1).pptx
Image_filtering (1).pptx
 
vs.pptx
vs.pptxvs.pptx
vs.pptx
 
H017334953
H017334953H017334953
H017334953
 
An Adaptive approach to retrieve image affected by impulse noise from documents
An Adaptive approach to retrieve image affected by impulse noise from documentsAn Adaptive approach to retrieve image affected by impulse noise from documents
An Adaptive approach to retrieve image affected by impulse noise from documents
 
image restoration.ppt
image restoration.pptimage restoration.ppt
image restoration.ppt
 
PID3474431
PID3474431PID3474431
PID3474431
 
M.sc.iii sem digital image processing unit iv
M.sc.iii sem digital image processing unit ivM.sc.iii sem digital image processing unit iv
M.sc.iii sem digital image processing unit iv
 
Smoothing in Digital Image Processing
Smoothing in Digital Image ProcessingSmoothing in Digital Image Processing
Smoothing in Digital Image Processing
 
Image Filtering
Image FilteringImage Filtering
Image Filtering
 
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-...
 
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...
 
Gg2411291135
Gg2411291135Gg2411291135
Gg2411291135
 
Comparison of Denoising Filters on Greyscale TEM Image for Different Noise
Comparison of Denoising Filters on Greyscale TEM Image for  Different NoiseComparison of Denoising Filters on Greyscale TEM Image for  Different Noise
Comparison of Denoising Filters on Greyscale TEM Image for Different Noise
 

Recently uploaded

main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
microprocessor 8085 and its interfacing
microprocessor 8085  and its interfacingmicroprocessor 8085  and its interfacing
microprocessor 8085 and its interfacingjaychoudhary37
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learningmisbanausheenparvam
 

Recently uploaded (20)

main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
microprocessor 8085 and its interfacing
microprocessor 8085  and its interfacingmicroprocessor 8085  and its interfacing
microprocessor 8085 and its interfacing
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learning
 

DIP -Unit 3 ppt.pptx

  • 1. Model of image degradation/restoration process Noise models. Restoration in the Presence of Noise Only– Spatial Filtering.  Periodic Noise Reduction by Frequency Domain Filtering.  Linear Position– Invariant Degradations  Inverse filtering. Image Restoration
  • 2. Image restoration is to restore a degraded image back to the original image while image enhancement is to manipulate the image so that it is suitable for a specific application.
  • 3. Preview ■ Goal of Image Restoration ■ Improve an image in some predefined sense ■ Difference with image enhancement ? ■ Features ■ Image restoration v.s image enhancement ■ Objective process v.s. subjective process ■ A prior knowledge v.s heuristic process ■ A prior knowledge of the degradation phenomenon is considered ■ Modeling the degradation and apply the inverse process to recover the original image
  • 4. Degradation/Restoration Process Degradation function H, and some knowledge about the additive noise term the objective of restoration is to obtain an estimate of the original image. f(x,y) is an input g(x,y)is an degraded and n(x,y) is a noisy image * ->convolution g(x,y)=f(x,y)*h(x,y)+n(x,y) G(u,v)=F(u,v)H(u,v)+N(u,v)
  • 6. Noisemodels ■ Source of noise ■ Image acquisition (digitization) ■ Image transmission ■ Spatial properties of noise ■ Statistical behavior of the gray-level values of pixels ■ Noise parameters, correlation with the image ■ Frequency properties of noise ■ Fourier spectrum
  • 7. Noise probability density functions ■ Noises are taken as random variables ■ Random variables ■ Probability density function (PDF) ■ a probability density function (PDF), density of a continuous random variable lying between a specific range of values
  • 8. Gaussian noise ■ In spatial and frequency domain.  Due to factors such as electronic circuit noise and sensor noise due to poor illumination and/or high temperature.
  • 10. Erlang (gamma) Noise Eq. (5.2-5) often is referred to as the gamma density, or the Erlang density
  • 13. Impulse (salt-and-pepper) noise • If intensity b > a then b will appear as a light dot in the image. • If a >b a will appear like a dark dot. • If either is zero, the impulse noise is called unipolar. • Bipolar impulse noise also is called salt and- pepper noise. Data- drop-out and spike noise.
  • 14. • The Rayleigh density -noise phenomena in range imaging • Exponential and gamma densities-laser imaging • Impulse noise -faulty switching, take place during imaging. • Uniform density - Random number generators that are used in simulations
  • 15. PDFs of some important noise models
  • 16. Test for noise behavior ■ Test pattern Its histogram: 0 255
  • 17.
  • 18.
  • 19. Periodic noise ■ Arise from electrical or electromechanical interference during image acquisition ■ Can be reduced using frequency domain
  • 21.
  • 22. Estimation of Noise Parameters The parameters of periodic noise-inspection of the Fourier spectrum of the image.  Automated analysis - visual analysis. Attempt to infer the periodicity of noise components directly from the image, in simplistic cases.
  • 24. Mean and variance Mean and variance of intensity levels from the data from the image strips. Consider a strip (subimage) denoted by S, and denote the probability estimates of the intensities of the pixels in S, where L is the number of possible intensities in the entire image (e.g., 256 for an 8-bit image).
  • 25. Additive noise only g(x,y)=f(x,y)+ (x,y) G(u,v)=F(u,v)+N(u,v)
  • 26. Restoration in the presence of noise only – spatial filtering When the only degradation present in an image is noise, Eqs. (5.1-1) and (5.1-2)
  • 27. Mean filter 1. Arithmetic mean filter • Let Sxy represent the set of coordinates in a rectangular subimage window (neighborhood) of size mxn centered at point (x, y). • The arithmetic mean filter computes the average value of the corrupted image g(x,y)in the area defined by Sxy . • A mean filter smooths local variations in an image, and noise is reduced with blurring.
  • 28.
  • 29. Mean filter 2. Geometric mean filter • Each restored pixel is given by the product of the pixels in the subimage window, raised to the power 1/mn. • Good smoothing comparable to the arithmetic mean filter, but lose less image details.
  • 30. Mean filter 3. Harmonic mean filter • The harmonic mean filter works well for salt noise, but fails for pepper noise. • Works well for Gaussian noise.
  • 31. Mean filter 3. Contraharmonic mean filter • Q is called the order of the filter. • Useful in reducing effects of salt-and-pepper noise. • Q is positive , eliminates pepper noise. • Q is negative eliminates salt noise. • It cannot do both simultaneously. • arithmetic mean filter if Q = 0, • harmonic mean filter if Q = -1.
  • 32. Mean filter Corrupted with additive Gaussian noise of zero mean and variance of 400
  • 33. Image is corrupted now by pepper noise with probability of 0.1.
  • 34. Wrong sign in contra-harmonic filter Q=-1.5 Q= 1.5
  • 35. 5.3.2 Order-Statistic Filters 1. Median filter • median of the intensity levels in the neighborhood of that pixel: • Reduce bipolar and unipolar impulse noise
  • 36. 5.3.2 Order-Statistic Filters 2. Max and min filters • Useful for finding the brightest points in an image. • Pepper noise reduced by this filter
  • 37. 5.3.2 Order-Statistic Filters 2. Max and min filters • Finding the darkest points in an image. • Reduces salt noise
  • 38. 5.3.2 Order-Statistic Filters 3. Midpoint filter • Midpoint between the maximum and minimum values. • combines order statistics and averaging. • It works best for randomly distributed noise, like Gaussian or uniform noise.
  • 39. 5.3.2 Order-Statistic Filters 4. Alpha-trimmed mean filter
  • 40.
  • 41. 5.3.3 Adaptive Filters • The filters are independent of image characteristics vary from one point to another • Adaptive, local noise reduction filter  Depend on Mean and Variance  Mean is a -- of average gray level in the region,  variance gives a measure of contrast in that region. 'mean' ---- contribution of individual pixel intensity for the entire image Variance - how each pixel varies from the neighbouring pixel (or centre pixel)
  • 42. On a local region Sxy it should satisfy four quantities: (a) g(x,y)the value of the noisy image at (x, y); (b) The variance of the noise corrupting f(x,y)to g(x,y) (c) mL local mean of the pixels in Sxy (d) The local variance of the pixels in Sxy
  • 43. 2.If the local variance is high relative to the filter should return a value close to g(x, y). 3.If the two variances(local variance and noise variance) are equal return the arithmetic mean value of the pixels in Sxy. An adaptive expression is Estimation required
  • 44. Adaptive median filter Suitable for higher rate of Impulse Noise > 0.2 by preserving the details of an image
  • 45. Three purposes 1. Remove salt-and-pepper (impulse) noise 2. Reduce distortion, such as excessive thinning or thickening of object boundaries. Adaptive median filter
  • 46. Periodic Noise Reduction by Frequency Domain Filtering The three types of selective filters 5.4.1 Bandreject Filters • A band reject filter is useful when the general location of the noise in the frequency domain is known. • A band reject filter blocks frequencies within the chosen range and lets frequencies outside of the range pass through.
  • 47. 5.4.2 Bandpass Filters • A bandpass filter performs the opposite operation of a bandreject. • Enhance edges (suppressing low frequencies) while reducing the noise at the same time (attenuating high frequencies). • Given as a fraction of the highest frequency represented in the Fourier domain image.
  • 48.
  • 49.
  • 50.
  • 51. 5.4.3 Notch Filters • A notch filter rejects (or passes) frequencies in predefined neighborhoods about a center frequency.
  • 52.
  • 53. 5.4.4 Optimum Notch Filtering • It minimizes local variances of the restored estimate .
  • 54. Extract the principal frequency components of the interference pattern HNP(u, v), is the noise with the interference pattern, then the Fourier transform of the interference noise pattern is given by the expression G(u,v) is Fourier transform of the corrupted image.
  • 55. • The effect of components not present in the estimate of can be minimized instead by subtracting g(x,y) from a weighted portion of to obtain an estimate of f(x,y): • is the estimate of f(x,y) and w(x,y)is to be determined. • The function w(x,y) is called a weighting or modulation function, and the objective of the procedure is to select this function so that the result is optimized.
  • 56. 5.5 Linear, Position-Invariant Degradations The input-output relationship in restoration stage is expressed as
  • 57.
  • 58.
  • 59. is called the impulse response of H If in Eq. (5.5-1) then is the response of H to an impulse at coordinates (x, y). The impulse becomes a point of light and is point spread function (PSF). This which is called the superposition (or Fredholm) integral of the first kind,from the linear system theory. If the response of H to an impulse is known, the response to any input can be calculated by means of Eq. (5.5-11)
  • 60. This expression is the convolution integral. This integral tells us that knowing the impulse response of a linear system allows us to compute its response, g, to any input f. The result is simply the convolution of the impulse response and the input function. In the presence of additive noise
  • 61.
  • 62. 5.7 Inverse Filtering An estimate of the transform of the original image simply by dividing the transform of the degraded image G(u,v)by the degradation function Substituting the right side of Eq. (5.1-2) for G(u,v)in Eq. (5.7-1) yields
  • 63. if we know the degradation function we cannot recover the undegraded image [the inverse Fourier transform of F(u,v) exactly because is N(u,v)is not known. If the degradation function has zero or very small values, then the ratio could easily dominate the estimate