1 lecture motivation digital images syllabus
play

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:


  1. 1. Lecture Motivation Digital images

  2. 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: 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] Image compression/Texture segmentation (Manos 03.05. [pdf] Baltsavias) 10.05. Feature extraction (Manos Baltsavias) [pdf] 24.05. Image segmentation (Manos Baltsavias) [pdf] 31.05. Image matching (Manos Baltsavias) [pdf] 2

  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

  4. Transmission interference 4

  5. Compression artefacts 5

  6. Spilling 6

  7. Scratches, Sensor noise 7

  8. Bad contrast 8

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

  10. Removing motion blur 10

  11. 11

  12. Super resolution 12

  13. Super resolution 13

  14. Seeing through obscure glass 14 [Shan et al.,2010]

  15. Seeing through obscure glass [Shan et al.,2010] 15

  16. Haze removal original haze removed 16 [He et al. 2009]

  17. Clear Underwater Vision [Schechner et al. 2004] 17

  18. A 2D image x (0,0) f(x,y) (x,y) y 18

  19. Concepts • Continuous function: continuous codomain – continuous domain • Discrete function : continuous codomain – discrete domain • Digital function: discrete codomain – discrete domain 19

  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

  21. Example for images ultrasound temperature 21 CT camera image

  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

  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

  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

  25. Sampling grids 25

  26. Retina-like sensors 26

  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

  28. Quantization 11 10 01 00 28

  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

  30. Properties • Image resolution • Geometric resolution: How many pixel per area • Radiometric resolution: How many bits per pixel 30

  31. Image resolution 512x512 1024x1024 512x1024 31

  32. Geometric resolution 32

  33. Radiometric resolution 33

  34. Basic relationships between pixels • Neighbourhood • Connectivity • Metric • Distances binary image 34

  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=N 4 (p) is called the 4-neighbourhood Diagonal Neighbourhood: The 4 diagonal neighbours N D (p) S: (x+1,y+1), x(-1,y+1),(x+1,y-1), (x-1,y-1) 8-Neighbourhood: Union of N 4 and N D N 8 (p) = N 4 (p)+N D (p) 35

  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 pixels p,q are not connected under 4- the neighbourhoods, connectivity but under especially N 4 (p) and N 8 (p) 8-connectivity • We speak of 4-connectivity or 8-connectivity 36

  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

  38. Paradoxon of the 8-Connectivity The most logical solution is (e): Foreground 8-neighbourhood + Background 4-neighbourhood (Jordan theorem) 38

  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

  40. Euclidean distance • The Euclidean distance between pixels p and q is defined as: D = 5 40

  41. D 4 distance • The D 4 or city-block-distance between pixels p and q is defined as: D = 7 41

  42. D 8 distance • The D 8 or chess-board-distance between pixels p and q is defined as: D = 4 42

  43. Circle with radius T 43

Recommend


More recommend