1 © 2010 Cengage Learning Engineering. All Rights Reserved. 1 Introduction to Digital Image Processing with MATLAB ® Asia Edition McAndrew ‧ Wang ‧ Tseng.

Slides:



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

Spatial Filtering (Chapter 3)
Digital Image Processing Lecture 11: Image Restoration Prof. Charlene Tsai.
Digital Image Processing Chapter 5: Image Restoration.
Image Enhancement Digital Image Processing Instructor: Dr. Cheng-Chien LiuCheng-Chien Liu Department of Earth Sciences National Cheng Kung University Last.
1 © 2010 Cengage Learning Engineering. All Rights Reserved. 1 Introduction to Digital Image Processing with MATLAB ® Asia Edition McAndrew ‧ Wang ‧ Tseng.
Digital Image Processing
Digital Image Processing Chapter 5: Image Restoration.
1 Image Filtering Readings: Ch 5: 5.4, 5.5, 5.6,5.7.3, 5.8 (This lecture does not follow the book.) Images by Pawan SinhaPawan Sinha formal terminology.
Image Enhancement.
1 Image filtering Images by Pawan SinhaPawan Sinha.
1 Images and Transformations Images by Pawan SinhaPawan Sinha.
Image Analysis Preprocessing Arithmetic and Logic Operations Spatial Filters Image Quantization.
1 Image filtering Hybrid Images, Oliva et al.,
1 © 2010 Cengage Learning Engineering. All Rights Reserved. 1 Introduction to Digital Image Processing with MATLAB ® Asia Edition McAndrew ‧ Wang ‧ Tseng.
1 © 2010 Cengage Learning Engineering. All Rights Reserved. 1 Introduction to Digital Image Processing with MATLAB ® Asia Edition McAndrew ‧ Wang ‧ Tseng.
© 2010 Cengage Learning Engineering. All Rights Reserved.
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.
Digital Image Processing Lecture 4 Image Restoration and Reconstruction Second Semester Azad University Islamshar Branch
Presentation Image Filters
1 Chapter 8: Image Restoration 8.1 Introduction Image restoration concerns the removal or reduction of degradations that have occurred during the acquisition.
Image Restoration and Reconstruction (Noise Removal)
Digital Image Processing Image Enhancement Part IV.
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.
1 © 2010 Cengage Learning Engineering. All Rights Reserved. 1 Introduction to Digital Image Processing with MATLAB ® Asia Edition McAndrew ‧ Wang ‧ Tseng.
1 © 2010 Cengage Learning Engineering. All Rights Reserved. 1 Introduction to Digital Image Processing with MATLAB ® Asia Edition McAndrew ‧ Wang ‧ Tseng.
Image processing Fourth lecture Image Restoration Image Restoration: Image restoration methods are used to improve the appearance of an image.
Digital Image Processing Lecture 10: Image Restoration March 28, 2005 Prof. Charlene Tsai.
Lecture 5 Mask/Filter Transformation 1.The concept of mask/filters 2.Mathematical model of filtering Correlation, convolution 3.Smoother filters 4.Filter.
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 (Applying filters directly on Image) By Engr. Muhammad Saqib.
Ch5 Image Restoration CS446 Instructor: Nada ALZaben.
Digital Image Processing Lecture 11: Image Restoration March 30, 2005 Prof. Charlene Tsai.
Intelligent Vision Systems ENT 496 Image Filtering and Enhancement Hema C.R. Lecture 4.
Chapter 5 Image Restoration.
1 © 2010 Cengage Learning Engineering. All Rights Reserved. 1 Introduction to Digital Image Processing with MATLAB ® Asia Edition McAndrew ‧ Wang ‧ Tseng.
Spatial Filtering Dr. Amnach Khawne.
Image Restoration. Image restoration vs. image enhancement Enhancement:  largely a subjective process  Priori knowledge about the degradation is not.
ECE 533 Project Tribute By: Justin Shepard & Jesse Fremstad.
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
Spatial Filtering (Chapter 3) CS474/674 - Prof. Bebis.
Image Enhancement in the Spatial Domain.
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
Digital Image Processing
Digital Image Processing
Filtering – Part I Gokberk Cinbis Department of Computer Engineering
Image Analysis Image Restoration.
Noise in Imaging Technology
Image filtering Hybrid Images, Oliva et al.,
Image filtering Images by Pawan Sinha.
Image filtering Images by Pawan Sinha.
Image filtering Images by Pawan Sinha.
Basic Image Processing
Digital Image Processing Week IV
Image filtering Images by Pawan Sinha.
Lecture 14 Figures from Gonzalez and Woods, Digital Image Processing, Second Edition, 2002.
Image filtering
Image filtering
Department of Computer Engineering
Image Filtering Readings: Ch 5: 5. 4, 5. 5, 5. 6, , 5
REDUKSI NOISE Pertemuan-8 John Adler
Digital Image Processing Lecture 11: Image Restoration
Presentation transcript:

1 © 2010 Cengage Learning Engineering. All Rights Reserved. 1 Introduction to Digital Image Processing with MATLAB ® Asia Edition McAndrew ‧ Wang ‧ Tseng Chapter 8: Image Restoration

2 © 2010 Cengage Learning Engineering. All Rights Reserved. 8.1 Introduction Image restoration concerns the removal or reduction of degradations that have occurred during the acquisition of the image Some restoration techniques can be performed very successfully using neighborhood operations, while others require the use of frequency domain processes Ch8-p.191

A Model of Image Degradation © 2010 Cengage Learning Engineering. All Rights Reserved. f(x, y) : image h(x, y) : spatial filter Where the symbol * represents convolution In practice, the noise n(x, y) must be considered Ch8-p.191

A Model of Image Degradation © 2010 Cengage Learning Engineering. All Rights Reserved. We can perform the same operations in the frequency domain, where convolution is replaced by multiplication If we knew the values of H and N, we could recover F by writing the above equation as this approach may not be practical Ch8-p.192

5 8.2 Noise © 2010 Cengage Learning Engineering. All Rights Reserved. Noise—any degradation in the image signal caused by external disturbance These errors will appear on the image output in different ways depending on the type of disturbance in the signal Usually we know what type of errors to expect and the type of noise on the image; hence, we can choose the most appropriate method for reducing the effects Ch8-p.192

Salt and Pepper Noise © 2010 Cengage Learning Engineering. All Rights Reserved. Also called impulse noise, shot noise, or binary noise, salt and pepper degradation can be caused by sharp, sudden disturbances in the image signal Its appearance is randomly scattered white or black (or both) pixels over the image Ch8-p.192

7 FIGURE 8.1 © 2010 Cengage Learning Engineering. All Rights Reserved. >> imshow(t)>> figure, imshow(t_sp) Ch8-p.193

Gaussian Noise © 2010 Cengage Learning Engineering. All Rights Reserved. Gaussian noise is an idealized form of white noise, which is caused by random fluctuations in the signal If the image is represented as I, and the Gaussian noise by N, then we can model a noisy image by simply adding the two Ch8-p.193

Speckle Noise © 2010 Cengage Learning Engineering. All Rights Reserved. Speckle noise (or more simply just speckle) can be modeled by random values multiplied by pixel values It is also called multiplicative noise imnoise can produce speckle Ch8-p.194

10 FIGURE 8.2 © 2010 Cengage Learning Engineering. All Rights Reserved. Ch8-p.194

Periodic Noise © 2010 Cengage Learning Engineering. All Rights Reserved. Ch8-p.195

Cleaning Salt and Pepper Noise © 2010 Cengage Learning Engineering. All Rights Reserved. Low-Pass Filtering Ch8-p.196

Median Filtering © 2010 Cengage Learning Engineering. All Rights Reserved. Ch8-p.197

14 FIGURE 8.6 © 2010 Cengage Learning Engineering. All Rights Reserved. Ch8-p.198

15 FIGURE 8.7 © 2010 Cengage Learning Engineering. All Rights Reserved. Ch8-p.198

Rank-Order Filtering © 2010 Cengage Learning Engineering. All Rights Reserved. Median filtering is a special case of a more general process called rank-order filtering A mask as 3×3 cross shape Ch8-p

An Outlier Method © 2010 Cengage Learning Engineering. All Rights Reserved. Applying the median filter can in general be a slow operation: each pixel requires the sorting of at least nine values Outlier Method Choose a threshold value D For a given pixel, compare its value p with the mean m of the values of its eight neighbors If |p − m| > D, then classify the pixel as noisy, otherwise not If the pixel is noisy, replace its value with m ; otherwise leave its value unchanged Ch8-p.199

18 FIGURE 8.8 © 2010 Cengage Learning Engineering. All Rights Reserved. Ch8-p.200

19 FIGURE 8.9 © 2010 Cengage Learning Engineering. All Rights Reserved. Ch8-p.201

Cleaning Gaussian Noise © 2010 Cengage Learning Engineering. All Rights Reserved. Image Averaging suppose we have 100 copies of our image, each with noise Because N i is normally distributed with mean 0, it can be readily shown that the mean of all the N i ’s will be close to zero The greater the number of N i ’s; the closer to zero Ch8-p.202

21 FIGURE 8.10 © 2010 Cengage Learning Engineering. All Rights Reserved. Ch8-p.203

Average Filtering © 2010 Cengage Learning Engineering. All Rights Reserved. Ch8-p.203

Adaptive Filtering © 2010 Cengage Learning Engineering. All Rights Reserved. Adaptive filters are a class of filters that change their characteristics according to the values of the grayscales under the mask Minimum mean-square error filter The noise may not be normally distributed with mean 0 Ch8-p.204

Adaptive Filtering © 2010 Cengage Learning Engineering. All Rights Reserved. Wiener filters ( wiener2 ) Ch8-p.205

25 FIGURE 8.12 © 2010 Cengage Learning Engineering. All Rights Reserved. Ch8-p.206

26 FIGURE 8.13 © 2010 Cengage Learning Engineering. All Rights Reserved. Ch8-p.206

Removal of Periodic Noise © 2010 Cengage Learning Engineering. All Rights Reserved. Ch8-p.207

28 FIGURE 8.15 © 2010 Cengage Learning Engineering. All Rights Reserved. BAND REJECT FILTERING Ch8-p.208

29 FIGURE 8.16 © 2010 Cengage Learning Engineering. All Rights Reserved. NOTCH FILTERING Ch8-p.209

Inverse Filtering © 2010 Cengage Learning Engineering. All Rights Reserved. Ch8-p.210

31 FIGURE 8.18 © 2010 Cengage Learning Engineering. All Rights Reserved. cutoff radius: 60 Ch8-p.211

32 FIGURE 8.18 © 2010 Cengage Learning Engineering. All Rights Reserved. cutoff radius: 80cutoff radius: 100 Ch8-p.212

33 FIGURE 8.19 © 2010 Cengage Learning Engineering. All Rights Reserved. d = Ch8-p.213

34 FIGURE 8.19 © 2010 Cengage Learning Engineering. All Rights Reserved. d = d = Ch8-p.213

Motion Deblurring © 2010 Cengage Learning Engineering. All Rights Reserved. Ch8-p.214

Motion Deblurring © 2010 Cengage Learning Engineering. All Rights Reserved. To deblur the image, we need to divide its transform by the transform corresponding to the blur filter This means that we first must create a matrix corresponding to the transform of the blur Ch8-p.215

37 FIGURE 8.21 © 2010 Cengage Learning Engineering. All Rights Reserved. Ch8-p.215

Wiener Filtering © 2010 Cengage Learning Engineering. All Rights Reserved. Ch8-p.216

39 FIGURE 8.22 © 2010 Cengage Learning Engineering. All Rights Reserved. K = Ch8-p.217

40 FIGURE 8.22 © 2010 Cengage Learning Engineering. All Rights Reserved. K = K = Ch8-p.217