SLIDE 2 2
neighbours
6-neighbours (hexagonal) 4-neighbours 8-neighbours (square)
- neighbourhood
- neighbours of a pixel
– horizontal/vertical, edge, kant – diagonal, point, punkt, hörn, vertex
neighbourhood
pixel p with coordinates (x,y) N4(p): 4-neighbourhood
( , ) ( , ) ( , ) ( , ) ( , ) ( , ) ( , ) ( , ) x y x y x y x y x y x y x y x y − − − + − − + − + + + + 1 1 1 1 1 1 1 1 1 1 1 1 ( , ) ( , ) ( , ) ( , ) x y x y x y x y − − + + 1 1 1 1
N8(p): 8-neighbourhood
similarity
binary (bi-level!) images: only 0s and 1s
- bject/region (1) and background (0)
- bject O – all pixels with a certain ”similarity”
example: grey-level in V={20,21,…,30}
V – set of grey-levels
O O
adjacency
– p & q belongs to O and q is in N4(p)
– p & q belongs to O and q are in N8(p)
– q is in N4(p) – q is a point neighbour AND p and q have no edge neighbours in common