Ch5 Image Restoration CS446 Instructor: Nada ALZaben.

Slides:



Advertisements
Similar presentations
Linear Filtering – Part I Selim Aksoy Department of Computer Engineering Bilkent University
Advertisements

Spatial Filtering (Chapter 3)
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 Chapter 5: Image Restoration.
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
Image Enhancement in the Spatial Domain
Digital Image Processing
Digital Image Processing In The Name Of God Digital Image Processing Lecture3: Image enhancement M. Ghelich Oghli By: M. Ghelich Oghli
5. 1 Model of Image degradation and restoration
ECE 472/572 - Digital Image Processing Lecture 8 - Image Restoration – Linear, Position-Invariant Degradations 10/10/11.
6/9/2015Digital Image Processing1. 2 Example Histogram.
Digital Image Processing
Digital Image Processing Chapter 5: Image Restoration.
Image Restoration.
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.
Basis beeldverwerking (8D040) dr. Andrea Fuster dr. Anna Vilanova Prof.dr. Marcel Breeuwer Noise and Filtering.
Digital Image Processing Lecture 4 Image Restoration and Reconstruction Second Semester Azad University Islamshar Branch
Presentation Image Filters
Machine Vision ENT 273 Image Filters Hema C.R. Lecture 5.
Image Restoration The main aim of restoration is to improve an image in some predefined way. Image Enhancement is a subjective process whereas Image restoration.
© by Yu Hen Hu 1 ECE533 Digital Image Processing Image Restoration.
Chapter 5 Image Restoration.
Image Restoration and Reconstruction (Noise Removal)
Computer Vision - Restoration Hanyang University Jong-Il Park.
Digital Image Processing Image Enhancement Part IV.
DIGITAL IMAGE PROCESSING Instructors: Dr J. Shanbehzadeh M.Gholizadeh M.Gholizadeh
Digital Image Processing
انجمن دانشجویان ایران – مرجع دانلود کتاب ، نمونه سوال و جزوات درسی
IMAGE RESTORATION Outline A model of the image degradation / restoration process Noise models Restoration in the presence of noise only – spatial filtering.
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.
Digital Image Processing Lecture : Image Restoration
Machine Vision ENT 273 Image Filters Hema C.R. Lecture 5.
Image Restoration Fasih ur Rehman. –Goal of restoration: improve image quality –Is an objective process compared to image enhancement –Restoration attempts.
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;
Spatial Filtering.
Digital Image Processing, 3rd ed. © 1992–2008 R. C. Gonzalez & R. E. Woods Gonzalez & Woods Chapter 3 Intensity Transformations.
Lecture 10 Image restoration and reconstruction 1.Basic concepts about image degradation/restoration 2.Noise models 3.Spatial filter techniques for restoration.
Image Subtraction Mask mode radiography h(x,y) is the mask.
Chapter 5 Image Restoration.
By Dr. Rajeev Srivastava
Dr. Abdul Basit Siddiqui FUIEMS. QuizTime 30 min. How the coefficents of Laplacian Filter are generated. Show your complete work. Also discuss different.
Image Restoration: Noise Models By Dr. Rajeev Srivastava.
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.
6/10/20161 Digital Image Processing Lecture 09: Image Restoration-I Naveed Ejaz.
Lecture 10 Chapter 5: Image Restoration. Image restoration Image restoration is the process of recovering the original scene from the observed scene which.
Digital Image Processing
Image Processing Lab Section 28/3/2016 Prepared by Mahmoud Abdelsatar Demonstrator at IT Dep. Faculty of computers and information Assuit University.
Fundamentals of Spatial Filtering:
Digital Image Processing Lecture 10: Image Restoration
IMAGE PROCESSING IMAGE RESTORATION AND NOISE REDUCTION
Image Pre-Processing in the Spatial and Frequent Domain
Image Restoration Spring 2005, Jen-Chang Liu.
Digital Image Processing
DIGITAL IMAGE PROCESSING
IMAGE RESTORATION.
Image Analysis Image Restoration.
Digital Image Processing
ENG4BF3 Medical Image Processing
Image Restoration - Focus on Noise
Presentation transcript:

Ch5 Image Restoration CS446 Instructor: Nada ALZaben

Image restoration Restoration attempts to reconstruct or recover an image that has been degraded by using a prior knowledge of the degradation phenomenon Restoration techniques are oriented toward modeling the degradation and applying the inverse process in order to recover the original image Some restoration techniques are best formulated in the spatial domain, while others are better suited for the frequency domain

A model of the Image Degradation/Restoration Process [1] The degradation process: modeled as a degradation function H together with an additive noise term operates on an input image f(x,y) to produce a degraded image g(x,y) Given knowledge about the additive noise term n(x,y), the objective of restoration is to obtain an estimate f’(x,y) of the original input image

A model of the Image Degradation/Restoration Process [2] If H is a linear position-invariant process then the degraded image is given in the spatial domain by: g(x,y) = h(x,y) * f(x,y) + n(x,y) ◦ Where: h(x,y) is the spatial representation of the degradation function and * indicates convolution We may also write the model in the frequency domain representation: G(u,v) = H(u,v) F(u,v) + N(u,v) ◦ Where the terms in capital letters are the Fourier transform of the corresponding terms in the previous equation We will assume that H is the identity operator and we deal only with degradation due to noise

Noise Model The principle sources of noise in digital images arise during image acquisition (digitization) and/or transmission Frequency properties refer to the frequency content of noise in the Fourier sense ◦ when the Fourier spectrum of noise is constant the noise usually is called white noise We will assume that noise is independent of spatial coordinates and that it is uncorrelated with respect to the image itself (i.e. no correlation between pixel values and the values of noise components)

Some Important Noise Probability Density Functions (PDF) The spatial noise descriptor is the statistical behavior of the gray-level values in the noise component of the model These may be characterized by a probability density function PDF The most common PDFs in image processing: ◦ Gaussian noise ◦ Impulse noise (salt and pepper) ◦ Gamma noise … etc

Gaussian Noise Gaussian (also called normal) noise models are frequently used in practice The PDF of a Gaussian random variable z is given by: ◦ Where: z represent gray level, µ is the mean of average value of z and σ is its standard deviation

Impulse (Salt and Pepper) Noise The PDF of impulse (bipolar) noise given by: ◦ If b > a:  Gray level b will appear as a light dot in the image  Level a will appear like a dark dot ◦ If either P a or P b is zero, the impulse noise is called unipolar noise ◦ If neither P a or P b is zero, and if they are approximately equal the impulse noise is called salt and pepper. ◦ For an 8-bit image a = 0 (black) and b = 255 (white)

Gaussian noise Impulse noise

Restoration in the Presence of Noise Only-Spatial Filtering When the only degradation present is noise : g(x,y) = f(x,y) + n(x,y) The noise term is unknown so subtracting them from g(x,y) is not a realistic option Spatial filtering is the method of choice when only additive noise is present ◦ Enhancement and image restoration become almost undistinguishable disciplines in this particular case

Mean Filters Arithmetic mean filter: ◦ let S xy be the set of coordinates in a rectangualr subimage window of size mxn centered at point (x,y), ◦ The arithmetic mean filtering process computes the average of the corrupted image g(x,y) in the area defined by S xy : ◦ The operation can be implemented using a convolution mask in which all coefficients = 1/mn

Mean Filters Geometric mean filter: ◦ is given by the expression: ◦ Achieves smoothing comparable to the arithmetic mean filter but it tends to lose less image detail in the process

Mean Filters Harmonic mean filter: ◦ Works well for salt noise but fails for pepper noise ◦ It does well also with other types of noise. Contraharmonic mean filter: ◦ Well suited for reducing the effect of salt-and- pepper noise

Median filter: ◦ Practically effective in the presence of both bipolar and unipolar impulse noise Max and min filters: ◦ Max: useful for finding the brightest points in an image (pepper noise reduced) ◦ Min: useful for finding the darkest points (reduces salt) Midpoint filter: ◦ Computes the midpoint between the maximum and minimum values in the area encompassed by the filter ◦ Works best for randomly distributed noise Order-Statistic Filters

Adaptive Filters Adaptive filters are filters whose behavior changes based on statistical characteristics of the image inside the filter region defined by the m × n rectangular window S xy They are capable of performance superior to that of the filters discussed thus far

Adaptive Median Filter The median filter performs well as long as the spatial density of the impulse noise is not large (as a rule of thump, P a and P b less than 0.2) Adaptive median filter ◦ can handle impulse noise with larger probabilities ◦ And it seeks to preserve detail while smoothing nonimpulse noise The adaptive median filter works in a rectangular window area S xy, but it changes the size of S xy during filter operation ◦ Keep in mind: The output of the filter is a single value used to replace the value of the pixel at (x,y)

Adaptive Median Filter It have three main purposes: ◦ To remove salt and-pepper (impulse) noise ◦ Provide smoothing of other noise (may not be impulsive) ◦ Reduce distortion such as excessive thinning or thickening of object boundaries Consider the following notation: ◦ z min = minimum gray level value in S xy ◦ z max = maximum gray level value in S xy ◦ z med = median of gray levels in S xy ◦ z xy = gray level at coordinates (x,y) ◦ S max = maximum allowed size of S xy

Adaptive Median Filter The adaptive median filtering algorithm works in two levels, denoted as level A and level B, as follows: Level A: ◦ A1 = z med – z min ◦ A2 = z med – z max ◦ If A1 > 0 AND A2 < 0  Go to level B ◦ Else increase the window size  If window size ≤ S xy  repeat level A  Else output z xy Level B: ◦ B1 = z xy – z min ◦ B2 = z xy – z max ◦ If B1 > 0 AND B2 < 0  Output z xy ◦ Else output z med

Resource R.C. Gonzalez and R.E. Woods, Digital Image Processing, 2rd Edition, Prentice Hall