MTAT.03.260 Pattern Recognition and Image Analysis 1
- 1. Fundamentals of digital imaging
1. Fundamentals of digital imaging and human perception Silver - - PowerPoint PPT Presentation
1. Fundamentals of digital imaging and human perception Silver Leinberg MTAT.03.260 Pattern Recognition and Image Analysis 1 What Is Digital Image Processing? Image may be defined as 2D function f(x,y) x, y spatial coordinates f
MTAT.03.260 Pattern Recognition and Image Analysis 1
MTAT.03.260 Pattern Recognition and Image Analysis 2
– x, y – spatial coordinates – f – grey level
MTAT.03.260 Pattern Recognition and Image Analysis 3
MTAT.03.260 Pattern Recognition and Image Analysis 4
– Submarine cable between London and New York – 1920 Bartlane system with 5 levels of grey – 1929 15 levels of grey – 1964 pictures of moon taken by US spacecraft
MTAT.03.260 Pattern Recognition and Image Analysis 5
– 1940 key concepts by John von Neumann – 1948 transistor – 1958 integrated circuit – 1960s operating systems, high level programming
– 1970s microprocessor – 1981 personal computer
MTAT.03.260 Pattern Recognition and Image Analysis 6
MTAT.03.260 Pattern Recognition and Image Analysis 7
MTAT.03.260 Pattern Recognition and Image Analysis 8
MTAT.03.260 Pattern Recognition and Image Analysis 9
– A small dose of radioactive isotope is injected to
MTAT.03.260 Pattern Recognition and Image Analysis 10
– 2D: X-ray photography, contrast enhancement
– 3D: Computerized axial tomography (CAT)
– Circuit board inspection
MTAT.03.260 Pattern Recognition and Image Analysis 11
– Invisible ultraviolet light makes fluorescent
MTAT.03.260 Pattern Recognition and Image Analysis 12
MTAT.03.260 Pattern Recognition and Image Analysis 13
– Radiates microwave pulses to illuminate an area
MTAT.03.260 Pattern Recognition and Image Analysis 14
– Magnetic resonance imaging (MRI)
MTAT.03.260 Pattern Recognition and Image Analysis 15
– Geological exploration (minerals, oil) – Industry – Medicine (imaging of unborn baby with
MTAT.03.260 Pattern Recognition and Image Analysis 16
MTAT.03.260 Pattern Recognition and Image Analysis 17
MTAT.03.260 Pattern Recognition and Image Analysis 18
– 6..7 million – Located in centre of
– Highly sensitive to
– Bright-light
– 75..150 million – Distributed over the
– Not involved in
– Dim-light (scotopic)
MTAT.03.260 Pattern Recognition and Image Analysis 19
MTAT.03.260 Pattern Recognition and Image Analysis 20
MTAT.03.260 Pattern Recognition and Image Analysis 21
MTAT.03.260 Pattern Recognition and Image Analysis 22
MTAT.03.260 Pattern Recognition and Image Analysis 23
MTAT.03.260 Pattern Recognition and Image Analysis 24
MTAT.03.260 Pattern Recognition and Image Analysis 25
MTAT.03.260 Pattern Recognition and Image Analysis 26
– λ = c / ν (400 nm .. 750 nm) – E = h * ν (3.1 eV .. 1.65 eV)
MTAT.03.260 Pattern Recognition and Image Analysis 27
MTAT.03.260 Pattern Recognition and Image Analysis 28
– Single imaging sensor (SEM) – Line sensor (scanner, CAT, PET, MRI) – Array sensor (CCD, CMOS)
MTAT.03.260 Pattern Recognition and Image Analysis 29
MTAT.03.260 Pattern Recognition and Image Analysis 30
– i(x,y) – illumination (90000 .. 0.1 lm/m2) – r(x,y) – reflectance or transmittance (0 .. 1)
– [0, L-1], L = 2^k – dynamic range
MTAT.03.260 Pattern Recognition and Image Analysis 31
– by coordinate values – sampling (M x N) – by amplitude values – quantization (L = 2^k)
MTAT.03.260 Pattern Recognition and Image Analysis 32
MTAT.03.260 Pattern Recognition and Image Analysis 33
MTAT.03.260 Pattern Recognition and Image Analysis 34
MTAT.03.260 Pattern Recognition and Image Analysis 35
– nearest neighbour interpolation
– aliasing effect
MTAT.03.260 Pattern Recognition and Image Analysis 36
– N4(p), horizontal and vertical neighbours – ND(p), diagonal neighbours – N8(p) = N4(p) + ND(p)
MTAT.03.260 Pattern Recognition and Image Analysis 37
– 4-adjacency: same value & in N4 – 8-adjacency: same value & in N8 – m(ixed)-adjacency: same value &
MTAT.03.260 Pattern Recognition and Image Analysis 38
– Euclidean distance: De(p,q)=[(x-s)²+(y-t)²]^½ – D4 distance: D4(p,q) = |x - s| + |y – t| – D8 distance: D8(p,q) = max(|x – s|, |y – t|) – Dm distance
MTAT.03.260 Pattern Recognition and Image Analysis 39
– Sum operator is linear – Absolute value of difference of two images in not
MTAT.03.260 Pattern Recognition and Image Analysis 40
MTAT.03.260 Pattern Recognition and Image Analysis 41
– -->zeros(4,5), ones(2, 3) – -->rand(2, 3) – -->A = [11 12; 21 22] – -->A(1, 2) – -->A(1, 2:-1:1) – -->A(1, 1:2) – -->A(1, :) – -->A(:) – -->A(:,2) = 0 – -->size(A, 2) – -->linspace(3, 1, 5) – -->sum(A) – -->plot(A(1,:)) – ==, ~=, >, >=, <,
– -, +, *, .*, /, ./, \, .\,
– Transpose -->A.'
MTAT.03.260 Pattern Recognition and Image Analysis 42
– -->atomsInatall SIVP – -->f = imread('image1.bmp'); – -->imshow(f) – -->imwrite(f, 'image2.bmp') – -->g = im2double(f); – -->g = mat2gray(A) – -->th = 0.3, g = im2bw(f, th)
MTAT.03.260 Pattern Recognition and Image Analysis 43
MTAT.03.260 Pattern Recognition and Image Analysis 44