Professional Documents
Culture Documents
Basic Relationship of Pixels: Image Processing For BME 2 5th Stage
Basic Relationship of Pixels: Image Processing For BME 2 5th Stage
Lecture 4
Basic Relationship of Pixels
By:
Dr. Noor Kamal
PhD in Biomedical Engineering
Image processing for BME 2_Lec 4_ 2020 1
Basic Relationship of Pixels
• Neighbors
• Adjacency and Connectivity
• Path
• Region and Boundary
• Distance
• m-adjacency: Two pixels p and q with the values from set ‘V’ are m-
adjacent if
• (i) q is in N4(p)
• (ii) q is in ND(p) & the set N4(p) intersection N4(q) have no pixels
whose values are from ‘V’.
Ex. V = { 1 }
33
Image processing for BME 2_Lec 4_ 2020
Distance Measures
• Shortest-4 path:
V = {1, 2}.
• Shortest-8 path:
V = {1, 2}.
• Shortest-m path:
V = {1, 2}.