Presentation is loading. Please wait.

Presentation is loading. Please wait.

Chapter 5 Image Restoration. Preview Goal: improve an image in some predefined sense. Image enhancement: subjective process Image restoration: objective.

Similar presentations


Presentation on theme: "Chapter 5 Image Restoration. Preview Goal: improve an image in some predefined sense. Image enhancement: subjective process Image restoration: objective."— Presentation transcript:

1 Chapter 5 Image Restoration

2 Preview Goal: improve an image in some predefined sense. Image enhancement: subjective process Image restoration: objective process Restoration attempts to reconstruct an image that has been degraded by using a priori knowledge of the degradation process. Modeling the degradation and applying the inverse process to recover the original image.

3 A Model of Degradation or Given g(x,y), some knowledge about H, and some knowledge about the noise term, obtain an estimate of the original image.

4 Noise Models Gaussian noise: electronic circuit,sensor noise Rayleigh noise: range imaging Erlang (Gamma noise): laser imaging Exponential noise: laser imaging Uniform noise Impulse (salt-and-pepper noise): faulty switching Periodic noise

5 Gaussian Noise The PDF of a Gaussian random variable, z, is given by:

6 Rayleigh Noise The PDF of Rayleigh noise is given by: Mean and variance are given by: Useful for approximating skewed histograms.

7 Erlang (Gamma) Noise The PDF of Erlang noise is given by: Mean and variance:

8 Exponential Noise The PDF of exponential noise is given by: where a >0 Mean and variance:

9 Uniform Noise The PDF of uniform noise is given by: Mean and variance:

10 Impulse (Salt-and-Pepper) Noise The PDF of (bipolar) impulse noise is given by:

11 Periodic Noise Arises typically from electrical or electromechanical interference during image acquisition. The only type of spatially dependent noise considered in this chapter.

12 Illustration (I)

13 Illustration (II)

14 Estimation of Noise Parameters Periodic noises: from Fourier spectrum Others: try to compute the mean and variance of a subimage S (containing only constant gray levels).

15 Restoration in the Presence of Noise Only – Spatial Filtering Mean filters: Arithmetic mean filters Geometric mean filter Harmonic mean filter: Contraharmonic mean filter: Q: the order of the filter. Q>0 eliminates pepper noise, Q <0 eliminates salt noise.

16 Illustration (I)

17 Illustration (II)

18 Illustration (III)

19 Order-Statistics Filters Median filters Max and min filters Midpoint filter: Alpha-trimmed mean filter: delete the d/2 lowest and d/2 highest gray-level values of g(s,t) in the neighborhood of S xy, the average

20 Illustration (I)

21 Illustration (II)

22 Illustration (III)

23 Adaptive Filters Filter ’ s behavior changes based on statistical characteristics of the image inside the filter region defined by the mxn window. Adaptive, local noise reduction filter Adaptive median filter

24 Adaptive, local noise reduction filter (a) g(x,y): the value of the noisy image at (x,y) (b) The variance of the noise (c) The mean of the pixels in S xy (d) Local variance of the pixels in S xy If (b) is zero, return g(x,y) If (d) is high relative to (b), the filter should return a value close to g(x,y) If the two variances are equal, return the arithmetic mean of the pixels in S xy

25 Illustration

26 Adaptive Median Filter 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 value at (x,y) S max : maximum allowed size of S xy 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 max 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

27 Illustration

28 Periodic Noise Reduction By Fourier domain filtering: Bandreject filters Bandpass filters Notch filters

29 Illustration

30 Notch Filters

31 Linear, Position-Invariant Degradations Estimating the degradation function By image observation By experimentation By modeling

32 Deconvolution Inverse filtering Minimum mean square error (Wiener) filtering Constrained least squares filtering Geometric mean filter

33 Geometric Transformations Image warping Spatial transformations Gray-level interpolation


Download ppt "Chapter 5 Image Restoration. Preview Goal: improve an image in some predefined sense. Image enhancement: subjective process Image restoration: objective."

Similar presentations


Ads by Google