DIGITAL IMAGE PROCESSING Instructors: Dr J. Shanbehzadeh M.Gholizadeh M.Gholizadeh

Slides:



Advertisements
Similar presentations
Chapter 3 Image Enhancement in the Spatial Domain.
Advertisements

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
Digital Image Processing
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
Rank filtering From noise image Rank filtering mask (7 x 7 ) rank 4.
6/9/2015Digital Image Processing1. 2 Example Histogram.
Digital Image Processing
Image Restoration.
Digital Image Processing
Digital Image Processing Chapter 5: Image Restoration.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 5 Image Restoration 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.
ECE 472/572 - Digital Image Processing Lecture 4 - Image Enhancement - Spatial Filter 09/06/11.
Digital Image Processing Lecture 4 Image Restoration and Reconstruction Second Semester Azad University Islamshar Branch
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
DIGITAL IMAGE PROCESSING
Digital Image Processing Lecture 5: Neighborhood Processing: Spatial Filtering Prof. Charlene Tsai.
Image processing Fourth lecture Image Restoration Image Restoration: Image restoration methods are used to improve the appearance of an image.
انجمن دانشجویان ایران – مرجع دانلود کتاب ، نمونه سوال و جزوات درسی
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.
Digital Image Processing Lecture 10: Image Restoration March 28, 2005 Prof. Charlene Tsai.
Image Restoration.
Digital Image Processing Lecture : Image Restoration
23 November Md. Tanvir Al Amin (Presenter) Anupam Bhattacharjee Department of Computer Science and Engineering,
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;
Ch5 Image Restoration CS446 Instructor: Nada ALZaben.
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.
Digital Image Processing Lecture 5: Neighborhood Processing: Spatial Filtering March 9, 2004 Prof. Charlene Tsai.
Chapter 5 Image Restoration.
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.
Digital Image Processing Lecture 10: Image Restoration II 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.
Image Restoration : Noise Reduction
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
DIGITAL IMAGE PROCESSING
Image Analysis Image Restoration.
Digital Image Processing
ENG4BF3 Medical Image Processing
Image Restoration - Focus on Noise
Digital Image Processing
Presentation transcript:

DIGITAL IMAGE PROCESSING Instructors: Dr J. Shanbehzadeh M.Gholizadeh M.Gholizadeh

DIGITAL IMAGE PROCESSING Instructors: Dr J. Shanbehzadeh M.Gholizadeh M.Gholizadeh ( J.Shanbehzadeh M.Gholizadeh )

Road map of chapter A Model of the Image Degradation/Restoration Process 5.2- Noise Models 5.3- Restoration in the Presence of Noise Only- Spatial Filtering 5.4- Periodic Noise Reduction by Frequency Domain Filtering Linear, Position-Invariant Degradations 5.6- Estimating the degradation Function 5.7- Inverse Filtering 5.8- Minimum Mean Square Error (Wiener) Filtering A Model of the Image Degradation/Restoration Process 5.2 Noise Models Restoration in the Presence of Noise Only-Spatial Filtering Periodic Noise Reduction by Frequency Domain Filtering 5.5 Linear, Position-Invariant Degradations 5.6 Estimating the degradation Function Inverse Filtering Minimum Mean Square Error (Wiener) Filtering ( J.Shanbehzadeh M.Gholizadeh )

Road map of chapter Constrained Least Square Filtering Geometric Mean Filter Image Reconstruction from Projections Geometric Mean Filter 5.10 Constrained Least Square Filtering Image Reconstruction from Projections 5.11 ( J.Shanbehzadeh M.Gholizadeh )

5.3 Restoration in the Presence of Noise Only - Spatial Filtering ( J.Shanbehzadeh M.Gholizadeh )

Restoration in the Presence of Noise Only - Spatial Filtering 5.1- A Model of the Image Degradation/Restoration Process 5.2- Noise Models 5.3- Restoration in the Presence of Noise Only-Spatial Filtering 5.4- Periodic Noise Reduction by Frequency Domain Filtering Linear, Position-Invariant Degradations 5.6- Estimating the degradation Function 5.7- Inverse Filtering 5.8- Minimum Mean Square Error (Wiener) Filtering 5.9- Constrained Least Square Filtering Geometric Mean Filter Image Reconstruction from Projections Mean FiltersOrdered-Statistic FiltersAdaptive Filters ( J.Shanbehzadeh M.Gholizadeh )

Restoration in the Presence of Noise Only - Spatial Filtering 5.1- A Model of the Image Degradation/Restoration Process 5.2- Noise Models 5.3- Restoration in the Presence of Noise Only-Spatial Filtering 5.4- Periodic Noise Reduction by Frequency Domain Filtering Linear, Position-Invariant Degradations 5.6- Estimating the degradation Function 5.7- Inverse Filtering 5.8- Minimum Mean Square Error (Wiener) Filtering 5.9- Constrained Least Square Filtering Geometric Mean Filter Image Reconstruction from Projections Mean FiltersOrdered-Statistic FiltersAdaptive FiltersMean Filters ( J.Shanbehzadeh M.Gholizadeh )

Mean Filters Performance superior to the filters discussed in Section 3.6 Degradation Model: Arithmetic Mean Filter(Moving Average Filter): Computes the average value of the corrupted image g(x,y) The value of the restored image f To remove this part mn = size of moving window 5.1- A Model of the Image Degradation/Restoration Process 5.2- Noise Models 5.3- Restoration in the Presence of Noise Only-Spatial Filtering 5.4- Periodic Noise Reduction by Frequency Domain Filtering Linear, Position-Invariant Degradations 5.6- Estimating the degradation Function 5.7- Inverse Filtering 5.8- Minimum Mean Square Error (Wiener) Filtering 5.9- Constrained Least Square Filtering Geometric Mean Filter Image Reconstruction from Projections ( J.Shanbehzadeh M.Gholizadeh )

Geometric Mean Filter: Smooth comparable to the arithmetic mean filter, but it tends to loss less detail. Harmonic Mean Filter: Work well for salt noise and Gaussian noise, but fails for pepper noise Works well for salt noise but fails for pepper noise Mean Filters 5.1- A Model of the Image Degradation/Restoration Process 5.2- Noise Models 5.3- Restoration in the Presence of Noise Only-Spatial Filtering 5.4- Periodic Noise Reduction by Frequency Domain Filtering Linear, Position-Invariant Degradations 5.6- Estimating the degradation Function 5.7- Inverse Filtering 5.8- Minimum Mean Square Error (Wiener) Filtering 5.9- Constrained Least Square Filtering Geometric Mean Filter Image Reconstruction from Projections ( J.Shanbehzadeh M.Gholizadeh )

Contra harmonic Mean Filter: Q = the filter order Positive Q is suitable for eliminating pepper noise. Negative Q is suitable for eliminating salt noise. For Q = 0, the filter reduces to an arithmetic mean filter. For Q = -1, the filter reduces to a harmonic mean filter. Mean Filters 5.1- A Model of the Image Degradation/Restoration Process 5.2- Noise Models 5.3- Restoration in the Presence of Noise Only-Spatial Filtering 5.4- Periodic Noise Reduction by Frequency Domain Filtering Linear, Position-Invariant Degradations 5.6- Estimating the degradation Function 5.7- Inverse Filtering 5.8- Minimum Mean Square Error (Wiener) Filtering 5.9- Constrained Least Square Filtering Geometric Mean Filter Image Reconstruction from Projections ( J.Shanbehzadeh M.Gholizadeh )

Arithmetic Mean Filter - Example 5.1- A Model of the Image Degradation/Restoration Process 5.2- Noise Models 5.3- Restoration in the Presence of Noise Only-Spatial Filtering 5.4- Periodic Noise Reduction by Frequency Domain Filtering Linear, Position-Invariant Degradations 5.6- Estimating the degradation Function 5.7- Inverse Filtering 5.8- Minimum Mean Square Error (Wiener) Filtering 5.9- Constrained Least Square Filtering Geometric Mean Filter Image Reconstruction from Projections ( J.Shanbehzadeh M.Gholizadeh )

Arithmetic Mean Filter - Example 5.1- A Model of the Image Degradation/Restoration Process 5.2- Noise Models 5.3- Restoration in the Presence of Noise Only-Spatial Filtering 5.4- Periodic Noise Reduction by Frequency Domain Filtering Linear, Position-Invariant Degradations 5.6- Estimating the degradation Function 5.7- Inverse Filtering 5.8- Minimum Mean Square Error (Wiener) Filtering 5.9- Constrained Least Square Filtering Geometric Mean Filter Image Reconstruction from Projections ( J.Shanbehzadeh M.Gholizadeh )

Arithmetic Mean Filter - Example 5.1- A Model of the Image Degradation/Restoration Process 5.2- Noise Models 5.3- Restoration in the Presence of Noise Only-Spatial Filtering 5.4- Periodic Noise Reduction by Frequency Domain Filtering Linear, Position-Invariant Degradations 5.6- Estimating the degradation Function 5.7- Inverse Filtering 5.8- Minimum Mean Square Error (Wiener) Filtering 5.9- Constrained Least Square Filtering Geometric Mean Filter Image Reconstruction from Projections ( J.Shanbehzadeh M.Gholizadeh )

Geometric Mean Filter - Example Original Image Corrupted by AWGN Image obtained using a 3x3 geometric mean filter Image obtained using a 3x3 arithmetic mean filter AWGN: Additive White Gaussian Noise 5.1- A Model of the Image Degradation/Restoration Process 5.2- Noise Models 5.3- Restoration in the Presence of Noise Only-Spatial Filtering 5.4- Periodic Noise Reduction by Frequency Domain Filtering Linear, Position-Invariant Degradations 5.6- Estimating the degradation Function 5.7- Inverse Filtering 5.8- Minimum Mean Square Error (Wiener) Filtering 5.9- Constrained Least Square Filtering Geometric Mean Filter Image Reconstruction from Projections ( J.Shanbehzadeh M.Gholizadeh )

Image corrupted by pepper noise with prob. = 0.1 Image corrupted by salt noise with prob. = 0.1 Image obtained using a 3x3 contra- harmonic mean filter With Q = 1.5 Image obtained using a 3x3 contra-harmonic mean filter With Q=-1.5 Geometric Mean Filter - Example 5.1- A Model of the Image Degradation/Restoration Process 5.2- Noise Models 5.3- Restoration in the Presence of Noise Only-Spatial Filtering 5.4- Periodic Noise Reduction by Frequency Domain Filtering Linear, Position-Invariant Degradations 5.6- Estimating the degradation Function 5.7- Inverse Filtering 5.8- Minimum Mean Square Error (Wiener) Filtering 5.9- Constrained Least Square Filtering Geometric Mean Filter Image Reconstruction from Projections ( J.Shanbehzadeh M.Gholizadeh )

Contraharmonic Filters: Incorrect Use Image corrupted by pepper noise with prob. = 0.1 Image corrupted by salt noise with prob. = 0.1 Image obtained using a 3x3 contra- harmonic mean filter With Q=-1.5 Image obtained using a 3x3 contra- harmonic mean filter With Q= A Model of the Image Degradation/Restoration Process 5.2- Noise Models 5.3- Restoration in the Presence of Noise Only-Spatial Filtering 5.4- Periodic Noise Reduction by Frequency Domain Filtering Linear, Position-Invariant Degradations 5.6- Estimating the degradation Function 5.7- Inverse Filtering 5.8- Minimum Mean Square Error (Wiener) Filtering 5.9- Constrained Least Square Filtering Geometric Mean Filter Image Reconstruction from Projections ( J.Shanbehzadeh M.Gholizadeh )

Contra harmonic Filters - Example The Contraharmonic mean filter works well for images containing salt or pepper type noise 5.1- A Model of the Image Degradation/Restoration Process 5.2- Noise Models 5.3- Restoration in the Presence of Noise Only-Spatial Filtering 5.4- Periodic Noise Reduction by Frequency Domain Filtering Linear, Position-Invariant Degradations 5.6- Estimating the degradation Function 5.7- Inverse Filtering 5.8- Minimum Mean Square Error (Wiener) Filtering 5.9- Constrained Least Square Filtering Geometric Mean Filter Image Reconstruction from Projections ( J.Shanbehzadeh M.Gholizadeh )

Contra harmonic Filters - Example 5.1- A Model of the Image Degradation/Restoration Process 5.2- Noise Models 5.3- Restoration in the Presence of Noise Only-Spatial Filtering 5.4- Periodic Noise Reduction by Frequency Domain Filtering Linear, Position-Invariant Degradations 5.6- Estimating the degradation Function 5.7- Inverse Filtering 5.8- Minimum Mean Square Error (Wiener) Filtering 5.9- Constrained Least Square Filtering Geometric Mean Filter Image Reconstruction from Projections ( J.Shanbehzadeh M.Gholizadeh )

Restoration in the Presence of Noise Only - Spatial Filtering 5.1- A Model of the Image Degradation/Restoration Process 5.2- Noise Models 5.3- Restoration in the Presence of Noise Only-Spatial Filtering 5.4- Periodic Noise Reduction by Frequency Domain Filtering Linear, Position-Invariant Degradations 5.6- Estimating the degradation Function 5.7- Inverse Filtering 5.8- Minimum Mean Square Error (Wiener) Filtering 5.9- Constrained Least Square Filtering Geometric Mean Filter Image Reconstruction from Projections Mean FiltersOrdered-Statistic FiltersAdaptive FiltersOrdered-Statistic Filters ( J.Shanbehzadeh M.Gholizadeh )

Order-Statistic Filters: Revisit Subimage Original image Moving Window Statistic parameters Mean, Median, Mode, Min, Max, Etc. Output image 5.1- A Model of the Image Degradation/Restoration Process 5.2- Noise Models 5.3- Restoration in the Presence of Noise Only-Spatial Filtering 5.4- Periodic Noise Reduction by Frequency Domain Filtering Linear, Position-Invariant Degradations 5.6- Estimating the degradation Function 5.7- Inverse Filtering 5.8- Minimum Mean Square Error (Wiener) Filtering 5.9- Constrained Least Square Filtering Geometric Mean Filter Image Reconstruction from Projections ( J.Shanbehzadeh M.Gholizadeh )

Order-Statistics Filters Median filters: Are particularly effective in the presence of both bipolar and unipolar impulse noise Max filters (Fig. 5.8) Max filter: reduce low values caused by pepper noise Min filters (Fig. 5.8) Min filter: reduce high values caused by salt noise Reduce “dark” noise (pepper noise) Reduce “bright” noise (salt noise) 5.1- A Model of the Image Degradation/Restoration Process 5.2- Noise Models 5.3- Restoration in the Presence of Noise Only-Spatial Filtering 5.4- Periodic Noise Reduction by Frequency Domain Filtering Linear, Position-Invariant Degradations 5.6- Estimating the degradation Function 5.7- Inverse Filtering 5.8- Minimum Mean Square Error (Wiener) Filtering 5.9- Constrained Least Square Filtering Geometric Mean Filter Image Reconstruction from Projections ( J.Shanbehzadeh M.Gholizadeh )

Midpoint filter Combines order statistics and averaging Order-Statistics Filters 5.1- A Model of the Image Degradation/Restoration Process 5.2- Noise Models 5.3- Restoration in the Presence of Noise Only-Spatial Filtering 5.4- Periodic Noise Reduction by Frequency Domain Filtering Linear, Position-Invariant Degradations 5.6- Estimating the degradation Function 5.7- Inverse Filtering 5.8- Minimum Mean Square Error (Wiener) Filtering 5.9- Constrained Least Square Filtering Geometric Mean Filter Image Reconstruction from Projections ( J.Shanbehzadeh M.Gholizadeh )

Median Filter: How it works Degraded image Salt noise Pepper noise Moving Window Sorted Array Salt noise Pepper noise Median Filter output Normally, impulse noise has high magnitude and is solated. When we sort pixels in the moving window, noise pixels are usually at the ends of the array. Therefore, it’s rare that the noise pixel will be a median value. A median filter is good for removing impulse, isolated noise 5.1- A Model of the Image Degradation/Restoration Process 5.2- Noise Models 5.3- Restoration in the Presence of Noise Only-Spatial Filtering 5.4- Periodic Noise Reduction by Frequency Domain Filtering Linear, Position-Invariant Degradations 5.6- Estimating the degradation Function 5.7- Inverse Filtering 5.8- Minimum Mean Square Error (Wiener) Filtering 5.9- Constrained Least Square Filtering Geometric Mean Filter Image Reconstruction from Projections ( J.Shanbehzadeh M.Gholizadeh )

Median Filter: How it works Image corrupted by salt and pepper noise with p a =p b = 0.1 Images obtained using a 3x3 median filter A Model of the Image Degradation/Restoration Process 5.2- Noise Models 5.3- Restoration in the Presence of Noise Only-Spatial Filtering 5.4- Periodic Noise Reduction by Frequency Domain Filtering Linear, Position-Invariant Degradations 5.6- Estimating the degradation Function 5.7- Inverse Filtering 5.8- Minimum Mean Square Error (Wiener) Filtering 5.9- Constrained Least Square Filtering Geometric Mean Filter Image Reconstruction from Projections ( J.Shanbehzadeh M.Gholizadeh )

Median Filter: How it works 5.1- A Model of the Image Degradation/Restoration Process 5.2- Noise Models 5.3- Restoration in the Presence of Noise Only-Spatial Filtering 5.4- Periodic Noise Reduction by Frequency Domain Filtering Linear, Position-Invariant Degradations 5.6- Estimating the degradation Function 5.7- Inverse Filtering 5.8- Minimum Mean Square Error (Wiener) Filtering 5.9- Constrained Least Square Filtering Geometric Mean Filter Image Reconstruction from Projections ( J.Shanbehzadeh M.Gholizadeh )

Median Filter: How it works 5.1- A Model of the Image Degradation/Restoration Process 5.2- Noise Models 5.3- Restoration in the Presence of Noise Only-Spatial Filtering 5.4- Periodic Noise Reduction by Frequency Domain Filtering Linear, Position-Invariant Degradations 5.6- Estimating the degradation Function 5.7- Inverse Filtering 5.8- Minimum Mean Square Error (Wiener) Filtering 5.9- Constrained Least Square Filtering Geometric Mean Filter Image Reconstruction from Projections ( J.Shanbehzadeh M.Gholizadeh )

Max and Min Filters - Example Image corrupted by pepper noise with prob. = 0.1 Image corrupted by salt noise with prob. = 0.1 Image obtained using a 3x3 max filter Image obtained using a 3x3 min filter 5.1- A Model of the Image Degradation/Restoration Process 5.2- Noise Models 5.3- Restoration in the Presence of Noise Only-Spatial Filtering 5.4- Periodic Noise Reduction by Frequency Domain Filtering Linear, Position-Invariant Degradations 5.6- Estimating the degradation Function 5.7- Inverse Filtering 5.8- Minimum Mean Square Error (Wiener) Filtering 5.9- Constrained Least Square Filtering Geometric Mean Filter Image Reconstruction from Projections ( J.Shanbehzadeh M.Gholizadeh )

Max and Min Filters - Example Various Windows size for Max and Min Filters: 5.1- A Model of the Image Degradation/Restoration Process 5.2- Noise Models 5.3- Restoration in the Presence of Noise Only-Spatial Filtering 5.4- Periodic Noise Reduction by Frequency Domain Filtering Linear, Position-Invariant Degradations 5.6- Estimating the degradation Function 5.7- Inverse Filtering 5.8- Minimum Mean Square Error (Wiener) Filtering 5.9- Constrained Least Square Filtering Geometric Mean Filter Image Reconstruction from Projections ( J.Shanbehzadeh M.Gholizadeh )

Max and Min Filters - Example 5.1- A Model of the Image Degradation/Restoration Process 5.2- Noise Models 5.3- Restoration in the Presence of Noise Only-Spatial Filtering 5.4- Periodic Noise Reduction by Frequency Domain Filtering Linear, Position-Invariant Degradations 5.6- Estimating the degradation Function 5.7- Inverse Filtering 5.8- Minimum Mean Square Error (Wiener) Filtering 5.9- Constrained Least Square Filtering Geometric Mean Filter Image Reconstruction from Projections ( J.Shanbehzadeh M.Gholizadeh )

Max and Min Filters - Example 5.1- A Model of the Image Degradation/Restoration Process 5.2- Noise Models 5.3- Restoration in the Presence of Noise Only-Spatial Filtering 5.4- Periodic Noise Reduction by Frequency Domain Filtering Linear, Position-Invariant Degradations 5.6- Estimating the degradation Function 5.7- Inverse Filtering 5.8- Minimum Mean Square Error (Wiener) Filtering 5.9- Constrained Least Square Filtering Geometric Mean Filter Image Reconstruction from Projections ( J.Shanbehzadeh M.Gholizadeh )

Max and Min Filters - Example 5.1- A Model of the Image Degradation/Restoration Process 5.2- Noise Models 5.3- Restoration in the Presence of Noise Only-Spatial Filtering 5.4- Periodic Noise Reduction by Frequency Domain Filtering Linear, Position-Invariant Degradations 5.6- Estimating the degradation Function 5.7- Inverse Filtering 5.8- Minimum Mean Square Error (Wiener) Filtering 5.9- Constrained Least Square Filtering Geometric Mean Filter Image Reconstruction from Projections ( J.Shanbehzadeh M.Gholizadeh )

Alpha -trimmed Mean Filter Formula: where g r (s,t) represent the remaining mn-d pixels after removing the d/2 highest and d/2 lowest values of g(s,t). This filter is useful in situations involving multiple types of noise such as a combination of salt-and-pepper and Gaussian noise A Model of the Image Degradation/Restoration Process 5.2- Noise Models 5.3- Restoration in the Presence of Noise Only-Spatial Filtering 5.4- Periodic Noise Reduction by Frequency Domain Filtering Linear, Position-Invariant Degradations 5.6- Estimating the degradation Function 5.7- Inverse Filtering 5.8- Minimum Mean Square Error (Wiener) Filtering 5.9- Constrained Least Square Filtering Geometric Mean Filter Image Reconstruction from Projections ( J.Shanbehzadeh M.Gholizadeh )

Alpha-trimmed Mean Filter - Example Image corrupted by additive uniform noise Image 2 obtained using a 5x5 arithmetic mean filter Image additionally corrupted by additive salt-and- pepper noise Image 2 obtained using a 5x5 geometric mean filter A Model of the Image Degradation/Restoration Process 5.2- Noise Models 5.3- Restoration in the Presence of Noise Only-Spatial Filtering 5.4- Periodic Noise Reduction by Frequency Domain Filtering Linear, Position-Invariant Degradations 5.6- Estimating the degradation Function 5.7- Inverse Filtering 5.8- Minimum Mean Square Error (Wiener) Filtering 5.9- Constrained Least Square Filtering Geometric Mean Filter Image Reconstruction from Projections ( J.Shanbehzadeh M.Gholizadeh )

Image corrupted by additive uniform noise Image 2 obtained using a 5x5 median filter Image additionally corrupted by additive salt-and- pepper noise 1 2 Image 2 obtained using a 5x5 alpha- trimmed mean filter with d = 5 Alpha-trimmed Mean Filter - Example 5.1- A Model of the Image Degradation/Restoration Process 5.2- Noise Models 5.3- Restoration in the Presence of Noise Only-Spatial Filtering 5.4- Periodic Noise Reduction by Frequency Domain Filtering Linear, Position-Invariant Degradations 5.6- Estimating the degradation Function 5.7- Inverse Filtering 5.8- Minimum Mean Square Error (Wiener) Filtering 5.9- Constrained Least Square Filtering Geometric Mean Filter Image Reconstruction from Projections ( J.Shanbehzadeh M.Gholizadeh )

Image obtained using a 5x5 arithmetic mean filter Image obtained using a 5x5 geometric mean filter Image obtained using a 5x5 median filter Image obtained using a 5x5 alpha- trimmed mean filter with d = 5 Alpha-trimmed Mean Filter - Example 5.1- A Model of the Image Degradation/Restoration Process 5.2- Noise Models 5.3- Restoration in the Presence of Noise Only-Spatial Filtering 5.4- Periodic Noise Reduction by Frequency Domain Filtering Linear, Position-Invariant Degradations 5.6- Estimating the degradation Function 5.7- Inverse Filtering 5.8- Minimum Mean Square Error (Wiener) Filtering 5.9- Constrained Least Square Filtering Geometric Mean Filter Image Reconstruction from Projections ( J.Shanbehzadeh M.Gholizadeh )

Alpha-trimmed Mean Filter - Example 5.1- A Model of the Image Degradation/Restoration Process 5.2- Noise Models 5.3- Restoration in the Presence of Noise Only-Spatial Filtering 5.4- Periodic Noise Reduction by Frequency Domain Filtering Linear, Position-Invariant Degradations 5.6- Estimating the degradation Function 5.7- Inverse Filtering 5.8- Minimum Mean Square Error (Wiener) Filtering 5.9- Constrained Least Square Filtering Geometric Mean Filter Image Reconstruction from Projections ( J.Shanbehzadeh M.Gholizadeh )

Alpha-trimmed Mean Filter - Example 5.1- A Model of the Image Degradation/Restoration Process 5.2- Noise Models 5.3- Restoration in the Presence of Noise Only-Spatial Filtering 5.4- Periodic Noise Reduction by Frequency Domain Filtering Linear, Position-Invariant Degradations 5.6- Estimating the degradation Function 5.7- Inverse Filtering 5.8- Minimum Mean Square Error (Wiener) Filtering 5.9- Constrained Least Square Filtering Geometric Mean Filter Image Reconstruction from Projections ( J.Shanbehzadeh M.Gholizadeh )

Restoration in the Presence of Noise Only - Spatial Filtering 5.1- A Model of the Image Degradation/Restoration Process 5.2- Noise Models 5.3- Restoration in the Presence of Noise Only-Spatial Filtering 5.4- Periodic Noise Reduction by Frequency Domain Filtering Linear, Position-Invariant Degradations 5.6- Estimating the degradation Function 5.7- Inverse Filtering 5.8- Minimum Mean Square Error (Wiener) Filtering 5.9- Constrained Least Square Filtering Geometric Mean Filter Image Reconstruction from Projections Mean FiltersOrdered-Statistic FiltersAdaptive Filters ( J.Shanbehzadeh M.Gholizadeh )

Adaptive Filters Global Concept: Can apply to an image with regard to how image characteristics vary from one point to another Filter behavior depends on statistical characteristics of local areas inside m×n moving window More complex but superior performance compared with “fixed” filters Statistical characteristics: Local mean: Local Variance: Noise variance 5.1- A Model of the Image Degradation/Restoration Process 5.2- Noise Models 5.3- Restoration in the Presence of Noise Only-Spatial Filtering 5.4- Periodic Noise Reduction by Frequency Domain Filtering Linear, Position-Invariant Degradations 5.6- Estimating the degradation Function 5.7- Inverse Filtering 5.8- Minimum Mean Square Error (Wiener) Filtering 5.9- Constrained Least Square Filtering Geometric Mean Filter Image Reconstruction from Projections ( J.Shanbehzadeh M.Gholizadeh )

Adaptive, Local Noise Reduction Filters The response of the filter based on four quantities: The value of the noise image The variance of the noise corrupting f(x,y) to form g(x,y) The local means of the pixel in S xy The local variance of the pixels in S xy The filter can be proceeded as follows: The variance of the noise s h 2 is zero (zero noise): g(x,y)=f(x,y) High local variance (edges) relative to s h 2 : edges that should be preserved; return a value close to g(x,y) The two variances are equal: return the arithmetic mean value of the pixels in S xy 5.1- A Model of the Image Degradation/Restoration Process 5.2- Noise Models 5.3- Restoration in the Presence of Noise Only-Spatial Filtering 5.4- Periodic Noise Reduction by Frequency Domain Filtering Linear, Position-Invariant Degradations 5.6- Estimating the degradation Function 5.7- Inverse Filtering 5.8- Minimum Mean Square Error (Wiener) Filtering 5.9- Constrained Least Square Filtering Geometric Mean Filter Image Reconstruction from Projections ( J.Shanbehzadeh M.Gholizadeh )

Purpose: 1. If s h 2 is zero,  No noise the filter should return g(x,y) because g(x,y) = f(x,y) 2. If s L 2 is high relative to s h 2,  Edges (should be preserved), the filter should return the value close to g(x,y) 3. If s L 2 = s h 2,  Areas inside objects the filter should return the arithmetic mean value m L Formula: Concept: Want to preserve edges Adaptive, Local Noise Reduction Filters 5.1- A Model of the Image Degradation/Restoration Process 5.2- Noise Models 5.3- Restoration in the Presence of Noise Only-Spatial Filtering 5.4- Periodic Noise Reduction by Frequency Domain Filtering Linear, Position-Invariant Degradations 5.6- Estimating the degradation Function 5.7- Inverse Filtering 5.8- Minimum Mean Square Error (Wiener) Filtering 5.9- Constrained Least Square Filtering Geometric Mean Filter Image Reconstruction from Projections ( J.Shanbehzadeh M.Gholizadeh )

The variance of the overall noise needs to be estimated. The only quantities that needs to be known or estimated: The variance of the overall noise then the ratio (Eq ) is set to 1: Prevent negative gray levels If negative values occur, rescale the gray values at the end (lost of the dynamic range) Similar noise removal results compared to other mean filter Adaptive, Local Noise Reduction Filters 5.1- A Model of the Image Degradation/Restoration Process 5.2- Noise Models 5.3- Restoration in the Presence of Noise Only-Spatial Filtering 5.4- Periodic Noise Reduction by Frequency Domain Filtering Linear, Position-Invariant Degradations 5.6- Estimating the degradation Function 5.7- Inverse Filtering 5.8- Minimum Mean Square Error (Wiener) Filtering 5.9- Constrained Least Square Filtering Geometric Mean Filter Image Reconstruction from Projections ( J.Shanbehzadeh M.Gholizadeh )

Adaptive Noise Reduction Filter - Example Image corrupted by additive Gaussian noise with zero mean and  2 =1000 Image obtained using a 7x7 arithmetic mean filter Image obtained using a 7x7 geometric mean filter Image obtained using a 7x7 adaptive noise reduction filter 5.1- A Model of the Image Degradation/Restoration Process 5.2- Noise Models 5.3- Restoration in the Presence of Noise Only-Spatial Filtering 5.4- Periodic Noise Reduction by Frequency Domain Filtering Linear, Position-Invariant Degradations 5.6- Estimating the degradation Function 5.7- Inverse Filtering 5.8- Minimum Mean Square Error (Wiener) Filtering 5.9- Constrained Least Square Filtering Geometric Mean Filter Image Reconstruction from Projections ( J.Shanbehzadeh M.Gholizadeh )

Adaptive Noise Reduction Filter - Example 5.1- A Model of the Image Degradation/Restoration Process 5.2- Noise Models 5.3- Restoration in the Presence of Noise Only-Spatial Filtering 5.4- Periodic Noise Reduction by Frequency Domain Filtering Linear, Position-Invariant Degradations 5.6- Estimating the degradation Function 5.7- Inverse Filtering 5.8- Minimum Mean Square Error (Wiener) Filtering 5.9- Constrained Least Square Filtering Geometric Mean Filter Image Reconstruction from Projections ( J.Shanbehzadeh M.Gholizadeh )

Adaptive Median Filter Median filter perform well as long as spatial density of the impulse noise is not vary large (P a and P b <0.2 ) The adaptive filter Can handle impulse noise with probabilities even larger than P a and P b >0.2 Preserve detail while smoothing non-impulse noise Change (increase) S xy during filter operation 5.1- A Model of the Image Degradation/Restoration Process 5.2- Noise Models 5.3- Restoration in the Presence of Noise Only-Spatial Filtering 5.4- Periodic Noise Reduction by Frequency Domain Filtering Linear, Position-Invariant Degradations 5.6- Estimating the degradation Function 5.7- Inverse Filtering 5.8- Minimum Mean Square Error (Wiener) Filtering 5.9- Constrained Least Square Filtering Geometric Mean Filter Image Reconstruction from Projections ( J.Shanbehzadeh M.Gholizadeh )

Algorithm: Level A: A1= z median – z min A2= z median – z max If A1 > 0 and A2 < 0, go to level B Else increase window size If window size <= S max repeat level A Else return z xy Level B: B1= z xy – z min B2= z xy – z max If B1 > 0 and B2 < 0, return z xy Else return z median z min = minimum gray level value in S xy z max = maximum gray level value in S xy z median = median of gray levels in S xy z xy = gray level value at pixel (x,y) S max = maximum allowed size of S xy where Purpose: Want to remove impulse noise while preserving edges Adaptive Median Filter 5.1- A Model of the Image Degradation/Restoration Process 5.2- Noise Models 5.3- Restoration in the Presence of Noise Only-Spatial Filtering 5.4- Periodic Noise Reduction by Frequency Domain Filtering Linear, Position-Invariant Degradations 5.6- Estimating the degradation Function 5.7- Inverse Filtering 5.8- Minimum Mean Square Error (Wiener) Filtering 5.9- Constrained Least Square Filtering Geometric Mean Filter Image Reconstruction from Projections ( J.Shanbehzadeh M.Gholizadeh )

Adaptive Median Filter: How it works Level A: A1= z median – z min A2= z median – z max Determine whether z median is an impulse or not If A1 > 0 and A2 < 0, go to level B Else  Window is not big enough increase window size If window size <= S max repeat level A Else return z xy 5.1- A Model of the Image Degradation/Restoration Process 5.2- Noise Models 5.3- Restoration in the Presence of Noise Only-Spatial Filtering 5.4- Periodic Noise Reduction by Frequency Domain Filtering Linear, Position-Invariant Degradations 5.6- Estimating the degradation Function 5.7- Inverse Filtering 5.8- Minimum Mean Square Error (Wiener) Filtering 5.9- Constrained Least Square Filtering Geometric Mean Filter Image Reconstruction from Projections ( J.Shanbehzadeh M.Gholizadeh )

Determine whether z xy is an impulse or not Level B:  z median is not an impulse B1= z xy – z min B2= z xy – z max If B1 > 0 and B2 < 0,  z xy is not an impulse return z xy  to preserve original details Else return z median  to remove impulse Adaptive Median Filter: How it works 5.1- A Model of the Image Degradation/Restoration Process 5.2- Noise Models 5.3- Restoration in the Presence of Noise Only-Spatial Filtering 5.4- Periodic Noise Reduction by Frequency Domain Filtering Linear, Position-Invariant Degradations 5.6- Estimating the degradation Function 5.7- Inverse Filtering 5.8- Minimum Mean Square Error (Wiener) Filtering 5.9- Constrained Least Square Filtering Geometric Mean Filter Image Reconstruction from Projections ( J.Shanbehzadeh M.Gholizadeh )

Adaptive Median Filter - Example Image corrupted by salt-and-pepper noise with p a =p b = 0.25 Image obtained using a 7x7 median filter Image obtained using an adaptive median filter with S max = 7 More small details are preserved 5.1- A Model of the Image Degradation/Restoration Process 5.2- Noise Models 5.3- Restoration in the Presence of Noise Only-Spatial Filtering 5.4- Periodic Noise Reduction by Frequency Domain Filtering Linear, Position-Invariant Degradations 5.6- Estimating the degradation Function 5.7- Inverse Filtering 5.8- Minimum Mean Square Error (Wiener) Filtering 5.9- Constrained Least Square Filtering Geometric Mean Filter Image Reconstruction from Projections ( J.Shanbehzadeh M.Gholizadeh )