1 / 86

A Tour of Image Denoising

A Tour of Image Denoising. Shahar Kovalsky Alon Faktor 17/4/2011. Indoor – low light. IR. US. Can we (humans) denoise ?. Indoor – low light. IR. US. Sources of Noise. Additive Noise ( read+amplifier noise). Multiplicative Noise (shot noise).

olive
Download Presentation

A Tour of Image Denoising

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. A Tour of Image Denoising Shahar Kovalsky AlonFaktor 17/4/2011

  2. Indoor – low light IR US

  3. Can we (humans) denoise?

  4. Indoor – low light IR US

  5. Sources of Noise Additive Noise (read+amplifier noise) Multiplicative Noise(shot noise) 01010101010101010101010101010101010101010101010101 Gain

  6. Problem Definition Visual Quality MSE / PSNR Mean Square Error Peak Signal-to-Noise ratio Noise?

  7. Outline • Classical Denoising • Spatial Methods • Transform Methods • State-of-the-art Methods • GSM – Gaussian Scale Mixture • NLM – Non-local means • BM3D – Block Matching 3D collaborative filtering

  8. Denoising in the Spatial Domain • The “classical” assumption:Images are piecewise constant • Neighboring pixels are highly correlated Denoise = “Average nearby pixels” (filtering)

  9. Gaussian Smoothing *h = * *h *h h

  10. Toy Example How can we preserve the fine details?

  11. Local adaptive smoothing • Non uniform smoothingDepending on image content: • Smooth where possible • Preserve fine details How? *h3 *h2 *h1

  12. Anisotropic Filtering • Edges smooth only along edges • “Smooth” regions smooth isotropically gradient Perona and Malik (1990)

  13. Bilateral Filtering Intensity Space Smith and Brady (1997)

  14. Slides taken from Sylvain Paris, Siggraph 2007 Gaussian Smoothing * output input * * Same Gaussian kernel everywhere Averages across edges blur

  15. Slides taken from Sylvain Paris, Siggraph 2007 Bilateral Filtering * output input * * Kernel shape depends on image content Avoids averaging across edges

  16. Denoising in the Transform Domain • Motivation – New representation where signal and noise are more separated • Denoise = “Suppress noise coefficients while preserving the signal coefficients”

  17. Fourier Domain • Noise White spread uniformly in Fourier domain • SignalSpread non-uniformly in the Fourier domain signal noise

  18. Low-Pass Filtering • Low pass with some cut-off frequency • Keeps most of the signal energy Equivalent to Global Smoothing 1 Low pass filter

  19. Looking for an Optimal Filter Assumption: Signal and Noise areStationary independent random processes ?

  20. The Fourier Wiener Filter • = Keep • = Suppress • Soft and adaptive thresholding Optimal Linear Mean Square Error Estimator

  21. Fourier Wiener Filter in Practice • Use a model for - for example: • Use instead (empirical approach) or Ramaniet al. (2006) “… the Stochastic Matern Model”

  22. Why isn’t it enough? • We assumed stationarity:“statistics of all image windows is the same” • But natural images are not stationary

  23. Why isn’t it enough? • Mismatches and errors global artifacts

  24. The Windowed Fourier Wiener Filter • Image has a local structure Denoise each region based on its own statistics Perform Wiener filtering in image windows

  25. Can we do better? • Why restrict ourselves to a Fourier basis? • Other representations can be better: • Sparsity Signal/Noise separation • Localization of image details Wavelets

  26. Fourier Decomposition = + k(1) + k(2) + k(3) ···

  27. Windowed Fourier Decomposition = + + ··· k(1,1) k(1,2) + + ··· k(2,1) k(2,2) + + ··· k(3,1) k(3,2) ··· ···

  28. Wavelet Decomposition mother wavelet scaled & translated versions = + ··· k(1,1) + + ··· k(2,1) k(2,2) + + +··· k(3,1) k(3,2) k(3,3) ··· ··· ···

  29. Space-Frequency Localization Windowed Fourier Uniform tiling Wavelets Non-uniform tiling Better distribution of the “Coefficient Budget” f frequency coefficients x space (time)

  30. Discrete Wavelet Transform (DWT) Signal • Recursively, split to • Approximation • Details LPF HPF 2 2 LPF HPF Details Fine Coarse 2 2 LPF HPF Details 2 2 Approx Details

  31. Wavelet Transform - Example 1 level DWT Original image

  32. Wavelet Transform - Example 2 level DWT Original image

  33. Wavelet Pyramid Low-pass residual (approximation) Sub-band (detail) scale orientation

  34. Wavelet Thresholding (WT) • Wavelet Sparser Representation • Improved separation between signal and noise at different scales and orientations Thresholding (hard/soft) is more meaningful

  35. A Probabilistic Perspective • Learn or assume statistical model of image and noise - • Use Bayesian inference to obtain

  36. Which image do you prefer?

  37. A Probabilistic Perspective • With some prior knowledge about images • Denoise = “find an optimal explanation”: • MAP – Maximum a posterior • MMSE – Minimum Mean Square Error

  38. Performance Evaluation Denoised Images Original Gaussian Smoothing Anisotropic Filtering Bilateral Filtering Windowed Weiner Hard WT Soft WT Buadeset al. (2005)

  39. Performance Evaluation Method Noise Gaussian Smoothing Anisotropic Filtering Bilateral Filtering Windowed Weiner Hard WT Soft WT Buadeset al. (2005)

  40. Conclusions

  41. Taking it up a notch...

  42. State of the art Methods BLS-GSM BM3D NLM Spatial Methods Transform Methods

  43. BLS-GSM-Wavelet Denoising Bayes Least Squares Gaussian Scale MixtureWavelet Denoising (Portillaet al. 2003) • Transform to Wavelet domain • Assume GSMmodel on neighborhoods • Denoise using BLS estimation

  44. Over Complete Wavelets • BLS-GSM uses over-complete wavelets Representation is redundant Combined estimates may improve denoising Classical (orthogonal) Wavelets:#coefficients = #pixels Over-complete Wavelets:#coefficients > #pixels …

  45. Local Neighborhoods • Spatial-Scale NeighborhoodFor example: • Scale parent of central coef • 3x3 in space • Such neighborhoods are highly structured x

  46. The GSM model GSM Gaussian

  47. The GSM model known Gaussian Everything is Gaussian! Gaussian Gaussian

  48. 2-Step GSM Denoising • The Naive approachFor each neighborhood : • Estimate => are jointly Gaussian • Denoise= optimal estimation of In MMSE sense: This is the Wiener estimate of

  49. Joint GSM Denoising • 2-Step is sub-optimal… • For each neighborhood :Find the MMSE estimator -> ? The local Wiener estimate (shown last slide)

  50. Posterior distribution of multiplier • Bayes’ rule: Gaussian (given ) Known (Prior)

More Related