Neighborhood, Connections, and Connected Components
A brief explanation of these 3 terms that form the basis of relation— similarity analysis for different subjects like Region Growing, an algorithm used in Image Segmentation
Published in
4 min readSep 13, 2021
Neighborhood
The neighborhood of a pixel is simply the pixels that touch it. We examine neighborhood in 3 categories:
4- Neighborhood
Here, we talk about the pixels touching in 4 directions top, right, bottom, and left.
d- Neighborhood
Here, we talk about the pixels touching only in diagonal corners.
8- Neighborhood
Here, we talk about all the pixels touching, including 4 and d-neighbors
Connectivity
Connectivity is a measure that looks at the similarity between neighbor pixels. Thus, to have a connection between…