ELE 488 F06 ELE 488 Fall 2006 Image Processing and Transmission 10-3-06 Image Restoration distortion noise Inverse Filtering Wiener Filtering Ref: Jain,

Slides:



Advertisements
Similar presentations
Digital Image Processing Lecture 11: Image Restoration Prof. Charlene Tsai.
Advertisements

Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 5 Image Restoration Chapter 5 Image Restoration.
DIGITAL IMAGE PROCESSING
Image (and Video) Coding and Processing Lecture 5: Point Operations Wade Trappe.
OPTIMUM FILTERING.
ECE 472/572 - Digital Image Processing Lecture 8 - Image Restoration – Linear, Position-Invariant Degradations 10/10/11.
1 © 2010 Cengage Learning Engineering. All Rights Reserved. 1 Introduction to Digital Image Processing with MATLAB ® Asia Edition McAndrew ‧ Wang ‧ Tseng.
EE465: Introduction to Digital Image Processing
Digital Image Processing
Digital Image Processing Chapter 5: Image Restoration.
Wavelet Based Image Coding. [2] Construction of Haar functions Unique decomposition of integer k  (p, q) – k = 0, …, N-1 with N = 2 n, 0
DIGITAL IMAGE PROCESSING Instructors: Dr J. Shanbehzadeh M.Gholizadeh M.Gholizadeh
ELE 488 F06 ELE 488 Fall 2006 Image Processing and Transmission Linear 2-D Image Filtering 1-D discrete convolution 2-D discrete convolution 2-D.
EE513 Audio Signals and Systems Wiener Inverse Filter Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
M. Wu: ENEE631 Digital Image Processing (Spring'09) Edge Detection and Basics on 2-D Random Signal Spring ’09 Instructor: Min Wu Electrical and Computer.
ELE 488 F06 ELE 488 Fall 2006 Image Processing and Transmission ( ) Wiener Filtering Derivation Comments Re-sampling and Re-sizing 1D  2D 10/5/06.
1 Chapter 8: Image Restoration 8.1 Introduction Image restoration concerns the removal or reduction of degradations that have occurred during the acquisition.
Image Processing in Freq. Domain Restoration / Enhancement Inverse Filtering Match Filtering / Pattern Detection Tomography.
© by Yu Hen Hu 1 ECE533 Digital Image Processing Image Restoration.
Computer Vision - Restoration Hanyang University Jong-Il Park.
Copyright, 1996 © Dale Carnegie & Associates, Inc. Image Restoration Hung-Ta Pai Laboratory for Image and Video Engineering Dept. of Electrical and Computer.
EE4328, Section 005 Introduction to Digital Image Processing Linear Image Restoration Zhou Wang Dept. of Electrical Engineering The Univ. of Texas.
Deconvolution, Deblurring and Restoration T , Biomedical Image Analysis Seminar Presentation Seppo Mattila & Mika Pollari.
Technion, CS department, SIPC Spring 2014 Tutorials 12,13 discrete signals and systems 1/39.
ENEE631 Digital Image Processing (Spring'04) Image Restoration Spring ’04 Instructor: Min Wu ECE Department, Univ. of Maryland, College Park  
CS654: Digital Image Analysis Lecture 22: Image Restoration - II.
Adv DSP Spring-2015 Lecture#9 Optimum Filters (Ch:7) Wiener Filters.
Digital Image Processing Lecture 10: Image Restoration March 28, 2005 Prof. Charlene Tsai.
Image Restoration.
EE513 Audio Signals and Systems
Digital Image Processing Lecture 10: Image Restoration
8-1 Chapter 8: Image Restoration Image enhancement: Overlook degradation processes, deal with images intuitively Image restoration: Known degradation processes;
LEAST MEAN-SQUARE (LMS) ADAPTIVE FILTERING. Steepest Descent The update rule for SD is where or SD is a deterministic algorithm, in the sense that p and.
Typical Types of Degradation: Motion Blur.
Stopping Criteria Image Restoration Alfonso Limon Claremont Graduate University.
ENEE631 Digital Image Processing (Spring'04) Basics on 2-D Random Signal Spring ’04 Instructor: Min Wu ECE Department, Univ. of Maryland, College Park.
Wiener Filtering for Image Restoration & Basics on Image Compression
ELE 488 F06 ELE 488 Fall 2006 Image Processing and Transmission ( ) Image Compression Quantization independent samples uniform and optimum correlated.
Chapter 5 Image Restoration.
Digital Image Processing CSC331 Image restoration 1.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 5 Image Restoration Chapter 5 Image Restoration.
CS654: Digital Image Analysis Lecture 22: Image Restoration.
ELE 488 F06 ELE 488 Fall 2006 Image Processing and Transmission ( ) JPEG block based transform coding.... Why DCT for Image transform? DFT DCT.
Geology 6600/7600 Signal Analysis 26 Oct 2015 © A.R. Lowry 2015 Last time: Wiener Filtering Digital Wiener Filtering seeks to design a filter h for a linear.
ENEE631 Digital Image Processing (Spring'04) Fourier Transform and Spatial Filtering Spring ’04 Instructor: Min Wu ECE Department, Univ. of Maryland, College.
Image Restoration. Image restoration vs. image enhancement Enhancement:  largely a subjective process  Priori knowledge about the degradation is not.
Digital Image Processing
Fourier transform.
Speech Enhancement Summer 2009
9/11/2018 ENEE631 Spring’09 Lecture 7 (2/16/2009) Image Restoration
Digital Image Processing Lecture 10: Image Restoration
IMAGE PROCESSING IMAGE RESTORATION AND NOISE REDUCTION
Degradation/Restoration Model
Image Deblurring and noise reduction in python
ECE 7251: Signal Detection and Estimation
Digital Image Processing
The Chinese University of Hong Kong
ELE 488 Fall 2006 Image Processing and Transmission
Image Analysis Image Restoration.
Noise in Imaging Technology
Image Restoration and Denoising
Image and Video Processing
Lecture 14 Figures from Gonzalez and Woods, Digital Image Processing, Second Edition, 2002.
Digital Image Processing
Adaptive Filter A digital filter that automatically adjusts its coefficients to adapt input signal via an adaptive algorithm. Applications: Signal enhancement.
Typical Types of Degradation: Motion Blur.
Chapter 9 Advanced Topics in DSP
Wiener Filtering: A linear estimation of clean signal from the noisy signal Using MMSE criterion.
Presentation transcript:

ELE 488 F06 ELE 488 Fall 2006 Image Processing and Transmission Image Restoration distortion noise Inverse Filtering Wiener Filtering Ref: Jain, Sec 8.1 – 8.3. Gonzalez–Woods, Sec 5.5 – /3/06

ELE 488 F06 From Matlab ImageToolbox Documentation pp12-4 UMCP ENEE631 Slides (created by M.Wu © 2001) Image Restoration

ELE 488 F06 Imperfection in Image Capturing Imaging system –point spread function (impulse response): h(m,n) ≠  (m,n). –out of focus blur caused by local averaging in a circular neighborhood –camera motion: blur caused by local averaging along motion direction –Atomspheric turbulence blur, etc. UMCP ENEE631 Slides (created by M.Wu © 2001) h, H original image u (object) available image v noise η g, G restored image w

ELE 488 F06 Undo Linear Spatial-Invariant Distortion Choose G to correct distortion from H Consider special case –no noise, known distortion –Often used to correct blur Consider 1D case first, then take up 2D v = u * h, w = v * g = u * (h * g) want w = u, so h * g = δ. Easy to solve in frequency domain: G(ω) = 1 / H(ω). What if H(ω) = 0? h, H uv  g, G w UMCP ENEE631 Slides (created by M.Wu © 2001) restoration distortion

ELE 488 F06 Example Distortion h(n): non causal H(w) =.5 (cos(w/2) 2, G(w)=1 / H(w), g(n)=? n=5; dw=pi/n; m=-n+1:1:n-1; w=m*dw; mm=-n:1:n; Hw=(cos(w/2)).^2; Gw=1./Hw; gg=fftshift(ifft(ifftshift(Gw))); gh=conv(gg,[ ]); 3 pt inverse: pt inverse: pt inverse:

ELE 488 F sample inverse 9 sample inverse 5 sample inverse

ELE 488 F06 3 sample averager: 1 1 1

ELE 488 F06

Problems With Inverse Filtering Under Noise Zeros in H(  ) –Interpretation: distortion by H removes all info. in those freq. –Inverse filter tries to “compensate” by assigning infinite gains –Amplifies noise: W (ω) = (V+N) / H  N/H for small V Solutions ~ Pseudo-inverse Filtering –Assign zero to G at spectrum nulls of H G(ω) = 1 / H(ω), if | H(ω) | > ε G(ω) = 0, if | H(ω) | < ε –Interpretation: not possible to restore lost information UMCP ENEE631 Slides (created by M.Wu © 2001)

ELE 488 F06 Handling Spectrum Nulls Via High-Freq Cut-off Limit restoration to lower frequency components to avoid amplifying noise at high frequencies and at nulls UMCP ENEE631 Slides (created by M.Wu © 2004) Gonzalez/ Woods (Chapter 5)

ELE 488 F06 Examples of Inverse & Pseudo-inverse Filtering From Jain Fig.8.10 UMCP ENEE631 Slides (created by M.Wu © 2001)

ELE 488 F06 Handling Noise in Deconvolution Inverse filtering is sensitive to noise –Does not explicitly handle noise To balance between deblurring vs. noise suppression: –Minimize MSE between the original u and restored w: e = E{ [ u – w ] 2 }, given v –Best estimate is conditional mean: E { u | v} –usually difficult to solve needs info not usually available, non-linear problem –To find the best linear estimate instead  Wiener filtering –Consider the (desired) image and noise as random fields –Produce linear estimate from observed image v to minimize MSE UMCP ENEE631 Slides (created by M.Wu © 2001/2004) h, H uv  g, G w

ELE 488 F06 Wiener Filtering Best linear estimate (minimum MSE) – assume: –spatial-invariant filter w = v * g –wide-sense stationarity for original signal and noise –noise zero-mean and uncorrelated with original signal Solution –from orthogonal condition E{ [ u(n) – w(n) ] v(m) }=0 –Represent in correlation functions: R uv (k) = g(k) * R vv (k) –Take DFT to get representation in power spectrum density –G(ω) = H*(ω) Φ uu (ω) / { |H| 2 (ω) Φ uu (ω) + Φ nn (ω) } = 1 / { H + Φ nn / ( H* Φ uu ) } UMCP ENEE631 Slides (created by M.Wu © 2001)

ELE 488 F06 Wiener Filtering (cont) To deblur noisy image, need to balance between: –HPF filter for de-blurring (undo H distortion) –LPF for suppressing noise Noiseless case ~ Φ nn = 0 (inverse filter) –Wiener filter becomes pseudo-inverse filter for Φ nn  0 –G(ω) = 1 / { H + Φ nn / ( H* Φ uu ) } G(ω)  1 / H(ω), if H(ω) ≠ 0 G(ω)  0, if H(ω) = 0 No blur, H = 1 (smoothing Filter) –Attenuate noise according to SNR at each freq. –G(ω) = Φ uu / {Φ uu + Φ nn } = (Φ uu / Φ nn )/ { 1 + Φ uu / Φ nn } UMCP ENEE631 Slides (created by M.Wu © 2001)