170 likes | 504 Views
Digital Image Processing ECE.09.452/ECE.09.552 Fall 2009. Lecture 6 October 19, 2009. Shreekanth Mandayam ECE Department Rowan University http://engineering.rowan.edu/~shreek/fall09/dip/. Plan. Digital Image Restoration Recall: Environmental Models Image Degradation Model
E N D
Digital Image ProcessingECE.09.452/ECE.09.552Fall 2009 Lecture 6October 19, 2009 Shreekanth Mandayam ECE Department Rowan University http://engineering.rowan.edu/~shreek/fall09/dip/
Plan • Digital Image Restoration • Recall: Environmental Models • Image Degradation Model • Image Restoration Model • Point Spread Function (PSF) Models • Linear Algebraic Restoration • Unconstrained (Inverse Filter, Pseudoinverse Filter) • Constrained (Wiener Filter, Kalman Filter) • Continue Lab 2
Image Preprocessing Restoration Enhancement • Inverse filtering • Wiener filtering Spectral Domain Spatial Domain • Filtering • >>fft2/ifft2 • >>fftshift • Point Processing • >>imadjust • >>histeq • Spatial filtering • >>filter2
“Better” visual representation Subjective No quantitative measures Remove effects of sensing environment Objective Mathematical, model dependent quantitative measures Enhancement vs. Restoration
S f(x,y) g(x,y) h(x,y) n(x,y) Degradation Model: g = h*f + n Degradation Model • demos/demo5blur_invfilter/ • demos/demo5blur_invfilter/degrade.m
Restoration Model Degradation Model Restoration Filter f(x,y) f(x,y) Unconstrained Constrained • Inverse Filter • Pseudo-inverse Filter • Wiener Filter • demos/demo5blur_invfilter/
f(x,y) Build degradation model f(x,y) Analyze using algebraic techniques Formulate restoration algorithms Implement using Fourier transforms Approach g = h*f + n g = Hf + n W -1g = DW -1f + W -1n f = H -1g F(u,v) = G(u,v)/H(u,v) • demos/demo5blur_invfilter/
Degradation & Restoration Examples: Gonzalez & Woods Atmospheric Turbulence Model
Degradation & Restoration Examples: Gonzalez & Woods Example 5.11: Inverse Filtering
Degradation & Restoration Examples: Gonzalez & Woods Example 5.12: Wiener Filtering
Degradation & Restoration Examples: Gonzalez & Woods Example 5.10: Planar Motion Model
Degradation & Restoration Examples: Gonzalez & Woods Example 5.13: Inverse and Wiener Filtering
Lab 3: Degradation Models and Digital Image Restoration http://engineering.rowan.edu/~shreek/fall09/dip/lab3.html
Class on Oct 26 • At the South Jersey Tech Park, www.sjtechpark.org, (On Rt 322-W at the Rt. 55 interchange) • Guest Lecture by George Lecakes: Modeling and Visualization for Virtual Reality • Includes demo of the CAVE®
Class on Nov 2 • Continue Lab Project 3 • http://engineering.rowan.edu/~shreek/fall09/dip/lab3.html