Pixel connectivity
In image processing, pixel connectivity is the way in which pixels in 2-dimensional (or hypervoxels in n-dimensional) images relate to their neighbors. == Formulation == In order to specify a set of connectivities, the dimension N and the width of the neighborhood n, must be specified.