Professional Documents
Culture Documents
Lect # 4
Topic:
Image Topology: neighborhood and connectivity
Zooming
Linear Interpolation
Image Interpolation
Downsampling
Linear Interpolation (contd.)
Bilinear Interpolation
Zooming:
Nearest neighbor interpolation
8X8 10 X 10
Pixel neighborhood
(x,y)
Pixel adjacency or connectivity
Pixels: p(x,y) and q(s,t)
V = {1} – set of intensity values used to define
adjacency
4-adjacency: p and q with values from V, are 4-
adjacent if they are 4 neighbors
8-adjacency: p and q with values from V, are 8-
adjacent if they are 8 neighbors
m-adjacency (mixed adjacency): p and q
with values from V, are m-adjacent if:
◦ q is 4-neighbor of p, or
◦ Q is diagonal neighbor of p and there is no common
4-neighbor fro p and q, that is, N4(p)⋂ N4(q) = Φ
Connectivity, Regions & Boundaries
Euclidean distance
0 1 0 1 1 1
0 1 1 1 1 1
1 1 1
Dm = 2 Dm = 3 Dm = 4