digital image processing, 2nd ed. 2002 r. c. gonzalez r. e. woods chapter 5 image restoration...
DESCRIPTION
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 5 Image Restoration Chapter 5 Image RestorationTRANSCRIPT
Digital Image Processing, 2nd ed. www.imageprocessingbook.com
© 2002 R. C. Gonzalez & R. E. Woods
Chapter 5Image Restoration
Digital Image Processing, 2nd ed. www.imageprocessingbook.com
© 2002 R. C. Gonzalez & R. E. Woods
Chapter 5Image Restoration
Digital Image Processing, 2nd ed. www.imageprocessingbook.com
© 2002 R. C. Gonzalez & R. E. Woods
Chapter 5Image Restoration
Digital Image Processing, 2nd ed. www.imageprocessingbook.com
© 2002 R. C. Gonzalez & R. E. Woods
Chapter 5Image Restoration
Digital Image Processing, 2nd ed. www.imageprocessingbook.com
© 2002 R. C. Gonzalez & R. E. Woods
Chapter 5Image Restoration
Digital Image Processing, 2nd ed. www.imageprocessingbook.com
© 2002 R. C. Gonzalez & R. E. Woods
Chapter 5Image Restoration
Digital Image Processing, 2nd ed. www.imageprocessingbook.com
© 2002 R. C. Gonzalez & R. E. Woods
Chapter 5Image Restoration
Digital Image Processing, 2nd ed. www.imageprocessingbook.com
© 2002 R. C. Gonzalez & R. E. Woods
Chapter 5Image Restoration
Digital Image Processing, 2nd ed. www.imageprocessingbook.com
© 2002 R. C. Gonzalez & R. E. Woods
Chapter 5Image Restoration
Digital Image Processing, 2nd ed. www.imageprocessingbook.com
© 2002 R. C. Gonzalez & R. E. Woods
Chapter 5Image Restoration
Digital Image Processing, 2nd ed. www.imageprocessingbook.com
© 2002 R. C. Gonzalez & R. E. Woods
Chapter 5Image Restoration
Digital Image Processing, 2nd ed. www.imageprocessingbook.com
© 2002 R. C. Gonzalez & R. E. Woods
Chapter 5Image Restoration
Digital Image Processing, 2nd ed. www.imageprocessingbook.com
© 2002 R. C. Gonzalez & R. E. Woods
Chapter 5Image Restoration
Digital Image Processing, 2nd ed. www.imageprocessingbook.com
© 2002 R. C. Gonzalez & R. E. Woods
Chapter 5Image Restoration
Digital Image Processing, 2nd ed. www.imageprocessingbook.com
© 2002 R. C. Gonzalez & R. E. Woods
Chapter 5Image Restoration
Digital Image Processing, 2nd ed. www.imageprocessingbook.com
© 2002 R. C. Gonzalez & R. E. Woods
Chapter 5Image Restoration
Digital Image Processing, 2nd ed. www.imageprocessingbook.com
© 2002 R. C. Gonzalez & R. E. Woods
Chapter 5Image Restoration
Digital Image Processing, 2nd ed. www.imageprocessingbook.com
© 2002 R. C. Gonzalez & R. E. Woods
Chapter 5Image Restoration
Digital Image Processing, 2nd ed. www.imageprocessingbook.com
© 2002 R. C. Gonzalez & R. E. Woods
Chapter 5Image Restoration
Digital Image Processing, 2nd ed. www.imageprocessingbook.com
© 2002 R. C. Gonzalez & R. E. Woods
Chapter 5Image Restoration
Digital Image Processing, 2nd ed. www.imageprocessingbook.com
© 2002 R. C. Gonzalez & R. E. Woods
Chapter 5Image Restoration
Digital Image Processing, 2nd ed. www.imageprocessingbook.com
© 2002 R. C. Gonzalez & R. E. Woods
Chapter 5Image Restoration
Digital Image Processing, 2nd ed. www.imageprocessingbook.com
© 2002 R. C. Gonzalez & R. E. Woods
Chapter 5Image Restoration
Digital Image Processing, 2nd ed. www.imageprocessingbook.com
© 2002 R. C. Gonzalez & R. E. Woods
Chapter 5Image Restoration
Digital Image Processing, 2nd ed. www.imageprocessingbook.com
© 2002 R. C. Gonzalez & R. E. Woods
Chapter 5Image Restoration
Digital Image Processing, 2nd ed. www.imageprocessingbook.com
© 2002 R. C. Gonzalez & R. E. Woods
Chapter 5Image Restoration
Digital Image Processing, 2nd ed. www.imageprocessingbook.com
© 2002 R. C. Gonzalez & R. E. Woods
Chapter 5Image Restoration
Digital Image Processing, 2nd ed. www.imageprocessingbook.com
© 2002 R. C. Gonzalez & R. E. Woods
Deblurring: Pseudo-Inverse Filtering
h(m,n)
blurring filter
g(m,n)x(m,n) y(m,n)
deblur filter
x(m,n)^
G(u,v) =1
H(u,v)
|),(|0
|),(|),(
1),(
vuH
vuHvuHvuG
Inverse filter: What if at some (u,v), H(u,v) is 0 (or very close to 0) ?
Pseudo-inverse filter: small threshold
Digital Image Processing, 2nd ed. www.imageprocessingbook.com
© 2002 R. C. Gonzalez & R. E. Woods
Inverse and Pseudo-Inverse Filtering
),(1),(
vuHvuG
|),(|0
|),(|),(
1),(
vuH
vuHvuHvuG
= 0.1
blurred image
Digital Image Processing, 2nd ed. www.imageprocessingbook.com
© 2002 R. C. Gonzalez & R. E. Woods
Chapter 5Image Restoration
Digital Image Processing, 2nd ed. www.imageprocessingbook.com
© 2002 R. C. Gonzalez & R. E. Woods
Chapter 5Image Restoration
Digital Image Processing, 2nd ed. www.imageprocessingbook.com
© 2002 R. C. Gonzalez & R. E. Woods
Chapter 5Image Restoration
Digital Image Processing, 2nd ed. www.imageprocessingbook.com
© 2002 R. C. Gonzalez & R. E. Woods
Chapter 5Image Restoration
Digital Image Processing, 2nd ed. www.imageprocessingbook.com
© 2002 R. C. Gonzalez & R. E. Woods
Chapter 5Image Restoration
Digital Image Processing, 2nd ed. www.imageprocessingbook.com
© 2002 R. C. Gonzalez & R. E. Woods
Wiener (Least Square) Filtering
KvuHvuHvuG
2|),(|),(*),(
2
2
X
WK
• Optimal in the least MSE sense, i.e.G(u, v) is the best possible linear filter that minimizes
noise power
signal power
Wiener filter:
2),(),(ˆ vuXvuXEenergyerror
•Have to estimate signal and noise power
Digital Image Processing, 2nd ed. www.imageprocessingbook.com
© 2002 R. C. Gonzalez & R. E. Woods
Inverse filtering
Radially limited inverse
filteringR = 70
Weiner filtering
Blurred image
From [Gonzalez & Woods]
Digital Image Processing, 2nd ed. www.imageprocessingbook.com
© 2002 R. C. Gonzalez & R. E. Woods
Inverse vs. Weiner Filtering
From [Gonzalez & Woods]
distorted inverse filtering
Wiener filtering
motion blur +noise
less noise
less noise