- Pixels have 4-neighbors (those directly above, below, left, and right) and 8-neighbors (the 4-neighbors plus the diagonal neighbors).
- For pixels to be considered connected, they must satisfy some similarity criterion as neighbors, such as having the same pixel value in a binary image.
- There are two main types of connectivity: 4-adjacency considers pixels neighbors if they are 4-neighbors, while 8-adjacency also considers diagonal neighbors. Connected components are the largest sets of connected pixels.