Image Restoration. Lecture 7, March 23 rd, Lexing Xie. EE4830 Digital Image Processing

Similar documents
Image Restoration. Lecture 7, March 23 rd, Lexing Xie. EE4830 Digital Image Processing

EE4830 Digital Image Processing Lecture 7. Image Restoration. March 19 th, 2007 Lexing Xie ee.columbia.edu>

ECE 484 Digital Image Processing Lec 10 - Image Restoration I

Enhancement. Degradation model H and noise must be known/predicted first before restoration. Noise model Degradation Model

DIGITAL IMAGE PROCESSING UNIT III

Computation Pre-Processing Techniques for Image Restoration

Image acquisition. Midterm Review. Digitization, line of image. Digitization, whole image. Geometric transformations. Interpolation 10/26/2016

Midterm Review. Image Processing CSE 166 Lecture 10

Restoration of Motion Blurred Document Images

Deconvolution , , Computational Photography Fall 2017, Lecture 17

Deconvolution , , Computational Photography Fall 2018, Lecture 12

4 STUDY OF DEBLURRING TECHNIQUES FOR RESTORED MOTION BLURRED IMAGES

International Journal of Advancedd Research in Biology, Ecology, Science and Technology (IJARBEST)

TDI2131 Digital Image Processing

Recent Advances in Image Deblurring. Seungyong Lee (Collaboration w/ Sunghyun Cho)

A Comprehensive Review on Image Restoration Techniques

Noise and Restoration of Images

Blurred Image Restoration Using Canny Edge Detection and Blind Deconvolution Algorithm

Image Enhancement for Astronomical Scenes. Jacob Lucas The Boeing Company Brandoch Calef The Boeing Company Keith Knox Air Force Research Laboratory

Image Enhancement. DD2423 Image Analysis and Computer Vision. Computational Vision and Active Perception School of Computer Science and Communication

Image Restoration using Modified Lucy Richardson Algorithm in the Presence of Gaussian and Motion Blur

Enhanced Method for Image Restoration using Spatial Domain

Image Deblurring. This chapter describes how to deblur an image using the toolbox deblurring functions.

Restoration of Blurred Image Using Joint Statistical Modeling in a Space-Transform Domain

8. Lecture. Image restoration: Fourier domain

Lecture #10. EECS490: Digital Image Processing

Deblurring. Basics, Problem definition and variants

Blind Image De-convolution In Surveillance Systems By Genetic Programming

A Recognition of License Plate Images from Fast Moving Vehicles Using Blur Kernel Estimation

CoE4TN4 Image Processing. Chapter 4 Filtering in the Frequency Domain

Frequency Domain Enhancement

Admin Deblurring & Deconvolution Different types of blur

Stochastic Image Denoising using Minimum Mean Squared Error (Wiener) Filtering

Coded Computational Photography!

Automatic processing to restore data of MODIS band 6

Comparison of direct blind deconvolution methods for motion-blurred images

Postprocessing of nonuniform MRI

A Comparative Review Paper for Noise Models and Image Restoration Techniques

EEL 6562 Image Processing and Computer Vision Image Restoration

Computational Approaches to Cameras

Digital Image Processing

Performance Analysis of Average and Median Filters for De noising Of Digital Images.

Image preprocessing in spatial domain

The ultimate camera. Computational Photography. Creating the ultimate camera. The ultimate camera. What does it do?

Improved motion invariant imaging with time varying shutter functions

1.Discuss the frequency domain techniques of image enhancement in detail.

Toward Non-stationary Blind Image Deblurring: Models and Techniques

Digital Image Processing

Coded photography , , Computational Photography Fall 2017, Lecture 18

Chapter 3. Study and Analysis of Different Noise Reduction Filters

multiframe visual-inertial blur estimation and removal for unmodified smartphones

Image Denoising Using Different Filters (A Comparison of Filters)

Blind Deconvolution Algorithm based on Filter and PSF Estimation for Image Restoration

Antennas and Propagation. Chapter 5c: Array Signal Processing and Parametric Estimation Techniques

INSTITUTE OF AERONAUTICAL ENGINEERING Dundigal, Hyderabad

Total Variation Blind Deconvolution: The Devil is in the Details*

Blind Blur Estimation Using Low Rank Approximation of Cepstrum

fast blur removal for wearable QR code scanners

Image Processing for feature extraction

Table of contents. Vision industrielle 2002/2003. Local and semi-local smoothing. Linear noise filtering: example. Convolution: introduction

Spline wavelet based blind image recovery

Coded photography , , Computational Photography Fall 2018, Lecture 14

GAUSSIAN DE-NOSING TECHNIQUES IN SPATIAL DOMAIN FOR GRAY SCALE MEDICAL IMAGES Nora Youssef, Abeer M.Mahmoud, El-Sayed M.El-Horbaty

PAPER An Image Stabilization Technology for Digital Still Camera Based on Blind Deconvolution

Remove Noise and Reduce Blurry Effect From Degraded Document Images Using MATLAB Algorithm

Algorithm for Image Processing Using Improved Median Filter and Comparison of Mean, Median and Improved Median Filter

Computational Camera & Photography: Coded Imaging

Linear Motion Deblurring from Single Images Using Genetic Algorithms

Computational Cameras. Rahul Raguram COMP

Motion Deblurring of Infrared Images

Image Enhancement for Astronomical Scenes. Jacob Lucas The Boeing Company Brandoch Calef The Boeing Company Keith Knox Air Force Research Laboratory

Filtering Images in the Spatial Domain Chapter 3b G&W. Ross Whitaker (modified by Guido Gerig) School of Computing University of Utah

Spatial Domain Processing and Image Enhancement

Today. Defocus. Deconvolution / inverse filters. MIT 2.71/2.710 Optics 12/12/05 wk15-a-1

PERFORMANCE ANALYSIS OF LINEAR AND NON LINEAR FILTERS FOR IMAGE DE NOISING

Sensors and Sensing Cameras and Camera Calibration

Fast Blur Removal for Wearable QR Code Scanners (supplemental material)

Image Deblurring with Blurred/Noisy Image Pairs

Defocusing and Deblurring by Using with Fourier Transfer

A moment-preserving approach for depth from defocus

Region Based Robust Single Image Blind Motion Deblurring of Natural Images

A Comparative Analysis of Noise Reduction Filters in MRI Images

A Novel Image Deblurring Method to Improve Iris Recognition Accuracy

Speech Enhancement using Wiener filtering

Image Deblurring and Noise Reduction in Python TJHSST Senior Research Project Computer Systems Lab

AN EFFICIENT IMAGE ENHANCEMENT ALGORITHM FOR SONAR DATA

Interpolation of CFA Color Images with Hybrid Image Denoising

Announcements. Image Processing. What s an image? Images as functions. Image processing. What s a digital image?

SURVEILLANCE SYSTEMS WITH AUTOMATIC RESTORATION OF LINEAR MOTION AND OUT-OF-FOCUS BLURRED IMAGES. Received August 2008; accepted October 2008

Non-Uniform Motion Blur For Face Recognition

PRACTICAL IMAGE AND VIDEO PROCESSING USING MATLAB

Anna University, Chennai B.E./B.TECH DEGREE EXAMINATION, MAY/JUNE 2013 Seventh Semester

Practical Image and Video Processing Using MATLAB

Real-time digital signal recovery for a multi-pole low-pass transfer function system

Examples of image processing

Recent advances in deblurring and image stabilization. Michal Šorel Academy of Sciences of the Czech Republic

e-issn: p-issn: X Page 145

Image Restoration and De-Blurring Using Various Algorithms Navdeep Kaur

Edge Preserving Image Coding For High Resolution Image Representation

A Novel Method for Enhancing Satellite & Land Survey Images Using Color Filter Array Interpolation Technique (CFA)

Transcription:

Image Restoration Lecture 7, March 23 rd, 2009 Lexing Xie EE4830 Digital Image Processing http://www.ee.columbia.edu/~xlx/ee4830/ thanks to G&W website, Min Wu and others for slide materials 1

Announcements 2 Midterm results this week HW3 due next Monday question 1.4, plot energy distribution as %energy included vs. #eigen dimensions % energy

we have covered 3 Image sensing Image Restoration Image Transform and Filtering Spatial Domain processing

outline 4 What is image restoration Scope, history and applications A model for (linear) image degradation Restoration from noise Different types of noise Examples of restoration operations Restoration from linear degradation Inverse and pseudo-inverse filtering Wiener filters Blind de-convolution Geometric distortion and its corrections

degraded images 5 ideal image What caused the image to blur? Camera: translation, shake, out-of-focus Environment: scattered and reflected light Device noise: CCD/CMOS sensor and circuitry Quantization noise Can we improve the image, or undo the effects?

Image enhancement: improve an image subjectively. Image restoration: remove distortion from image in order to go back to the original objective process. 6

image restoration 7 started from the 1950s application domains Scientific explorations Legal investigations Film making and archival Image and video (de-)coding Consumer photography related problem: image reconstruction in radio astronomy, radar imaging and tomography [Banham and Katsaggelos 97]

a model for image distortion 8 Image enhancement: improve an image subjectively. Image restoration: remove distortion from image, to go back to the original -- objective process

a model for image distortion 9 Image restoration Use a priori knowledge of the degradation Modeling the degradation and apply the inverse process Formulate and evaluate objective criteria of goodness

usual assumptions for the distortion model 10 Noise Independent of spatial location Exception: periodic noise Uncorrelated with image Degradation function H Linear Position-invariant divide-and-conquer step #1: image degraded only by noise.

11 common noise models 0, ) ( 0, )! ( ) ( ), (,, ) ( 2 ) ( 2 1 ) ( 1 / ) ( 2 / ) ( 2 2 2 = = = = z for ae z p Exponential z for e a b z a z p b a Gamma Erlang a z for e a z b z p Rayleigh e z p Gaussian az az b b b a z z σ µ πσ a R,a I zero mean, independent Gaussian multiplicative noise on signal magnitude additive noise

the visual effects of noise 12 a b d

recovering from noise 13 overall process Observe and estimate noise type and parameters apply optimal (spatial) filtering (if known) observe result, adjust filter type/parameters Example noise-reduction filters [G&W 5.3] Mean/median filter family Adaptive filter family Other filter family e.g. Homomorphic filtering for multiplicative noise [G&W 4.9.6, Jain 8.13]

example: Gaussian noise 14

example: salt-and-pepper noise 15

Homomorphic Filtering 16 Recall image formation model in Chapter 2: Slow-changing illumination i(x,y) and fastchanging reflectance r(x,y) Used to remove multiplicative noise, or illumination variations Also used in to separate excitation and filtering effects in speech, e.g. hearing aids developed in the 1960s by Thomas Stockham, Alan V. Oppenheim, and Ronald W. Schafer at MIT

Recall: Butterworth LPF Recovering from Periodic Noise Butterworth bandreject filter 17 [G&W 5.4]

example of bandreject filter 18

notch filter 19

outline 20 Scope, history and applications A model for (linear) image degradation Restoration from noise Different types of noise Examples of restoration operations Restoration from linear degradation Inverse and pseudo-inverse filtering Wiener filters Blind de-convolution Geometric distortion and example corrections

recover from linear degradation 21 Degradation function Linear (eq 5.5-3, 5.5-4) Homogeneity Additivity Position-invariant (in cartesian coordinates, eq 5.5-5) linear filtering with H(u,v) convolution with h(x,y) point spread function Divide-and-conquer step #2: linear degradation, noise negligible.

point-spread function 22

point-spread functions 23 Spatial domain Frequency domain

inverse filter 24 assume h is known: low-pass filter H(u,v) inverse filter recovered image H(u,v) [EE381K, UTexas]

inverse filtering example 25 loss of information

the problem of noise amplification 26

noise amplification example 27

inverse filtering with cutoff (lowpass) to suppress noise. 28

pseudo-inverse filtering 29 in reality, we often have H(u,v) = 0, for some u, v. e.g. motion blur noise N(u,v) 0 To mitigate the effect of zeros in the degradation function, we have: [Jain, Fig 8.10]

back to the original problem 30 Inverse filter with cut-off: Pseudo-inverse filter: Can the filter take values between 1/H(u,v) and zero? Can we model noise directly?

Wiener filter 31 goal: restoration with expected minimum mean-square error (MSE) optimal solution (nonlinear): restrict to linear space-invariant filter find optimal linear filter W(u,v) with min. MSE Derived by Norbert Wiener ~1942, published in 1949 Wiener, Norbert (1949), Extrapolation, Interpolation, and Smoothing of Stationary Time Series. New York: Wiley

Wiener filter defined 32 If no noise, S ηη 0 Pseudo inverse filter If no blur, H(u,v)=1 (Wiener smoothing filter) More suppression on noisier frequency bands If K(u,v)>> H(u,v) for large u,v suppress high-freq.

Sketch derivation of Wiener Filter 33

Sketch derivation of Wiener Filter (contd) 34

Alternative derivation of Wiener filter 35 goal: restoration with minimum mean-square error (MSE) find optimal linear filter W(u,v) with min. MSE orthogonal condition wide-sense-stationary (WSS) signals correlation function Fourier Transform: from correlation to spectrum

1-D Wiener Filter Shape Wiener Filter implementation 36 F(u,v) and N(u,v) are known approximately, or K is a constant (w.r.t. u and v) chosen empirically to our knowledge of the noise level. [Jain, Fig 8.11]

Schematic effect of Wiener filter 37

Wiener Filter example 38 * H (u, v) W(u, v) = 2 H(u, v) + K [EE381K, UTexas]

Wiener filter example 39 Wiener filter is more robust to noise, and preserves high-frequency details.

Wiener filter example 40 Ringing effect visible, too many high frequency components? (a) Blurry image (b) restored w. regularized pseudo inverse (c) restored with wiener filter [UMD EE631]

Another example: reading licence plates 41

Wiener filter: when does it not work? 42 How much de-blurring is just enough? [Image Analysis Course, TU-Delft]

Variations of Wiener filters 43 geometric mean filters Constrained Least Squares Wiener filter emphasizes high-frequency components, while images tend to be smooth

degraded inverse-filtered Wiener-filtered motion blur + noise noise*10-1 noise*10-5 44

Improve Wiener Filter 45 Blind deconvolution Wiener filter assumes both the image and noise spectrum are know (or can be easily estimated), in practice this becomes trial-and-error since noise and signal parameters are often hard to obtain.

Maximum-Likelihood (ML) Estimation h(x,y) H(u,v) unknown Assume parametric models for the blur function, original image, and/or noise Parameter set θ is estimated by θ ml = arg{max p(y θ )} Solution is difficult in general Expectation-Maximization algorithm Guess an initial set of parameters θ Restore image via Wiener filtering using θ Use restored image to estimate refined parameters θ... iterate until local optimum θ 46

geometric distortions 47 Modify the spatial relationships between pixels in an image a. k. a. rubber-sheet transformations Two basic steps Spatial transformation Gray-level interpolation

geometric/spatial distortion examples 48

recovery from geometric distortion 49

recovery from geometric distortion 50 Rahul Swaminathan, Shree K. Nayar: Nonmetric Calibration of Wide-Angle Lenses and Polycameras. IEEE Trans. Pattern Anal. Mach. Intell. 22(10): 1172-1178 (2000)

estimating distortions 51 calibrate use flat/edge areas ongoing work http://photo.net/learn/dark_noise/ [Tong et. al. ICME2004]

High-quality Motion Deblurring from a Single Image 52 [Shan, Jia, and Agarwala, SIGGRAPH 2008] Our method computes a deblurred image using a unified probabilistic model of both blur kernel estimation and unblurred image restoration. include a model of the spatial randomness of noise in the blurred image, as well a new local smoothness prior that reduces ringing artifacts by constraining contrast in the unblurred image wherever the blurred image exhibits low contrast. Finally, we describe an efficient optimization scheme that alternates between blur kernel estimation and unblurred image restoration until convergence. As a result of these steps, we are able to produce high quality deblurred results in low computation time.

summary 53 a image degradation model restoration from noise restoration from linear degradation Inverse and pseudo-inverse filters, Wiener filter, constrained least squares geometric distortions readings G&W Chapter 5.1 5.10, Jain 8.1-8.4 (at courseworks)

who said distortion is a bad thing? 54 blur noise geometric Declan Mccullagh Photography, mccullagh.org