Illustration of How MSE Changes With DL and RL
Illustration of How MSE Changes With DL and RL
► Neighborhood
5
Basic Relationships Between Pixels
6
7
Similar gray level means that the gray
levels of both pixels belong to set V
Weeks 1 & 2 8
Basic Relationships Between Pixels
Two pixels are adjacent if they are
neighbors and their gray levels are similar
► Adjacency
Let V be the set of intensity values
9
Basic Relationships Between Pixels
► Adjacency
Let V be the set of intensity values
(ii) q is in the set ND(p) and the set N4(p) ∩ N4(p) has no pixels whose
values are from V.
10
Weeks 1 & 2 11
Examples: Adjacency and Path
V = {1, 2}
0 1 1
1,1 1,2 1,3 0 1 1 0 1 1
0 2 0
2,1 2,2 2,3 0 2 0 0 2 0
0 0 1
3,1 3,2 3,3 0 0 1 0 0 1
8-adjacent m-adjacent
The 8-path from (1,3) to (3,3): The m-path from (1,3) to (3,3):
(i) (1,3), (1,2), (2,2), (3,3) (1,3), (1,2), (2,2), (3,3)
(ii) (1,3), (2,2), (3,3)
12
13
14
Basic Relationships Between Pixels
► Connected in S
Let S represent a subset of pixels in an image. Two
pixels p with coordinates (x0, y0) and q with
coordinates (xn, yn) are said to be connected in S
if there exists a path
15
Let S represent a subset of pixels in an image
16
17
Distance Measures
b. D(p, q) = D(q, p)
18
19
Weeks 1 & 2 20