Digital Image Processing Lecture 11: Image Restoration March 30, 2005 Prof. Charlene Tsai.

Slides:



Advertisements
Similar presentations
Digital Image Processing
Advertisements

Image Enhancement in the Frequency Domain Part III
ECE 472/572 - Digital Image Processing Lecture 7 - Image Restoration - Noise Models 10/04/11.
Digital Image Processing Lecture 11: Image Restoration Prof. Charlene Tsai.
Digital Image Processing Chapter 5: Image Restoration.
© by Yu Hen Hu 1 ECE533 Digital Image Processing Image Enhancement in Frequency Domain.
Chap 4 Image Enhancement in the Frequency Domain.
Digital Image Processing
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 5 Image Restoration Chapter 5 Image Restoration.
Image Restoration 影像復原 Spring 2005, Jen-Chang Liu.
DIGITAL IMAGE PROCESSING
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.
Chapter 4 Image Enhancement in the Frequency Domain.
Digital Image Processing
Image Enhancement in the Frequency Domain Part III Dr. Samir H. Abdul-Jauwad Electrical Engineering Department King Fahd University of Petroleum & Minerals.
Digital Image Processing Chapter 4: Image Enhancement in the Frequency Domain.
Digital Image Processing Chapter 5: Image Restoration.
Image Enhancement in the Frequency Domain Part II Dr. Samir H. Abdul-Jauwad Electrical Engineering Department King Fahd University of Petroleum & Minerals.
Chapter 4 Image Enhancement in the Frequency Domain.
Chapter 5 Image Restoration. Preview Goal: improve an image in some predefined sense. Image enhancement: subjective process Image restoration: objective.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 4 Image Enhancement in the Frequency Domain Chapter.
1 Chapter 8: Image Restoration 8.1 Introduction Image restoration concerns the removal or reduction of degradations that have occurred during the acquisition.
Computer Vision - Restoration Hanyang University Jong-Il Park.
Medical Image Analysis Image Enhancement Figures come from the textbook: Medical Image Analysis, by Atam P. Dhawan, IEEE Press, 2003.
Image Processing © 2002 R. C. Gonzalez & R. E. Woods Lecture 4 Image Enhancement in the Frequency Domain Lecture 4 Image Enhancement.
EE4328, Section 005 Introduction to Digital Image Processing Linear Image Restoration Zhou Wang Dept. of Electrical Engineering The Univ. of Texas.
Digital Image Processing Chapter 4
CS654: Digital Image Analysis
Chapter 3: Image Restoration Introduction. Image restoration methods are used to improve the appearance of an image by applying a restoration process.
Digital Image Processing CSC331 Image Enhancement 1.
ENG4BF3 Medical Image Processing Image Enhancement in Frequency Domain.
Image Restoration Chapter 5.
CS654: Digital Image Analysis Lecture 22: Image Restoration - II.
Digital Image Processing Lecture 10: Image Restoration March 28, 2005 Prof. Charlene Tsai.
Image Restoration.
8-1 Chapter 8: Image Restoration Image enhancement: Overlook degradation processes, deal with images intuitively Image restoration: Known degradation processes;
University of Ioannina - Department of Computer Science Filtering in the Frequency Domain (Application) Digital Image Processing Christophoros Nikou
Low Pass Filter High Pass Filter Band pass Filter Blurring Sharpening Image Processing Image Filtering in the Frequency Domain.
Digital Image Processing Lecture 5: Neighborhood Processing: Spatial Filtering March 9, 2004 Prof. Charlene Tsai.
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.
Digital Image Processing Lecture 9: Filtering in Frequency Domain Prof. Charlene Tsai.
Image Restoration. Image restoration vs. image enhancement Enhancement:  largely a subjective process  Priori knowledge about the degradation is not.
ECE 533 Project Tribute By: Justin Shepard & Jesse Fremstad.
Digital Image Processing Lecture 10: Image Restoration II Naveed Ejaz.
Digital Image Processing
Frequency Domain Filtering. Frequency Domain Methods Spatial Domain Frequency Domain.
Medical Image Analysis
IMAGE ENHANCEMENT IN THE FREQUENCY DOMAIN
IMAGE PROCESSING FREQUENCY DOMAIN PROCESSING
DIGITAL IMAGE PROCESSING
Degradation/Restoration Model
Spatial & Frequency Domain
Image Restoration Spring 2005, Jen-Chang Liu.
Digital Image Processing
Gaussian Lowpass Filter
Image Enhancement in the
Lecture 11 Image restoration and reconstruction II
Image Analysis Image Restoration.
Image Enhancement in the Frequency Domain Part I
ENG4BF3 Medical Image Processing
Digital Image Processing
ENG4BF3 Medical Image Processing
Lecture 14 Figures from Gonzalez and Woods, Digital Image Processing, Second Edition, 2002.
Lecture 4 Image Enhancement in Frequency Domain
Digital Image Processing Lecture 11: Image Restoration
Presentation transcript:

Digital Image Processing Lecture 11: Image Restoration March 30, 2005 Prof. Charlene Tsai

Digital Image ProcessingLecture 11 2 Review  In last lecture, we discussed techniques that restore images in spatial domain.  Mean filtering  Order-statistics filering  Adaptive filering  Gaussian smoothing  We’ll discuss techniques that work in the frequency domain.  In last lecture, we discussed techniques that restore images in spatial domain.  Mean filtering  Order-statistics filering  Adaptive filering  Gaussian smoothing  We’ll discuss techniques that work in the frequency domain.

Digital Image ProcessingLecture 11 3 Periodic Noise Reduction  We have discussed low-pass and high-pass frequency domain filters for image enhancement.  We’ll discuss 2 more filters for periodic noise reduction  Bandreject  Notch filter  We have discussed low-pass and high-pass frequency domain filters for image enhancement.  We’ll discuss 2 more filters for periodic noise reduction  Bandreject  Notch filter

Digital Image ProcessingLecture 11 4 Bandreject Filters  Removing a band of frequencies about the origin of the Fourier transform.  Ideal filter where D(u,v) is the distance from the center, W is the width of the band, and D 0 is the radial center.  Removing a band of frequencies about the origin of the Fourier transform.  Ideal filter where D(u,v) is the distance from the center, W is the width of the band, and D 0 is the radial center.

Digital Image ProcessingLecture 11 5 Bandreject Filters (con’d)  Butterworth filter of order n  Gaussian filter  Butterworth filter of order n  Gaussian filter

Digital Image ProcessingLecture 11 6 Bandreject Filters: Demo Original corrupted by sinusoidal noise Fourier transform Butterworth filter Result of filtering

Digital Image ProcessingLecture 11 7 Notch Filters  Reject in predefined neighborhoods about the center frequency.  Due to the symmetry of the Fourier transform, notch filters must appear in symmetric pairs about the origin.  Given 2 centers (u 0, v 0 ) and (-u 0, -v 0 ), we define D 1 (u,v) and D 2 (u,v) as  Reject in predefined neighborhoods about the center frequency.  Due to the symmetry of the Fourier transform, notch filters must appear in symmetric pairs about the origin.  Given 2 centers (u 0, v 0 ) and (-u 0, -v 0 ), we define D 1 (u,v) and D 2 (u,v) as

Digital Image ProcessingLecture 11 8 Notch Filters: plots ideal Butterworth Gaussian

Digital Image ProcessingLecture 11 9 Notch Filters (con’d)  Ideal filter  Butterworth filter  Gaussian filter  Ideal filter  Butterworth filter  Gaussian filter

Digital Image ProcessingLecture How to deal with motion blur? OriginalBlurred by motion

Digital Image ProcessingLecture Convolution Theory: Review  Knowing the degradation function H(u,v), we can, in theory, obtain the original image F(u,v).  In practice, H(u,v) is often unknow.  We’ll discuss briefly one method of obtaining the degradation functions. For interested readers, please consult Conzalez, section 5.6 for other methods.  Knowing the degradation function H(u,v), we can, in theory, obtain the original image F(u,v).  In practice, H(u,v) is often unknow.  We’ll discuss briefly one method of obtaining the degradation functions. For interested readers, please consult Conzalez, section 5.6 for other methods. Filter (degradation function) Original image Degraded image

Digital Image ProcessingLecture Estimation of H(u,v) by Experimentation  If equipment similar to the one used to acquire the degraded image is available, it is possible, in principle, to obtain the accurate estimate of H(u,v).  Step1: reproduce the degraded image by varying the system settings.  Step2: obtain the impulse response of the degradation by imaging an impulse (small dot of light) using the same system settings.  Step3: recalling that FT of an impulse is a constant (A)  If equipment similar to the one used to acquire the degraded image is available, it is possible, in principle, to obtain the accurate estimate of H(u,v).  Step1: reproduce the degraded image by varying the system settings.  Step2: obtain the impulse response of the degradation by imaging an impulse (small dot of light) using the same system settings.  Step3: recalling that FT of an impulse is a constant (A) What we want Degraded impulse image Strength of the impulse

Digital Image ProcessingLecture Estimation of H(u,v) by Exp (con’d) An impulse of light (magnified). The FT is a constant A G(u,v), the imaged (degraded) impulse

Digital Image ProcessingLecture Undoing the Degradation  Knowing G & H, how to obtain F?  Two methods:  Inverse filtering  Wiener filtering  Knowing G & H, how to obtain F?  Two methods:  Inverse filtering  Wiener filtering Filter (degradation function) Original image (what we’re after) Degraded image

Digital Image ProcessingLecture Inverse Filtering  In the simplest form:  See any problems?  Division by small values can produce very large values that dominate the output.  In the simplest form:  See any problems?  Division by small values can produce very large values that dominate the output. Original Inverse filtering using Butterworth filter

Digital Image ProcessingLecture Inverse Filtering (con’d)  Solutions?  There are two similar approaches:  Low-pass filtering with filter L(u,v):  Thresholding (using only filter frequencies near the origin)  Solutions?  There are two similar approaches:  Low-pass filtering with filter L(u,v):  Thresholding (using only filter frequencies near the origin)

Digital Image ProcessingLecture Inverse Filtering: Demo Full filterd=40 d=70d=80

Digital Image ProcessingLecture Inverse Filtering: Weaknesses  Inverse filtering is not robust enough.  It is even worse if the image has been corrupted by noise.  The noise can completely dominate the output.  Inverse filtering is not robust enough.  It is even worse if the image has been corrupted by noise.  The noise can completely dominate the output.

Digital Image ProcessingLecture Wiener Filtering  What measure can we use to say whether our restoration has done a good job?  Given the original image f and the restored version r, we would like r to be as close to f as possible.  One possible measure is the sum-squared- differences  Wiener filtering: minimum mean square error:  What measure can we use to say whether our restoration has done a good job?  Given the original image f and the restored version r, we would like r to be as close to f as possible.  One possible measure is the sum-squared- differences  Wiener filtering: minimum mean square error: Specified constant

Digital Image ProcessingLecture Comparison of Inverse and Wiener Filtering  Column 1: blurred image with additive Gaussian noise of variances 650, 65 and  Column 2: Inverse filtering  Column 3: Wiener filtering  Column 1: blurred image with additive Gaussian noise of variances 650, 65 and  Column 2: Inverse filtering  Column 3: Wiener filtering

Digital Image ProcessingLecture Summary  Removal of periodic noise:  Bandreject  Notch filter  Deblurring the image:  Inverse filtering  Wiener filtering  Removal of periodic noise:  Bandreject  Notch filter  Deblurring the image:  Inverse filtering  Wiener filtering