By Dr. Rajeev Srivastava

Slides:



Advertisements
Similar presentations
ECE 472/572 - Digital Image Processing Lecture 7 - Image Restoration - Noise Models 10/04/11.
Advertisements

Digital Image Processing Chapter 5: Image Restoration.
Digital Image Processing
Image Restoration 影像復原 Spring 2005, Jen-Chang Liu.
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 Chapter 5: Image Restoration.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 5 Image Restoration Chapter 5 Image Restoration.
1 Lecture 12 Neighbourhood Operations (2) TK3813 DR MASRI AYOB.
Image Restoration.
Image Enhancement.
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
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
Chapter 5 Neighborhood Processing
Digital Image Processing
EE663 Image Processing Dr. Samir H. Abdul-Jauwad Electrical Engineering Department King Fahd University of Petroleum & Minerals.
Digital Image Processing Lecture 5: Neighborhood Processing: Spatial Filtering Prof. Charlene Tsai.
AdeptSight Image Processing Tools Lee Haney January 21, 2010.
MULTIMEDIA TECHNOLOGY SMM 3001 MEDIA - IMAGES. Processing digital Images digital images are often processed using “digital filters” digital images are.
Image processing Fourth lecture Image Restoration Image Restoration: Image restoration methods are used to improve the appearance of an image.
انجمن دانشجویان ایران – مرجع دانلود کتاب ، نمونه سوال و جزوات درسی
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
Chapter 5: Neighborhood Processing
Lecture 5 Mask/Filter Transformation 1.The concept of mask/filters 2.Mathematical model of filtering Correlation, convolution 3.Smoother filters 4.Filter.
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
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.
Intelligent Vision Systems ENT 496 Image Filtering and Enhancement Hema C.R. Lecture 4.
Digital Image Processing Lecture 5: Neighborhood Processing: Spatial Filtering March 9, 2004 Prof. Charlene Tsai.
Chapter 5 Image Restoration.
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.
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
ECE 692 – Advanced Topics in Computer Vision
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
LỌC NHIỄU trong miền không gian
Image Restoration - Focus on Noise
Digital Image Processing
Presentation transcript:

By Dr. Rajeev Srivastava Image Restoration: Spatial Filtering By Dr. Rajeev Srivastava

The filters which needs to be considered are: Restoration of Noise Only- Spatial Filtering The filters which needs to be considered are: Arithmetic mean filters Geometric mean filters Harmonic mean filters Contra-harmonic mean filters Mean filters Median filter Max and min filter Mid point filter Alpha trimmed mean filter Order statistics filter

Arithmetic Mean Filter Smooth local variations in an image Noise is induced as a result of blurring g(s,t): Degraded image 𝑆 𝑥𝑦 :𝑠𝑒𝑡 𝑜𝑓 𝑐𝑜𝑜𝑟𝑑𝑖𝑛𝑎𝑡𝑒𝑠 𝑖𝑛 𝑎 𝑟𝑒𝑐𝑡𝑎𝑛𝑔𝑢𝑙𝑎𝑟 𝑠𝑢𝑏𝑖𝑚𝑎𝑔𝑒 𝑤𝑖𝑛𝑑𝑜𝑤 𝑜𝑓 𝑠𝑖𝑧𝑒 𝑚×𝑛 𝑓 𝑥,𝑦 = 1 𝑚𝑛 (𝑥,𝑡)𝜖 𝑆 𝑥𝑦 𝑔(𝑠,𝑡)

Geometric and Harmonic Mean Filter Geometric mean filter: it is comparable to the arithmetic mean filter.it achieves smoothening and lossless image detail in the process. 𝑓 𝑥,𝑦 = (𝑠,𝑡)𝜖 𝑆 𝑥𝑦 𝑔(𝑠,𝑡) 1 𝑚𝑛 Harmonic mean filter The advantage with harmonic filter is that it works well for salt noise and gaussian noise but it fails considerably for pepper noise 𝑓 𝑥𝑦 = 𝑚𝑛 (𝑠,𝑡)𝜖 𝑆 𝑥𝑦 1 𝑔(𝑠,𝑡)

Contra-Harmonic Mean Filter This filter can reduce the effect of both salt and pepper noise but the glitch is that it can not eliminate both of them simultaneously. If we consider the order of filter as Q, then the following will hold: Q>0; eliminate pepper noise Q<0; eliminate salt noise Q=0; arithmetic mean filter Q=-1; harmonic mean filter 𝐹 𝑥,𝑦 = (𝑠,𝑡)𝜖 𝑆 𝑥𝑦 𝑔 𝑄+1 (𝑠,𝑡) (𝑠,𝑡) 𝑔 𝑄 (𝑠,𝑡)

Classification of Contra-Harmonic Filter Applications The positive order filters effectively reduce the pepper noise, at the expense of blurring the dark areas. The negative order filters effectively reduce the salt noise, at the expense of blurring the bright areas

Arithmetic and geometric mean filters suit the Gaussian or uniform noise Contra harmonic filters suit the impulse noise,yet,with the information of dark or light noise to select the proper file for Q.

Arithmetic and Geometric Mean Filters (Example)

Contra-Harmonic Mean Filter (Example)

Contra-Harmonic Mean Filter (Example)

Order Statistics Filters: Median Filter Output is based on ordering(ranking) the pixels in a subimage. Replace the value of a pixel by the median of the grey levels in the neighborhood of that pixel. Excellent for removing both bipolar and unipolar impulse noise. 𝑓 𝑥,𝑦 = 𝑚𝑒𝑑𝑖𝑎𝑛 {𝑔 𝑠,𝑡 }

Median Filter (Example)

Order Statistics Filters: Max and Min filter Max filter: replace the value of a pixel by the maximum of the grey levels(the brightest points) in the neighborhood of that pixel. Min filter: replace the value of a pixel by the minimum of the gray levels(the darkest points) in the neighborhood of that pixel. f(x,y)= 𝑚𝑎𝑥 (𝑠,𝑡)𝜖 𝑆 𝑥𝑦 {g(s,t)} f(x,y)= 𝑚𝑖𝑛 (𝑠,𝑡)𝜖 𝑆 𝑥𝑦 {g(s,t)}

Max and Min Filters (Example)

Order Statistics Filters: Midpoint Filter Filters output: the midpoint between the maximum and minimum values of the gray levels in the mask. It combines order statistics and averaging The midpoint filter works best for randomly distributed noise which includes Gaussian or uniform noise. f(x,y) = 1 2 [ 𝑚𝑎𝑥 (𝑠,𝑡)𝜖 𝑆 𝑥𝑦 {g(s,t)} + 𝑚𝑖𝑛 (𝑠,𝑡)𝜖 𝑆 𝑥𝑦 {g(s,t)}]

Order Statistics Filters: Alpha-Trimmed Mean Filter Output: Average of the grey levels of the remaining (mn-d) pixels 𝑔 𝑟 𝑠,𝑡 in the mask after removing the d/2 lowest and d/2 highest grey levels in 𝑆 𝑥𝑦

The range of ‘d’ lies in between 0 to (mn-1) When d equals 0, it becomes arithmetic mean filter, when it equals ((mn-1)/2), it becomes median filter.

These filters can be used to solve the problem of multi-type noise problem, like combination of salt and pepper noise and Gaussian noise. 𝑓 𝑥,𝑦 = 1 𝑚𝑛−𝑑 (𝑠,𝑡)𝜖 𝑆 𝑥𝑦 𝑔 𝑟 (𝑠,𝑡)

Examples

END