Professional Documents
Culture Documents
Lecture 2 - Digitization
Reading instructions
1
Questions
2
Signals for digital imaging
Visible light
Digital camera
Light microscope
Confocal microscope
IR and UV light
X-ray
Tomography
Radio waves
Magnetic Resonance Imaging
Gamma rays
Microwaves Not based on
Radar EM waves
Electrons
Scanning electron microscopy
Ultrasound
...
3
Sensors for digital imaging
4
Resolution
Sampling
Uniform sampling
Square grid, Rectangular grid, Hexagonal grid
Non-uniform sampling
Closer where it is necessary, eye.
Image size
128 x 128, 256 x 256, 512 x 512, 1024 x 1024
5
Spatial grids
Sampling example
512 128 32
256 64
2007-10-17 Maria Axelsson, maria@cb.uu.se
6
Grey level resolution
Min = 0
Max = 2n – 1
Levels = 2n
n Levels Comments
1 2 Binary
5 32 Eye
8 256 Common
16 65536 Medical
256 128 64
32 16 8
4 2
7
Dimensions
x, y, z – spatial
t – time
b – spectral
Volume – f(x,y,z)
HIV volume
8
Spectral image – f(x,y,b)
Color image
Neighbours
N4(p): N8(p):
4-neighbour 8-neighbour
( x , y − 1) ( x − 1, y − 1) ( x , y − 1) ( x + 1, y − 1)
( x − 1, y ) ( x + 1, y ) ( x − 1, y ) ( x + 1, y )
( x , y + 1) ( x − 1, y + 1) ( x , y + 1) ( x + 1, y + 1)
9
Connectivity, adjacency
Connectivity, examples
4-connectivity 8-connectivity
10
Path
Connected components
Object
4- or 8-connectivity.
11
Labeling
Algorithm
A – pixel of interest
Pass 1 Pass 2
If A = 1 Give equivalent labels
If B=0 AND C=0 one label.
new label
If B=1 (or C=1),
let A=label of the B (C)
If B=1 AND C=1 with same label
let A= label of B
If B=1 AND C=1 with different label
let A=label of B, update equivalence table
12
Exampel
Pass 1 Pass 2
Measuring distance
Chessboard, one
13
Reading instructions
14