ECE 472/572 - Digital Image Processing Lecture 8 - Image Restoration – Linear, Position-Invariant Degradations 10/10/11.

Slides:



Advertisements
Similar presentations
Various Regularization Methods in Computer Vision Min-Gyu Park Computer Vision Lab. School of Information and Communications GIST.
Advertisements

2007Theo Schouten1 Restoration With Image Restoration one tries to repair errors or distortions in an image, caused during the image creation process.
Chapter 3 Image Enhancement in the Spatial Domain.
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
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
Chapter 3: Image Enhancement in the Spatial Domain
5. 1 Model of Image degradation and restoration
Instructor : Dr. Saeed Shiry
Digital Image Processing Chapter 5: Image Restoration.
Image Enhancement.
DIGITAL IMAGE PROCESSING Instructors: Dr J. Shanbehzadeh M.Gholizadeh M.Gholizadeh
Chapter 5 Image Restoration. Preview Goal: improve an image in some predefined sense. Image enhancement: subjective process Image restoration: objective.
Basic Image Processing January 26, 30 and February 1.
(1) A probability model respecting those covariance observations: Gaussian Maximum entropy probability distribution for a given covariance observation.
Advanced Image Processing Image Relaxation – Restoration and Feature Extraction 02/02/10.
Linear Algebra and Image Processing
Image Representation Gaussian pyramids Laplacian Pyramids
EE513 Audio Signals and Systems Statistical Pattern Classification Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
Digital Image Processing Lecture 4 Image Restoration and Reconstruction Second Semester Azad University Islamshar Branch
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.
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.
DIGITAL IMAGE PROCESSING Instructors: Dr J. Shanbehzadeh M.Gholizadeh M.Gholizadeh
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.
ECE 8443 – Pattern Recognition ECE 8423 – Adaptive Signal Processing Objectives: Deterministic vs. Random Maximum A Posteriori Maximum Likelihood Minimum.
Digital Image Processing
Chapter 3: Image Restoration Introduction. Image restoration methods are used to improve the appearance of an image by applying a restoration process.
CS654: Digital Image Analysis
Image Restoration Chapter 5.
Digital Image Processing Lecture 10: Image Restoration March 28, 2005 Prof. Charlene Tsai.
Image Restoration.
Digital Image Processing (Digitaalinen kuvankäsittely) Exercise 2
Machine Vision ENT 273 Image Filters Hema C.R. Lecture 5.
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;
Ch5 Image Restoration CS446 Instructor: Nada ALZaben.
Chapter 11 Filter Design 11.1 Introduction 11.2 Lowpass Filters
Digital Image Processing Lecture 11: Image Restoration March 30, 2005 Prof. Charlene Tsai.
Chapter 5 Image Restoration.
Baseband Receiver Receiver Design: Demodulation Matched Filter Correlator Receiver Detection Max. Likelihood Detector Probability of Error.
CS654: Digital Image Analysis Lecture 22: Image Restoration.
Image Restoration. Image restoration vs. image enhancement Enhancement:  largely a subjective process  Priori knowledge about the degradation is not.
Lecture 22 Image Restoration. Image restoration Image restoration is the process of recovering the original scene from the observed scene which is degraded.
Environmental Data Analysis with MatLab 2 nd Edition Lecture 22: Linear Approximations and Non Linear Least Squares.
Lecture 10 Chapter 5: Image Restoration. Image restoration Image restoration is the process of recovering the original scene from the observed scene which.
RECONSTRUCTION OF MULTI- SPECTRAL IMAGES USING MAP Gaurav.
Image Enhancement Band Ratio Linear Contrast Enhancement
Image Enhancement in the Spatial Domain.
Biointelligence Laboratory, Seoul National University
Degradation/Restoration Model
Image Restoration – Degradation Model and General Approaches
Image Restoration Spring 2005, Jen-Chang Liu.
IMAGE RESTORATION.
The Chinese University of Hong Kong
Lecture 11 Image restoration and reconstruction II
Image Analysis Image Restoration.
Basic Image Processing
Digital Image Processing Week IV
Lecture 14 Figures from Gonzalez and Woods, Digital Image Processing, Second Edition, 2002.
Digital Image Processing
Advanced deconvolution techniques and medical radiography
Digital Image Processing Lecture 11: Image Restoration
Presentation transcript:

ECE 472/572 - Digital Image Processing Lecture 8 - Image Restoration – Linear, Position-Invariant Degradations 10/10/11

2 Recap  Analyze the noise –Type of noise Spatial invariant –SAP, Gaussian Periodic noise –How to identify the type of noise? Test pattern Histogram –How to evaluate noise level? RMSE PSNR  Noise removal –Spatial domain Mean filters Order-statistics filters Adaptive filters –Frequency domain Band-pass/Band-reject Notch filters Optimal notch filter *  Analyze the blur –Linear, position-invariant degradation model Modeled by convolution* The point spread function (PSF) –How to estimate? –Deblurring - an ill-posed problem –Ill-conditioning of the linear system –Understand why image restoration is an ill-posed problem and what it means conceptually  Different restoration approaches –Frequency domain Inverse filter Wiener filter –Spatial domain Unconstrained approach Constrained approach MAP

3 Questions  What is PSF? How to estimate it?  What is an ill-posed problem? What is an ill- conditioning system?  Inverse filter and problem?  Wiener filter and how it solved the problem?  Unconstrained vs. Constrained approaches (572)  What is regularization? (572)

4 Image restoration  Degradation model H+ f (x, y) g (x, y)  (x, y)

5 Linear vs. Non-linear  Many types of degradation can be approximated by linear, space-invariant processes  Non-linear and space-variant models are more accurate –Difficult to solve –Unsolvable

6 Linear, position-invariant degradation model Sampling theorem Linearity - additivity Linearity - homogeneity Space invariant Convolution integral

7 PSF - Point Spread Function  Impulse response of system H –Superposition integral of the first kind –Convolution integral  Point spread function (PSF) –Used in optics - The impulse becomes a point of light  impulse response –Completely characterize the linear system

8 Estimate the degradation  By observation  By experiment –g(x,y) = h(x,y)*f(x,y) +  (x,y) –G(u,v) = H(u,v)F(u,v) + N(u,v) –H(u,v) = G(u,v)  By mathematical modeling –Sec

9 Image restoration – An ill-posed problem  Degradation model  H is ill-conditioned which makes image restoration problem an ill-posed problem –Solution is not stable

10 Ill-conditioning

11 Example Noise-free Sinusoidal noise Noise-free Exact H Exact H not exact H

12 Different restoration approaches  Frequency domain –Inverse filter –Wiener (minimum mean square error) filter  Algebraic approaches –Unconstrained optimization –Constrained optimization –The regularization theory

13 The block-circulant matrix  Stacking rows of image f, g, n to make MN x 1 column vectors f, g, and n. (Also called lexicographic representation of the original image). Correspondingly, H should be a MN x MN matrix  H is called block-circulant matrix

14 Inverse filter  In most images, adjacent pixels are highly correlated, while the gray levels of widely separated pixels are only loosely correlated.  Therefore, the autocorrelation function of typical images generally decreases away from the origin.  Power spectrum of an image is the Fourier transform of its autocorrelation function, therefore, we can argue that the power spectrum of an image generally decreases with frequency  Typical noise sources have either a flat power spectrum or one that decreases with frequency more slowly than typical image power spectra.  Therefore, the expected situation is for the signal to dominate the spectrum at low frequencies while the noise dominates at high frequencies.

15 Wiener filter (1942)  Objective function: find an estimate of f such that the mean square error between them is minimized  Potential problems: –Weights all errors equally regardless of their location in the image, while the eye is considerably more tolerant of errors in dark areas and high-gradient areas in the image. –In minimizing the mean square error, Wiener filter also smooth the image more than the eye would prefer K

16 Algebraic approach – Unconstrained restoration vs. Inverse filter Compared to the inverse filter:

17 Algebraic approach – Constrained restoration vs. Wiener filter Compared to:

18 Regularization theory  Generally speaking, any regularization method tries to analyze a related well-posed problem whose solution approximates the original ill-posed problem.  The well-posedness is achieved by implementing one or more of the following basic ideas –restriction of the data; –change of the space and/or topologies; –modification of the operator itself; –the concept of regularization operators; and –well-posed stochastic extensions of ill-posed problems.

19 Solution formulation  For g = Hf + , the regularization method constructs the solution as  u(f, g) describes how the real image data is related to the degraded data. In other words, this term models the characteristic of the imaging system.   v(f) is the regularization term with the regularization operator v operating on the original image f, and the regularization parameter  used to tune up the weight of the regularization term.  By adding the regularization term, the original ill-posed problem turns into a well-posed one, that is, the insertion of the regularization operator puts some constraints on what f might be, which makes the solution more stable.

20 MAP (maximum a-posteriori probability)  Formulate solution from statistical point of view: MAP approach tries to find an estimate of image f that maximizes the a-posteriori probability p(f|g) as  According to Bayes' rule, –P(f) is the a-priori probability of the unknown image f. We call it the prior model –P(g) is the probability of g which is a constant when g is given –p(g|f) is the conditional probability density function (pdf) of g. We call it the sensor model, which is a description of the noisy or stochastic processes that relate the original unknown image f to the measured image g.

21 MAP - Derivation  Bayes interpretation of regularization theory Noise term Prior term

22 The noise term  Assume Gaussian noise of zero mean,  the standard deviation

23 The prior model  The a-priori probability of an image by a Gibbs distribution is defined as –U(f) is the energy function –T is the temperature of the model –Z is a normalization constant

24 The prior model (cont ’ )  U(f), the prior energy function, is usually formulated based on the smoothness property of the original image. Therefore, U(f) should measure the extent to which the smoothness is violated Difference between neighborhood pixels punishment

25 The prior model (cont ’ )   is the parameter that adjusts how smooth the image goes  The k-th derivative models the difference between neighbor pixels. It can also be approximated by convolution with the right kernel

26 The prior model – Kernel r  Laplacian kernel

27 The objective function  Use gradient descent to solve f