1. Lecture Motivation Digital images Syllabus Date Title Link - - PowerPoint PPT Presentation

1 lecture motivation digital images syllabus
SMART_READER_LITE
LIVE PREVIEW

1. Lecture Motivation Digital images Syllabus Date Title Link - - PowerPoint PPT Presentation

1. Lecture Motivation Digital images Syllabus Date Title Link 23.02. Introduction, Properties of digital images [pdf] 01.03. Fourier transformation [pdf] 08.03. Fourier transformation/Sampling [pdf] 15.03. Image enhancement:


slide-1
SLIDE 1
  • 1. Lecture

Motivation Digital images

slide-2
SLIDE 2

Syllabus

2 Date Title Link 23.02. Introduction, Properties of digital images [pdf] 01.03. Fourier transformation [pdf] 08.03. Fourier transformation/Sampling [pdf] 15.03. Image enhancement: Filtering [pdf] 22.03. Image enhancement: Filtering [pdf] 29.03. Image enhancement: Geometric transformations [pdf] 05.04. Image restoration: Spatial domain [pdf] 19.04. Image restoration: Frequency domain [pdf] 26.04. Color/Demosaicing [pdf] 03.05. Image compression/Texture segmentation (Manos Baltsavias) [pdf] 10.05. Feature extraction (Manos Baltsavias) [pdf] 24.05. Image segmentation (Manos Baltsavias) [pdf] 31.05. Image matching (Manos Baltsavias) [pdf]

slide-3
SLIDE 3

Motivation

  • Image data might suffer from distortions
  • Transmission errors, compression errors,

sensor defects, motion blur …

  • It is possible to remove some of these

distortions

3

slide-4
SLIDE 4

Transmission interference

4

slide-5
SLIDE 5

Compression artefacts

5

slide-6
SLIDE 6

Spilling

6

slide-7
SLIDE 7

Scratches, Sensor noise

7

slide-8
SLIDE 8

Bad contrast

8

slide-9
SLIDE 9

Removing motion blur

Original image Cropped part After motion blur removal [Images courtesy of Amit Agrawal]

9

slide-10
SLIDE 10

Removing motion blur

10

slide-11
SLIDE 11

11

slide-12
SLIDE 12

Super resolution

12

slide-13
SLIDE 13

Super resolution

13

slide-14
SLIDE 14

Seeing through obscure glass

14

[Shan et al.,2010]

slide-15
SLIDE 15

Seeing through obscure glass

15

[Shan et al.,2010]

slide-16
SLIDE 16

Haze removal

16

  • riginal

haze removed [He et al. 2009]

slide-17
SLIDE 17

Clear Underwater Vision

17

[Schechner et al. 2004]

slide-18
SLIDE 18

A 2D image

x y (x,y) f(x,y) (0,0)

18

slide-19
SLIDE 19

Concepts

  • Continuous function: continuous codomain –

continuous domain

  • Discrete function: continuous codomain – discrete

domain

  • Digital function: discrete codomain – discrete

domain

19

slide-20
SLIDE 20

Image as 2D function

  • Image: continuous function

2D domain: xy - coordinates 3D domain: xy + time (video)

  • Brightness is usually the value of the function
  • But can be other physical values too:

temperature, pressure, depth …

20

slide-21
SLIDE 21

Example for images

ultrasound temperature camera image CT

21

slide-22
SLIDE 22

Digitizing an image

  • Approximating the continuous function by a

digital function

  • Sampling: continuous domain will be

discretized

  • Quantization: continuous co-domain will be

discretized

22

slide-23
SLIDE 23

Sampling 1D

Sampling in 1D takes a function, and returns a vector whose elements are values of that function at the sample points. We allow the vector to be of infinite length, and have negative as well as positive indices.

23

slide-24
SLIDE 24

Sampling 2D

Sampling in 2D takes a function and returns an array; we allow the array to be of infinite size and to have negative as well as positive indices.

24

slide-25
SLIDE 25

Sampling grids

25

slide-26
SLIDE 26

Retina-like sensors

26

slide-27
SLIDE 27

Quantization

  • Real valued function will get digital values – integer

values

  • Quantization is lossy!! Information is lost in this step
  • After quantization the original signal cannot be

reconstructed anymore

  • This is in contrast to sampling, as a sampled but not

quantized signal can be reconstructed.

  • Simple quantization uses equally spaced levels with k

intervals

b

k 2 

27

slide-28
SLIDE 28

Quantization

00 01 10 11

28

slide-29
SLIDE 29

Usual quantization intervals

  • Grayvalue image

8 bit = 2^8 = 256 grayvalues

  • Color image RGB (3 channels)

8 bit/channel = 2^24 = 16.7Mio colors

  • 12bit or 16bit from some sensors

29

slide-30
SLIDE 30

Properties

  • Image resolution
  • Geometric resolution: How many pixel per

area

  • Radiometric resolution: How many bits per

pixel

30

slide-31
SLIDE 31

Image resolution

1024x1024 512x512 512x1024

31

slide-32
SLIDE 32

Geometric resolution

32

slide-33
SLIDE 33

Radiometric resolution

33

slide-34
SLIDE 34

Basic relationships between pixels

  • Neighbourhood
  • Connectivity
  • Metric
  • Distances

binary image

34

slide-35
SLIDE 35

Neighbourhood

4-Neighbourhood: Pixel p at position (x,y) has 4 neighbours S: (x+1,y), (x-1,y), (x,y+1), (x,y-1) The set S=N4(p) is called the 4-neighbourhood Diagonal Neighbourhood: The 4 diagonal neighbours ND(p) S: (x+1,y+1), x(-1,y+1),(x+1,y-1), (x-1,y-1) 8-Neighbourhood: Union of N4 and ND N8(p) = N4(p)+ND(p)

35

slide-36
SLIDE 36

Connectivity

  • Connectivity allows to define

regions in an image or boundaries.

  • Two pixels p,q are connected if

they are neighbours in one of the neighbourhoods, especially N4(p) and N8(p)

  • We speak of 4-connectivity or 8-connectivity

The pixels p,q are not connected under 4- connectivity but under 8-connectivity

36

slide-37
SLIDE 37

Paradoxon of the 4-Connectivity

The black pixels are not 4-connected. However, they perfectly divide the two sets of white pixels (which are also not 4-connected) Using the 8-connectivity solves this problem

37

slide-38
SLIDE 38

Paradoxon of the 8-Connectivity

The most logical solution is (e): Foreground 8-neighbourhood + Background 4-neighbourhood

(Jordan theorem)

38

slide-39
SLIDE 39

Distance measures

Different distance metrics can be defined in an image:

– Euclidean distance – D4 distance (city-block) – D8 distance (chess-board)

Properties of a distance function or metric D:

39

slide-40
SLIDE 40

Euclidean distance

  • The Euclidean distance between pixels p and q

is defined as: D = 5

40

slide-41
SLIDE 41

D4 distance

  • The D4 or city-block-distance between pixels p

and q is defined as: D = 7

41

slide-42
SLIDE 42

D8 distance

  • The D8 or chess-board-distance between

pixels p and q is defined as: D = 4

42

slide-43
SLIDE 43

Circle with radius T

43