48
Dr. Abdul Basit Siddiqui FUIEMS 06/08/22 1

Digital Image Processing Lecture : Image Restoration

  • Upload
    kesia

  • View
    250

  • Download
    33

Embed Size (px)

DESCRIPTION

Digital Image Processing Lecture : Image Restoration. Dr. Abdul Basit Siddiqui FUIEMS. Laplacian in frequency domain. Laplacian in the Frequency domain. Example: Laplacian filtered image. Image Restoration. - PowerPoint PPT Presentation

Citation preview

Page 1: Digital Image Processing Lecture  : Image Restoration

Dr. Abdul Basit SiddiquiFUIEMS

04/20/23 1

Page 2: Digital Image Processing Lecture  : Image Restoration

04/20/23 2

Laplacian in frequency domain

Page 3: Digital Image Processing Lecture  : Image Restoration

04/20/23 3

Page 4: Digital Image Processing Lecture  : Image Restoration

04/20/23 4

Page 5: Digital Image Processing Lecture  : Image Restoration

04/20/23 5

Image Restoration

• In many applications (e.g., satellite imaging, medical imaging, astronomical imaging, poor-quality family portraits) the imaging system introduces a slight distortion

• Image Restoration attempts to reconstruct or recover an image that has been degraded by using a priori knowledge of the degradation phenomenon.

• Restoration techniques try to model the degradation and then apply the inverse process in order to recover the original image.

Page 6: Digital Image Processing Lecture  : Image Restoration

04/20/23 6

Image Restoration

• Image restoration attempts to restore images that have been degraded– Identify the degradation process and attempt to reverse it

– Similar to image enhancement, but more objective

Page 7: Digital Image Processing Lecture  : Image Restoration

04/20/23 7

A Model of the Image Degradation/ Restoration Process

Page 8: Digital Image Processing Lecture  : Image Restoration

04/20/23 8

A Model of the Image Degradation/ Restoration Process

• The degradation process can be modeled as a degradation function H that, together with an additive noise term η(x,y) operates on an input image f(x,y) to produce a degraded image g(x,y)

Page 9: Digital Image Processing Lecture  : Image Restoration

04/20/23 9

A Model of the Image Degradation/ Restoration Process

• Since the degradation due to a linear, space-invariant degradation function H can be modeled as convolution, therefore, the degradation process is sometimes referred to as convolving the image with as PSF or OTF.

• Similarly, the restoration process is sometimes referred to as deconvolution.

Page 10: Digital Image Processing Lecture  : Image Restoration

04/20/23 10

Image Restoration

• If we are provided with the following information– The degraded image g(x,y) – Some knowledge about the degradation

function H , and– Some knowledge about the additive noise

η(x,y)

• Then the objective of restoration is to obtain an estimate fˆ(x,y) of the original image

Page 11: Digital Image Processing Lecture  : Image Restoration

04/20/23 11

Principle Sources of Noise

• Image Acquisition– Image sensors may be affected by Environmental

conditions (light levels etc)– Quality of Sensing Elements (can be affected by

e.g. temperature)

• Image Transmission– Interference in the channel during transmission

e.g. lightening and atmospheric disturbances

Page 12: Digital Image Processing Lecture  : Image Restoration

04/20/23 12

Noise Model Assumptions

• Independent of Spatial Coordinates

• Uncorrelated with the image i.e. no correlation between Pixel Values and the Noise Component

Page 13: Digital Image Processing Lecture  : Image Restoration

04/20/23 13

White Noise

• When the Fourier Spectrum of noise is constant the noise is called White Noise

• The terminology comes from the fact that the white light contains nearly all frequencies in the visible spectrum in equal proportions

• The Fourier Spectrum of a function containing all frequencies in equal proportions is a constant

Page 14: Digital Image Processing Lecture  : Image Restoration

04/20/23 14

Noise Models: Gaussian Noise

Page 15: Digital Image Processing Lecture  : Image Restoration

04/20/23 15

Noise Models: Gaussian Noise

• Approximately 70% of its value will be in the range [(µ-σ), (µ+σ)] and about 95% within range [(µ-2σ), (µ+2σ)]

• Gaussian Noise is used as approximation in cases such as Imaging Sensors operating at low light levels

Page 16: Digital Image Processing Lecture  : Image Restoration

04/20/23 16

Applicability of Various Noise Models

Page 17: Digital Image Processing Lecture  : Image Restoration

04/20/23 17

Noise Models

Page 18: Digital Image Processing Lecture  : Image Restoration

04/20/23 18

Noise Models

Page 19: Digital Image Processing Lecture  : Image Restoration

04/20/23 19

Noise Models

Page 20: Digital Image Processing Lecture  : Image Restoration

04/20/23 20

Noise Patterns (Example)

Page 21: Digital Image Processing Lecture  : Image Restoration

04/20/23 21

Image Corrupted by Gaussian Noise

Page 22: Digital Image Processing Lecture  : Image Restoration

04/20/23 22

Image Corrupted by Rayleigh Noise

Page 23: Digital Image Processing Lecture  : Image Restoration

04/20/23 23

Image Corrupted by Gamma Noise

Page 24: Digital Image Processing Lecture  : Image Restoration

04/20/23 24

Image Corrupted by Salt & Pepper Noise

Page 25: Digital Image Processing Lecture  : Image Restoration

04/20/23 25

Image Corrupted by Uniform Noise

Page 26: Digital Image Processing Lecture  : Image Restoration

04/20/23 26

Noise Patterns (Example)

Page 27: Digital Image Processing Lecture  : Image Restoration

04/20/23 27

Noise Patterns (Example)

Page 28: Digital Image Processing Lecture  : Image Restoration

04/20/23 28

Periodic Noise

• Arises typically from Electrical or Electromechanical interference during Image Acquisition

• Nature of noise is Spatially Dependent

• Can be removed significantly in Frequency Domain

Page 29: Digital Image Processing Lecture  : Image Restoration

04/20/23 29

Periodic Noise (Example)

Page 30: Digital Image Processing Lecture  : Image Restoration

04/20/23 30

Estimation of Noise Parameters

Page 31: Digital Image Processing Lecture  : Image Restoration

04/20/23 31

Estimation of Noise Parameters (Example)

Page 32: Digital Image Processing Lecture  : Image Restoration

04/20/23 32

Estimation of Noise Parameters

Page 33: Digital Image Processing Lecture  : Image Restoration

04/20/23 33

Restoration of Noise-Only Degradation

Page 34: Digital Image Processing Lecture  : Image Restoration

04/20/23 34

Restoration of Noise Only- Spatial Filtering

Page 35: Digital Image Processing Lecture  : Image Restoration

04/20/23 35

Arithmetic Mean Filter

Page 36: Digital Image Processing Lecture  : Image Restoration

04/20/23 36

Geometric and Harmonic Mean Filter

Page 37: Digital Image Processing Lecture  : Image Restoration

04/20/23 37

Contra-Harmonic Mean Filter

Page 38: Digital Image Processing Lecture  : Image Restoration

04/20/23 38

Classification of Contra-Harmonic Filter Applications

Page 39: Digital Image Processing Lecture  : Image Restoration

04/20/23 39

Arithmetic and Geometric Mean Filters (Example)

Page 40: Digital Image Processing Lecture  : Image Restoration

04/20/23 40

Contra-Harmonic Mean Filter (Example)

Page 41: Digital Image Processing Lecture  : Image Restoration

04/20/23 41

Contra-Harmonic Mean Filter (Example)

Page 42: Digital Image Processing Lecture  : Image Restoration

04/20/23 42

Order Statistics Filters: Median Filter

Page 43: Digital Image Processing Lecture  : Image Restoration

04/20/23 43

Median Filter (Example)

Page 44: Digital Image Processing Lecture  : Image Restoration

04/20/23 44

Order Statistics Filters: Max and Min filter

Page 45: Digital Image Processing Lecture  : Image Restoration

04/20/23 45

Max and Min Filters (Example)

Page 46: Digital Image Processing Lecture  : Image Restoration

04/20/23 46

Order Statistics Filters: Midpoint Filter

Page 47: Digital Image Processing Lecture  : Image Restoration

04/20/23 47

Order Statistics Filters: Alpha-Trimmed Mean Filter

Page 48: Digital Image Processing Lecture  : Image Restoration

04/20/23 48

Examples