Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
29 views
Lecture 5
Uploaded by
Sukran Jamil Durjoy
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save lecture 5 For Later
Download
Save
Save lecture 5 For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
29 views
Lecture 5
Uploaded by
Sukran Jamil Durjoy
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save lecture 5 For Later
Carousel Previous
Carousel Next
Save
Save lecture 5 For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 8
Search
Fullscreen
Image Denoising Figure 2.7: Estimation of pixel shiftmaps: (a) reference image, (b) source image, (c) 2, and (d) y,. 2.3 Image Denoising Image denoising is one of the fundamental challenges in the fcld of image processing, where the underlying goal is to recover the original image by removing noise from a noise-contaminated version of the image, Of course, “noise” does not exist on its own, but is created by observers. However, it is generally thought that the features that exist on a very small scale in the image are noise, and that suppressing these while maintaining larger features would provide a clearer output. A digital image is generally represented as a matrix of grey level or colour values. 352.3. Image Denoising Each one of the pixel values of the images is the result of a light intensity measure- ment [79]. Noise may be contaminated in the images during this measurement due to sensor imperfections, environmental conditions, or communication errors, which are often not possible to avoid in practical situations [80,81]. Removing such noise is of great benefit in many applications such as image registration, image restora- tion, visual tracking, image segmentation, and image classification. While image denoising is a well-studied problem, yet it is still an open challenge and several researchers are still continuing to improve the state-of the-art techniques [82]. Depending on the type of disturbances, the noise can affect the image to different extents. Therefore, noise in digital images can be classified into various types, such as salt and pepper noise, Ganssian noise, speckle noise, Poisson noise, and so on. Salt and pepper noise is a common form of noise, which is caused by errors in the data transmission, In this noise, the corrupted pixels can take only the maximum and minimum values in the dynamic range. A median filter is effective for this type of noise. The presence of Gaussian noise is also very common, which is due to electronic components in the imaging system. This noise is additive in nature, that is, it is independent of the pixel intensities of the image. This noise, as the name implies, follows Ganssian distribution and can be suppressed using a spatial filter 2.3.1 Noise Variance Estimation Image noise estimation is of crucial importance for many machine vision algorithms for proces ng and analysing images. It allows the algorithm parameter to adjust to account for the variations in noise level instead of relying on a fixed threshold Examples of the algorithms requiring estimation of noise level include motion esti- mation [83), denoising (84-86), super-resolution [87], shape-from-shading [88], and feature extraction [89]. An image that is corrupted by the additive, zero mean Gaussian noise, can be 362.3. Image Denoising modelled as 12,9) = Inlay) + Iv(z,9), (2.21) where x and y are the vertical and horizontal coordinates of a pixel, J is the noisy image, Ip is the original (true) image, and Jy is the additive Gaussian noise. Noise variance can be estimated from a single image or a sequence of images. Estimation from an image sequence is an over-constrained problem, while the same from a single image is an under-constrained problem, as the algorithm requires further assumptions [90]. A noise estimation algorithm using a camera model from a sequence of images was proposed in [91]. A simple piecewise smooth image prior model was employed in [92] to estimate the noise level from a single image without, any knowledge of the image content. Three different methods to estimate noise level, based on training samples and the Laplacian of images, were proposed in {93]. In {94}, a widely used noise estimation method was proposed based on the mean absolute deviation. A detailed analysis of six noise parameter estimators was presented in [95]. In this part, a fast algorithm [96] to estimate the variance (o2) of noise from a single image is described in brief. The algorithm uses a zero mean operator, which is almost insensitive to the structure of an image. At first, two 3x3 masks, L; and Zs, are considered, each of which approximates the Laplacian of an image. The elements of the masks are [96] o 10 101 1 hh=-hh = and p= ]0 — 1-41 z|9 -4 0 01 0 101 ‘The operator for noise estimation, .V, is then determined using L1 and Ly by 37Image Denoising the following formula [96} 1-2 1 No=2A(la-L)=|-2 4 -2 1-2 1 As can be calculated using Eq. (2.22), the mean value of N, is zero and its variance is 3602, assuming that noise at each pixel has a standard deviation of a. ‘The variance is estimated using absolute deviation as it reduces the compu- tational complexity of the algorithm [96]. ‘The absolute deviation of a Gaussian distribution with zero mean and variance 0? is [96] [ (2.23) (2.24) (2.25) where I(x,y) * N, denotes the value of applying the mask N, at position (x,y) in the image J, and M x N is the size of the image. 2.3.2 Denoising Algorithm The goal of image denoising algorithms is to recover the original image by suppress ing the noise within the observed image. Even though several methods for image denoising exist in the literature, most of them are based on a common theme: av- eraging the pixel values [86]. The methods differ from each other by the way of 382.3. Image Denoising averaging, which may be performed locally: the neighbourhood filtering [97-99], ‘the anisotropic filtering (84, 100] and the Gaussian smoothing model [101], or non- locally: the non-local means filter [86], in the frequency domain: the empirical ‘Wiener filters [97] and wavelet thresholding methods (94, 102], or by the caleulus of variations: the total variation minimization [103]. In this section, two popular filters are described in brief. 2.3.2.1 Median filter ‘The median filter is a nonlinear digital filtering technique used Lo remove noise from, images. This filter is widely used as it is effective at removing noise while preserving useful details in the images (104-107). Specifically, median filter does a better job at removing salt and pepper noise, and those of similar nature. ‘The median filter runs through the image on a pixel-by-pixel basis and looks at cach pixel’s neighbours to decide whether or not it is representative of its surround- ings. With a user-specified neighbourhood, cach pixel value of the original image is, replaced with the median value of the neighbourhood pixels. The pattern of neigh- bours is called the “window” and it is generally of a square size. The window slides over the entire image to cover each individual pixel. The median is calculated, as ustal, by first sorting all the pixel values of a certain window into a numerical order, and then determining the pixel value in the middle position. If the window is of an even size, the average of the two middle pixel values is used. ‘The process of median filtering is illustrated in Figure 2.8, where the solid lines constitute a 3x3 window for the central pixel value of 160. As can be seen, the cen- tral pixel value is rather unrepresentative of the surrounding pixels, thns, would be replaced with the median value of 134, In order to handle pixel values at boundaries, several approaches exist, which have different properties that might be preferred in particular circumstances, Some examples of those approaches are: avoiding process- ing border values, extending border values outside with values at the boundaries, mirroring boundary neighbourhoods, and extending (padding) border values outside 392.3. Image Denoising Neighbourhood values: 125, 129, 130, 133, 134, 135, 136, 137, 160 ‘Median value: 134 Figure 2.8: Calculating the median value of a pixel neighbourhood. with zeros, Figure 2.9 shows the performance of a median filter on a noisy Lena image. The image was distorted with a certain amount of salt and pepper noise, as shown in Figure 2.9(a). Almost 2.5% of the total pixels in the Lena image are randomly contaminated by the salt noise by setting them to the maximum grey level (255 in the case of S-bit greyscale) and another 2.5% by the pepper noise by setting them to the minimum grey level (0 in the case of 8-bit greyscale). Figure 2.9(b) shows the same image after processing with a 3x3 median filter; note that the edges in the image are preserved well. A larger window would provide more smoothing at the cost of higher computational time. ‘The main advantage of a median filter is that it does not create new unrealistic pixel values when it straddles an edge, since the median value is also a value of a pixel in the image. For this reason, this filter is much better at preserving sharp edges than a typical mean filter that replaces each pixel value with the average value of all pixels within the specified image window. The median filter has disadvantages too, It has higher computational burden and is more complex to implement than a mean filter 40Image Denoising ©) Figure 2.9; Use of a median filter to improve an image distorted by salt and pepper noise: (a) noisy image and (b) denoised image. 2.3.2.2 Non-local means filter Unlike a mean or median filter, a non-local means filter takes the mean of the values, of all pixels in the image, weighted by factors that depend on the similarities of these pixels with the target pixel. Assuming @ as the area of an image, and ¢ and j as two pixels within the image, the non-local means algorithm can be defined by the simple formula [86] NENG = FLOW), 6) where NVL[I)(i) is the estimated value for the ith pixel, I(j) is the observed value for the jth pixel, Wi, 9) is the weighting function, and C(}) is a normalizing constant, expressed as [86] CW = we). (2.27) iat ‘The weighting function W(i, 3) can be of many forms. A Gaussian weighting function is given by [86] os Wii) = exp ( aa rat) . (2.28) te 42.4. Image Deblurring where A acts as a degree of filtering and sets the decay rate of the exponential function, and B(i) and B(j) are the local means of the pixel values surrounding i and j, respectively. (i) can be calculated as [86] 1 Bi) Ror DY 10, (2.29) Ker where R(i) © © and denotes a square neighbourhood surrounding i, and |R(i)| is its size. B(j) can also be calculated in the same way. A search window of 5x5 pixels and similarity square neighbourhood of 3x3 pixels are chosen. In order to show how well a non-local means filter works, Figure 2.10(a) shows the Lena image distorted by the Gaussian noise, providing a signal-to-noise ratio (SNR) of 9.134B, and Figure 2.10(b) shows its filtered version. As seen in Fig- ure 2.10(b), the image is almost noise-free, though with a slight loss of details. (b) Figure 2.10: Use of a non-local means filter to improve an image distorted by Gaussian noise: (a) noisy image and (b) denoised image. 2.4 Image Deblurring While using a camera or a ground-based telescope, it is always expected that the recorded image will be a faithful representation of the observed scene, but unfor- 42
You might also like
Image Denoising For Different Noise Models by Various Filters: A Brief Survey
PDF
No ratings yet
Image Denoising For Different Noise Models by Various Filters: A Brief Survey
4 pages
DIP Unit 5 Notes
PDF
No ratings yet
DIP Unit 5 Notes
21 pages
Adaptive Filter For Gaussian Noise
PDF
No ratings yet
Adaptive Filter For Gaussian Noise
13 pages
Denoising of Underwater Images by Using Adaptive Filters
PDF
No ratings yet
Denoising of Underwater Images by Using Adaptive Filters
8 pages
Image Restoration
PDF
No ratings yet
Image Restoration
62 pages
gaussian filter
PDF
No ratings yet
gaussian filter
5 pages
A Comparative Study of Various Noise PDF
PDF
No ratings yet
A Comparative Study of Various Noise PDF
9 pages
Dip S8ece Module4
PDF
No ratings yet
Dip S8ece Module4
145 pages
restoration
PDF
No ratings yet
restoration
76 pages
A Survey On Denoising Methods: Rosebell John, V. Karunakaran
PDF
No ratings yet
A Survey On Denoising Methods: Rosebell John, V. Karunakaran
5 pages
Ijcet: International Journal of Computer Engineering & Technology (Ijcet)
PDF
No ratings yet
Ijcet: International Journal of Computer Engineering & Technology (Ijcet)
6 pages
Brief Review of Image Denoising Techniques
PDF
No ratings yet
Brief Review of Image Denoising Techniques
12 pages
Chapter4 - Image Filtering and Restoration
PDF
No ratings yet
Chapter4 - Image Filtering and Restoration
43 pages
Image Restoration - Filters (2)
PDF
No ratings yet
Image Restoration - Filters (2)
52 pages
Image Restoration Noise Final APRIL2020
PDF
No ratings yet
Image Restoration Noise Final APRIL2020
10 pages
Chapter 5five
PDF
No ratings yet
Chapter 5five
36 pages
Image Restoration (Sections 5.1, 5.5, 5.7, 5.9) : CS474/674 - Prof. Bebis
PDF
50% (2)
Image Restoration (Sections 5.1, 5.5, 5.7, 5.9) : CS474/674 - Prof. Bebis
67 pages
restorationunit4
PDF
No ratings yet
restorationunit4
47 pages
A_non-local_algorithm_for_image_denoising
PDF
No ratings yet
A_non-local_algorithm_for_image_denoising
6 pages
Digital Image Processing
PDF
No ratings yet
Digital Image Processing
62 pages
Lecture 3: Filtering I Image Enhancement by Neighbourhood Processing
PDF
No ratings yet
Lecture 3: Filtering I Image Enhancement by Neighbourhood Processing
7 pages
Performance Comparison of Various Filters and Wavelet Transform For Image De-Noising
PDF
No ratings yet
Performance Comparison of Various Filters and Wavelet Transform For Image De-Noising
9 pages
Math5390 Chapter5
PDF
No ratings yet
Math5390 Chapter5
18 pages
Lec 4
PDF
No ratings yet
Lec 4
36 pages
Robust Estimation
PDF
No ratings yet
Robust Estimation
7 pages
Ijaiem 2013 04 27 077
PDF
No ratings yet
Ijaiem 2013 04 27 077
5 pages
Machine_Learning_Course_Shashi_Lecture_04
PDF
No ratings yet
Machine_Learning_Course_Shashi_Lecture_04
23 pages
MODULE-2
PDF
No ratings yet
MODULE-2
135 pages
MODULE-2 updated
PDF
No ratings yet
MODULE-2 updated
144 pages
Unit 3 DIP
PDF
No ratings yet
Unit 3 DIP
41 pages
Image MSC2ok
PDF
No ratings yet
Image MSC2ok
45 pages
Various Filtering Methods
PDF
No ratings yet
Various Filtering Methods
60 pages
Ch05_Image Restoration and Reconstruction
PDF
No ratings yet
Ch05_Image Restoration and Reconstruction
35 pages
DIP Notes Unit-3
PDF
No ratings yet
DIP Notes Unit-3
57 pages
L3 - Image Noise and Image Restoration
PDF
No ratings yet
L3 - Image Noise and Image Restoration
56 pages
2.2
PDF
No ratings yet
2.2
68 pages
Lecture 1.2.6-Image Noise and Restorations
PDF
No ratings yet
Lecture 1.2.6-Image Noise and Restorations
42 pages
Digital Image Processing - Image Restoration
PDF
No ratings yet
Digital Image Processing - Image Restoration
49 pages
Image Restoration Techniques
PDF
100% (1)
Image Restoration Techniques
39 pages
Image Restoration
PDF
0% (1)
Image Restoration
41 pages
Chapter4 IPPR
PDF
No ratings yet
Chapter4 IPPR
16 pages
Lec - 5 - Image Restoration
PDF
No ratings yet
Lec - 5 - Image Restoration
40 pages
Ravi Im Rest
PDF
No ratings yet
Ravi Im Rest
62 pages
De-Noising of Image and Its Performance Evaluation
PDF
No ratings yet
De-Noising of Image and Its Performance Evaluation
3 pages
Module - 4 Image Restoration & Image Segmentation: Geometric Mean Filter
PDF
No ratings yet
Module - 4 Image Restoration & Image Segmentation: Geometric Mean Filter
5 pages
Digital Image Processing: Image Restoration For Getting More Knowledge According To Miss Aneeba Masood
PDF
No ratings yet
Digital Image Processing: Image Restoration For Getting More Knowledge According To Miss Aneeba Masood
38 pages
1201 2050 PDF
PDF
No ratings yet
1201 2050 PDF
9 pages
DIP7
PDF
No ratings yet
DIP7
159 pages
A Novel Approach For Image De-Noising Using Wavelets
PDF
No ratings yet
A Novel Approach For Image De-Noising Using Wavelets
7 pages
IJNAA - Volume 13 - Issue Special Issue For Selected Papers of ICDACT-2021 - Pages 117-125
PDF
No ratings yet
IJNAA - Volume 13 - Issue Special Issue For Selected Papers of ICDACT-2021 - Pages 117-125
9 pages
image restoration
PDF
No ratings yet
image restoration
60 pages
DIP UNIT 3
PDF
No ratings yet
DIP UNIT 3
47 pages
Digital Image Processing 07 Image Restoration Noise Removal
PDF
No ratings yet
Digital Image Processing 07 Image Restoration Noise Removal
53 pages
Unit-4 Image Restoration
PDF
No ratings yet
Unit-4 Image Restoration
72 pages
DIP Unit 3
PDF
No ratings yet
DIP Unit 3
18 pages
IJETR2278
PDF
No ratings yet
IJETR2278
4 pages
Unit3 Image Processing
PDF
No ratings yet
Unit3 Image Processing
12 pages
Chapter 05
PDF
No ratings yet
Chapter 05
62 pages
Nonlinear Filtering
PDF
No ratings yet
Nonlinear Filtering
16 pages