6. 8- Neighbors N8(P)
• The diagonal neighbors together with 4-neighbours are
called 8-neighbors of the pixel ‘p”. It is denoted by N8(P)
7.
8. Connectivity / Adjacency
• Connectivity between pixels is important because it is used in
establishing boundaries of objects and components of region
in an image.
• The adjacency relationship is defined considering similar
pixels.
• Let {v} be the set of gray values from 0-255 which are used to
define adjacency.
• There are three types of adjacency
• 4- adjacency
• 8- adjacency
• M- adjacency or Mixed adjacency