SlideShare una empresa de Scribd logo
1 de 22
Descargar para leer sin conexión
WIENER  FILTER
INTRODUCTION	
•  The Wiener filter was proposed by Norbert Wiener in
   1940.
•  It was published in 1949
•  Its purpose is to reduce the amount of a noise in a
   signal.
•  This is done by comparing the received signal with a
   estimation of a desired noiseless signal.
•  Wiener filter is not an adaptive filter as it assumes
   input to be stationery.
DESCRIPTION	
•  It takes a statistical approach to solve its goal
•  Goal of the filter is to remove the noise from a signal
•  Before implementation of the filter it is assumed that
   the user knows the spectral properties of the original
   signal and noise.
•  Spectral properties like the power functions for both
   the original signal and noise.
•  And the resultant signal required is as close to the
   original signal
DESCRIPTION	
•  Signal and noise are both linear stochastic
   processes with known spectral properties.
•  The aim of the process is to have minimum mean-
   square error
•  That is, the difference between the original signal
   and the new signal should be as less as possible.
Important  Equations	
•  Considering we need to design a wiener filter in
   frequency domain as W(u,v)
•  Restored image will be given as;

                Xn(u,v) = W(u,v).Y(u,v)

•  Where Y(u,v) is the received signal and Xn(u,v) is the
   restored image
Considering images and noise as random variables, the
                                       ˆ
      Important  Equations	
                is to find an estimate f of the uncorrupted image f su
                mean square error between them is minimized.
•  We choose The error measure is given by
             W(k,l) to minimize:

                       e 2 = E { (f − f )2 }
                                      ˆ

                           Obtained from [1]
               where E {i} is the expected value of the argument.
•  Where the equation represents the mean square
   error.
               By assuming that
•  The wiener filter can be represented by the
   equation:        1. the noise and the image are uncorrelated;
                    2. one or the other has zero mean;
                    3. the intensity levels in the estimate are a linear fu
                       the levels in the degraded image.
Important  Equations	




       •    Obtained from [1]
Important  Equations	
•  H(u,v) = degradation function
•  |H(u,v)|^2 = H*(u,v)H(u,v)
•  H*(u,v) = complex conjugate of H(u,v)
•  Sn(u,v) = |N(u,v)|^2 power spectrum of noise
•  Sf(u,v) = |F(u,v)|^2 power spectrum of
   undegraded image
. G(u,v) is the transform of the degraded image.
The Wiener filter does not have the same problem as the invers
         filter with zeros in the degradation function, unless the entire
         denominator is zero for the same value(s) of u and v .

       Important  Equations	
         If the noise is zero, then the Wiener filter reduces to the invers
         filter.
•  The signal to noise ration can be approximated
   using One of the most important measures is the signal-to-noise ratio
         the following equation:
         approximated using frequency domain quantities such as
                            M −1 N −1

                             ∑∑          F (u, v ) 2
                            u =0 v =0
                   SNR =    M −1 N −1
                                                                  (5.8-3)
                            ∑∑           N (u, v ) 2
                            u =0 v =0

                             Obtained from [1]

•  Low noise gives high SNR and High noise gives Low
   SNR. The value is a good metric used in
   characterizing the performance of restoration
   algorithm
The mean square error given in statistical form in (5.8-1) can be
        Important  Equations	
           approximated also in terms a summation involving the original
           and restored images:Image Processing (Fall Term, 2011-12) Page 291
•  The MSE in statistical form can be calculated as:
         ACS-7205-001 Digital

                                M −1 N −1
                             1
           The mean square error given in statistical form in (5.8-1) can be
                                                       2
                      MSE =
           and restored images:∑ ∑  f (x, y) − fˆ(x, y)
           approximated also in terms a summation involving the original

                            MN x =0 y =0 M −1 N −1
                                                                               (5.8-4)
                             1                  f (x , y ) − f (x , y )  2
                      MSE =        ∑ ∑
                            MN x = 0 y = 0 
                             Obtained from [1]
                                                              ˆ
                                                                         
                                                                                   (5.8-4)

•  If restored signal isthe restored image asbe signal and the difference
            If one considers considered to signal and can define a
           If one considers the restored image to be signal and the difference
   difference between the thespatial domain noise, we
           between this image and restored to be degraded as
                                         original and
           signal-to-noise ratio inthe original to be noise, we can define a
            between this we can the
   the noise, then
                         image and obtain SNR in spatial domain
                                                          as

            signal-to-noise ratio in the∑ ∑ domain as
                                        spatial fˆ(x, y)
                                    M −1 N −1
                                                               2

                                        x =0 y =0
                      SNR =      M −1 N −1
                                                                          2         (5.8-5)
                                  ∑ M −1 N −1 x, y ) − f (x, y ) 
                                        ∑ f(              ˆ
                                  x =0 y =0


                            ˆ          ∑ ∑ f (x, y)
                                    Obtained from ˆ
                                                  [1]   2
           The closer f and f are, the larger this ratio will be.
                                       x =0 y =0
                      SNR =                                          2
           If we are dealing with white noise, the spectrum N (u, v ) is a
                                M −1 N −1
∑ ∑  f (x, y) − f (x, y) 
                           x =0 y =0



       Important  Equations	
      The closer f and fˆ are, the larger this ratio will be.

                                                     N (u, v) 2 is a
•  But it isare dealing withhard noise, the spectrum power
      If we sometimes white to estimate the
   spectrumwhich simplifies things considerably.image or the
      constant, of either the un-degraded However,
   noise., v ) 2
       F (u      is usually unknown.
•  In that case we assume a constant K, that is then
   added to allis used frequently when these quantities are not
      An approach terms of H|(u,v)|^2
•  The new equation in that case becomes:
      known or cannot be estimated:

                              1           H (u, v) 2 
                  ˆ
                  F (u, v) =                          G(u, v)
                              H (u, v) H (u, v) + K 
                                                 2                (5.8-6)
                                                     
                                   Obtained from [1]
      where K is a specified constant that is added to all terms of
       H (u, v) 2 .
Working  Example  1	
  ACS-7205-001 Digital Image Processing (Fall Term, 2011-12)
 7205-001 Digital Image Processing (Fall Term, 2011-12)
                                                                          Page 293
                                                                     Page 293

ample 5.13:apply Further comparisons of Wienerof images 293
     •  We 5.13: the filter to the following set filtering
   Example Further comparisons of Wiener filtering
205-001 Digital Image Processing (Fall Term, 2011-12)   Page
ACS-7205-001 Digital Image Processing (Fall Term, 2011-12)                  Page 2

mple 5.13: Further comparisons of Wiener filtering
 Example 5.13: Further comparisons of Wiener filtering



                   1 obtained from [1]      2 Obtained from [1]

     •  We reduce the noise variance (noise power):




                    3 obtained from[1]         4 obtained from [1]
Working  Example  1	
•  We decrease the noise variance even further:




           5 obtained from [1]    6 obtained from [1]

•  As we can see A wiener filter does a very good job
   at deblurring of an image and reducing the noise.
Example  2	
•  The problem is to estimate the power spectrum of
   noise and even more difficult is to estimate the
   power spectrum of the image.
•  We know that most of the images have similar
   power spectrum.
•  We take two images and calculate their individual
   power spectrum
•  The images derived are obtained from [2]
Example  2	




   Obtained from [2]
Example  2	
•  We calculate the power spectrum of each image:




                     Obtained from [2]
Example  2	
•  If we restore the cameraman image using its own
   power spectrum, the image will look like this:




                      Obtained from [2]
Example  2	
•  But we use the power spectrum obtained from the
   house image, the restored image will look like this:




                       Obtained from [2]
Example  2	
•  Now if we consider a large set of images and
   calculate the power spectrum for them and find a
   mean, that could then be used as the power
   spectrum input for the wiener filter, we are likely to
   get better results.
•  Hence, it is important to have a large data set, to
   calculate power spectrum for.
•  In the previous scenario a user can derive the noise
   power spectrum from previous knowledge or can
   calculate it by observing the variance within an
   image’s smoother part.
How  to  use  Wiener  filter?	
•  Implementation of wiener filter are available both in
   Matlab and Python.
•  These implementations can be used to perform
   analysis on images.
Conclusion	
•  Wiener filter is an excellent filter when it comes to
   noise reduction or deblluring of images.
•  A user can test the performance of a wiener filter
   for different parameters to get the desired results.
•  It is also used in steganography processes.
•  It considers both the degradation function and
   noise as part of analysis of an image.
References	
•  [1] R. Gonzalez and W. RE, Digital Image
   Processing, Third Edit. Pearson Prentice Hall, 2008,
   pp. 352–357.
•  [2] S. Eddins, “Matlab Central Steve on Image
   Processing.” [Online]. Available: http://
   blogs.mathworks.com/steve/2007/11/02/image-
   deblurring-wiener-filter/. [Accessed: 25-Aug-2012].

Más contenido relacionado

La actualidad más candente

Frequency Domain Image Enhancement Techniques
Frequency Domain Image Enhancement TechniquesFrequency Domain Image Enhancement Techniques
Frequency Domain Image Enhancement TechniquesDiwaker Pant
 
Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)Kalyan Acharjya
 
Region Splitting and Merging Technique For Image segmentation.
Region Splitting and Merging Technique For Image segmentation.Region Splitting and Merging Technique For Image segmentation.
Region Splitting and Merging Technique For Image segmentation.SomitSamanto1
 
Homomorphic filtering
Homomorphic filteringHomomorphic filtering
Homomorphic filteringGautam Saxena
 
Image enhancement
Image enhancementImage enhancement
Image enhancementAyaelshiwi
 
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 Processing - Image Compression
Digital Image Processing - Image CompressionDigital Image Processing - Image Compression
Digital Image Processing - Image CompressionMathankumar S
 
5. gray level transformation
5. gray level transformation5. gray level transformation
5. gray level transformationMdFazleRabbi18
 
Digital image processing
Digital image processingDigital image processing
Digital image processingABIRAMI M
 
Smoothing in Digital Image Processing
Smoothing in Digital Image ProcessingSmoothing in Digital Image Processing
Smoothing in Digital Image ProcessingPallavi Agarwal
 
Digital Image Fundamentals
Digital Image FundamentalsDigital Image Fundamentals
Digital Image FundamentalsA B Shinde
 
Pixel Relationships Examples
Pixel Relationships ExamplesPixel Relationships Examples
Pixel Relationships ExamplesMarwa Ahmeid
 
Image Representation & Descriptors
Image Representation & DescriptorsImage Representation & Descriptors
Image Representation & DescriptorsPundrikPatel
 
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 in Spatial Domain
Image Enhancement in Spatial DomainImage Enhancement in Spatial Domain
Image Enhancement in Spatial DomainA B Shinde
 
Image trnsformations
Image trnsformationsImage trnsformations
Image trnsformationsJohn Williams
 
Chapter 9 morphological image processing
Chapter 9   morphological image processingChapter 9   morphological image processing
Chapter 9 morphological image processingAhmed Daoud
 

La actualidad más candente (20)

Frequency Domain Image Enhancement Techniques
Frequency Domain Image Enhancement TechniquesFrequency Domain Image Enhancement Techniques
Frequency Domain Image Enhancement Techniques
 
Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)
 
Region Splitting and Merging Technique For Image segmentation.
Region Splitting and Merging Technique For Image segmentation.Region Splitting and Merging Technique For Image segmentation.
Region Splitting and Merging Technique For Image segmentation.
 
Sharpening spatial filters
Sharpening spatial filtersSharpening spatial filters
Sharpening spatial filters
 
03 image transform
03 image transform03 image transform
03 image transform
 
Homomorphic filtering
Homomorphic filteringHomomorphic filtering
Homomorphic filtering
 
Image enhancement
Image enhancementImage enhancement
Image enhancement
 
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 Processing - Image Compression
Digital Image Processing - Image CompressionDigital Image Processing - Image Compression
Digital Image Processing - Image Compression
 
5. gray level transformation
5. gray level transformation5. gray level transformation
5. gray level transformation
 
Digital Image Processing
Digital Image ProcessingDigital Image Processing
Digital Image Processing
 
Digital image processing
Digital image processingDigital image processing
Digital image processing
 
Smoothing in Digital Image Processing
Smoothing in Digital Image ProcessingSmoothing in Digital Image Processing
Smoothing in Digital Image Processing
 
Digital Image Fundamentals
Digital Image FundamentalsDigital Image Fundamentals
Digital Image Fundamentals
 
Pixel Relationships Examples
Pixel Relationships ExamplesPixel Relationships Examples
Pixel Relationships Examples
 
Image Representation & Descriptors
Image Representation & DescriptorsImage Representation & Descriptors
Image Representation & Descriptors
 
Image Smoothing using Frequency Domain Filters
Image Smoothing using Frequency Domain FiltersImage Smoothing using Frequency Domain Filters
Image Smoothing using Frequency Domain Filters
 
Image Enhancement in Spatial Domain
Image Enhancement in Spatial DomainImage Enhancement in Spatial Domain
Image Enhancement in Spatial Domain
 
Image trnsformations
Image trnsformationsImage trnsformations
Image trnsformations
 
Chapter 9 morphological image processing
Chapter 9   morphological image processingChapter 9   morphological image processing
Chapter 9 morphological image processing
 

Similar a Wiener Filter

Image restoration1
Image restoration1Image restoration1
Image restoration1moorthim7
 
Robust Super-Resolution by minimizing a Gaussian-weighted L2 error norm
Robust Super-Resolution by minimizing a Gaussian-weighted L2 error normRobust Super-Resolution by minimizing a Gaussian-weighted L2 error norm
Robust Super-Resolution by minimizing a Gaussian-weighted L2 error normTuan Q. Pham
 
Signal Processing Course : Orthogonal Bases
Signal Processing Course : Orthogonal BasesSignal Processing Course : Orthogonal Bases
Signal Processing Course : Orthogonal BasesGabriel Peyré
 
ESTIMATING NOISE PARAMETER & FILTERING (Digital Image Processing)
ESTIMATING NOISE PARAMETER & FILTERING (Digital Image Processing)ESTIMATING NOISE PARAMETER & FILTERING (Digital Image Processing)
ESTIMATING NOISE PARAMETER & FILTERING (Digital Image Processing)Shajun Nisha
 
Lecture 2-Filtering.pdf
Lecture 2-Filtering.pdfLecture 2-Filtering.pdf
Lecture 2-Filtering.pdfTechEvents1
 
Design Approach of Colour Image Denoising Using Adaptive Wavelet
Design Approach of Colour Image Denoising Using Adaptive WaveletDesign Approach of Colour Image Denoising Using Adaptive Wavelet
Design Approach of Colour Image Denoising Using Adaptive WaveletIJERD Editor
 
Frequency domain methods
Frequency domain methods Frequency domain methods
Frequency domain methods thanhhoang2012
 
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 slidesBHAGYAPRASADBUGGE
 
Digital Image Processing_ ch3 enhancement freq-domain
Digital Image Processing_ ch3 enhancement freq-domainDigital Image Processing_ ch3 enhancement freq-domain
Digital Image Processing_ ch3 enhancement freq-domainMalik obeisat
 
02 2d systems matrix
02 2d systems matrix02 2d systems matrix
02 2d systems matrixRumah Belajar
 
Image Acquisition and Representation
Image Acquisition and RepresentationImage Acquisition and Representation
Image Acquisition and RepresentationAmnaakhaan
 
FourierTransform detailed power point presentation
FourierTransform detailed power point presentationFourierTransform detailed power point presentation
FourierTransform detailed power point presentationssuseracb8ba
 
chapter-2 SPACIAL DOMAIN.pptx
chapter-2 SPACIAL DOMAIN.pptxchapter-2 SPACIAL DOMAIN.pptx
chapter-2 SPACIAL DOMAIN.pptxAyeleFeyissa1
 
imagetransforms1-210417050321.pptx
imagetransforms1-210417050321.pptximagetransforms1-210417050321.pptx
imagetransforms1-210417050321.pptxMrsSDivyaBME
 

Similar a Wiener Filter (20)

Mathematical tools in dip
Mathematical tools in dipMathematical tools in dip
Mathematical tools in dip
 
Image restoration1
Image restoration1Image restoration1
Image restoration1
 
Robust Super-Resolution by minimizing a Gaussian-weighted L2 error norm
Robust Super-Resolution by minimizing a Gaussian-weighted L2 error normRobust Super-Resolution by minimizing a Gaussian-weighted L2 error norm
Robust Super-Resolution by minimizing a Gaussian-weighted L2 error norm
 
Signal Processing Course : Orthogonal Bases
Signal Processing Course : Orthogonal BasesSignal Processing Course : Orthogonal Bases
Signal Processing Course : Orthogonal Bases
 
ESTIMATING NOISE PARAMETER & FILTERING (Digital Image Processing)
ESTIMATING NOISE PARAMETER & FILTERING (Digital Image Processing)ESTIMATING NOISE PARAMETER & FILTERING (Digital Image Processing)
ESTIMATING NOISE PARAMETER & FILTERING (Digital Image Processing)
 
Lecture 2-Filtering.pdf
Lecture 2-Filtering.pdfLecture 2-Filtering.pdf
Lecture 2-Filtering.pdf
 
Design Approach of Colour Image Denoising Using Adaptive Wavelet
Design Approach of Colour Image Denoising Using Adaptive WaveletDesign Approach of Colour Image Denoising Using Adaptive Wavelet
Design Approach of Colour Image Denoising Using Adaptive Wavelet
 
Frequency domain methods
Frequency domain methods Frequency domain methods
Frequency domain methods
 
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 processing 2
Image processing 2Image processing 2
Image processing 2
 
Digital Image Processing_ ch3 enhancement freq-domain
Digital Image Processing_ ch3 enhancement freq-domainDigital Image Processing_ ch3 enhancement freq-domain
Digital Image Processing_ ch3 enhancement freq-domain
 
Image restoration and reconstruction
Image restoration and reconstructionImage restoration and reconstruction
Image restoration and reconstruction
 
Fourier transform
Fourier transformFourier transform
Fourier transform
 
02 2d systems matrix
02 2d systems matrix02 2d systems matrix
02 2d systems matrix
 
Image Acquisition and Representation
Image Acquisition and RepresentationImage Acquisition and Representation
Image Acquisition and Representation
 
FourierTransform detailed power point presentation
FourierTransform detailed power point presentationFourierTransform detailed power point presentation
FourierTransform detailed power point presentation
 
chapter-2 SPACIAL DOMAIN.pptx
chapter-2 SPACIAL DOMAIN.pptxchapter-2 SPACIAL DOMAIN.pptx
chapter-2 SPACIAL DOMAIN.pptx
 
Lecture 11
Lecture 11Lecture 11
Lecture 11
 
imagetransforms1-210417050321.pptx
imagetransforms1-210417050321.pptximagetransforms1-210417050321.pptx
imagetransforms1-210417050321.pptx
 
Image transforms
Image transformsImage transforms
Image transforms
 

Último

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 

Último (20)

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 

Wiener Filter

  • 2. INTRODUCTION •  The Wiener filter was proposed by Norbert Wiener in 1940. •  It was published in 1949 •  Its purpose is to reduce the amount of a noise in a signal. •  This is done by comparing the received signal with a estimation of a desired noiseless signal. •  Wiener filter is not an adaptive filter as it assumes input to be stationery.
  • 3. DESCRIPTION •  It takes a statistical approach to solve its goal •  Goal of the filter is to remove the noise from a signal •  Before implementation of the filter it is assumed that the user knows the spectral properties of the original signal and noise. •  Spectral properties like the power functions for both the original signal and noise. •  And the resultant signal required is as close to the original signal
  • 4. DESCRIPTION •  Signal and noise are both linear stochastic processes with known spectral properties. •  The aim of the process is to have minimum mean- square error •  That is, the difference between the original signal and the new signal should be as less as possible.
  • 5. Important  Equations •  Considering we need to design a wiener filter in frequency domain as W(u,v) •  Restored image will be given as; Xn(u,v) = W(u,v).Y(u,v) •  Where Y(u,v) is the received signal and Xn(u,v) is the restored image
  • 6. Considering images and noise as random variables, the ˆ Important  Equations is to find an estimate f of the uncorrupted image f su mean square error between them is minimized. •  We choose The error measure is given by W(k,l) to minimize: e 2 = E { (f − f )2 } ˆ Obtained from [1] where E {i} is the expected value of the argument. •  Where the equation represents the mean square error. By assuming that •  The wiener filter can be represented by the equation: 1. the noise and the image are uncorrelated; 2. one or the other has zero mean; 3. the intensity levels in the estimate are a linear fu the levels in the degraded image.
  • 7. Important  Equations •  Obtained from [1]
  • 8. Important  Equations •  H(u,v) = degradation function •  |H(u,v)|^2 = H*(u,v)H(u,v) •  H*(u,v) = complex conjugate of H(u,v) •  Sn(u,v) = |N(u,v)|^2 power spectrum of noise •  Sf(u,v) = |F(u,v)|^2 power spectrum of undegraded image . G(u,v) is the transform of the degraded image.
  • 9. The Wiener filter does not have the same problem as the invers filter with zeros in the degradation function, unless the entire denominator is zero for the same value(s) of u and v . Important  Equations If the noise is zero, then the Wiener filter reduces to the invers filter. •  The signal to noise ration can be approximated using One of the most important measures is the signal-to-noise ratio the following equation: approximated using frequency domain quantities such as M −1 N −1 ∑∑ F (u, v ) 2 u =0 v =0 SNR = M −1 N −1 (5.8-3) ∑∑ N (u, v ) 2 u =0 v =0 Obtained from [1] •  Low noise gives high SNR and High noise gives Low SNR. The value is a good metric used in characterizing the performance of restoration algorithm
  • 10. The mean square error given in statistical form in (5.8-1) can be Important  Equations approximated also in terms a summation involving the original and restored images:Image Processing (Fall Term, 2011-12) Page 291 •  The MSE in statistical form can be calculated as: ACS-7205-001 Digital M −1 N −1 1 The mean square error given in statistical form in (5.8-1) can be 2 MSE = and restored images:∑ ∑  f (x, y) − fˆ(x, y) approximated also in terms a summation involving the original MN x =0 y =0 M −1 N −1 (5.8-4) 1  f (x , y ) − f (x , y )  2 MSE = ∑ ∑ MN x = 0 y = 0  Obtained from [1] ˆ   (5.8-4) •  If restored signal isthe restored image asbe signal and the difference If one considers considered to signal and can define a If one considers the restored image to be signal and the difference difference between the thespatial domain noise, we between this image and restored to be degraded as original and signal-to-noise ratio inthe original to be noise, we can define a between this we can the the noise, then image and obtain SNR in spatial domain as signal-to-noise ratio in the∑ ∑ domain as spatial fˆ(x, y) M −1 N −1 2 x =0 y =0 SNR = M −1 N −1 2 (5.8-5) ∑ M −1 N −1 x, y ) − f (x, y )  ∑ f( ˆ x =0 y =0 ˆ ∑ ∑ f (x, y) Obtained from ˆ [1] 2 The closer f and f are, the larger this ratio will be. x =0 y =0 SNR = 2 If we are dealing with white noise, the spectrum N (u, v ) is a M −1 N −1
  • 11. ∑ ∑  f (x, y) − f (x, y)  x =0 y =0 Important  Equations The closer f and fˆ are, the larger this ratio will be. N (u, v) 2 is a •  But it isare dealing withhard noise, the spectrum power If we sometimes white to estimate the spectrumwhich simplifies things considerably.image or the constant, of either the un-degraded However, noise., v ) 2 F (u is usually unknown. •  In that case we assume a constant K, that is then added to allis used frequently when these quantities are not An approach terms of H|(u,v)|^2 •  The new equation in that case becomes: known or cannot be estimated:  1 H (u, v) 2  ˆ F (u, v) =   G(u, v)  H (u, v) H (u, v) + K  2 (5.8-6)   Obtained from [1] where K is a specified constant that is added to all terms of H (u, v) 2 .
  • 12. Working  Example  1 ACS-7205-001 Digital Image Processing (Fall Term, 2011-12) 7205-001 Digital Image Processing (Fall Term, 2011-12) Page 293 Page 293 ample 5.13:apply Further comparisons of Wienerof images 293 •  We 5.13: the filter to the following set filtering Example Further comparisons of Wiener filtering 205-001 Digital Image Processing (Fall Term, 2011-12) Page ACS-7205-001 Digital Image Processing (Fall Term, 2011-12) Page 2 mple 5.13: Further comparisons of Wiener filtering Example 5.13: Further comparisons of Wiener filtering 1 obtained from [1] 2 Obtained from [1] •  We reduce the noise variance (noise power): 3 obtained from[1] 4 obtained from [1]
  • 13. Working  Example  1 •  We decrease the noise variance even further: 5 obtained from [1] 6 obtained from [1] •  As we can see A wiener filter does a very good job at deblurring of an image and reducing the noise.
  • 14. Example  2 •  The problem is to estimate the power spectrum of noise and even more difficult is to estimate the power spectrum of the image. •  We know that most of the images have similar power spectrum. •  We take two images and calculate their individual power spectrum •  The images derived are obtained from [2]
  • 15. Example  2 Obtained from [2]
  • 16. Example  2 •  We calculate the power spectrum of each image: Obtained from [2]
  • 17. Example  2 •  If we restore the cameraman image using its own power spectrum, the image will look like this: Obtained from [2]
  • 18. Example  2 •  But we use the power spectrum obtained from the house image, the restored image will look like this: Obtained from [2]
  • 19. Example  2 •  Now if we consider a large set of images and calculate the power spectrum for them and find a mean, that could then be used as the power spectrum input for the wiener filter, we are likely to get better results. •  Hence, it is important to have a large data set, to calculate power spectrum for. •  In the previous scenario a user can derive the noise power spectrum from previous knowledge or can calculate it by observing the variance within an image’s smoother part.
  • 20. How  to  use  Wiener  filter? •  Implementation of wiener filter are available both in Matlab and Python. •  These implementations can be used to perform analysis on images.
  • 21. Conclusion •  Wiener filter is an excellent filter when it comes to noise reduction or deblluring of images. •  A user can test the performance of a wiener filter for different parameters to get the desired results. •  It is also used in steganography processes. •  It considers both the degradation function and noise as part of analysis of an image.
  • 22. References •  [1] R. Gonzalez and W. RE, Digital Image Processing, Third Edit. Pearson Prentice Hall, 2008, pp. 352–357. •  [2] S. Eddins, “Matlab Central Steve on Image Processing.” [Online]. Available: http:// blogs.mathworks.com/steve/2007/11/02/image- deblurring-wiener-filter/. [Accessed: 25-Aug-2012].