In image processing, connectivity is the way in which voxels in 3-dimensional images relate to their neighbors. Although there are a number of techniques available to calculate connectivity, Dragonfly considers 6-connected voxels to be neighbors. Other techniques available to calculate connectivity — 18-connected and 26-connected — typically produce fewer objects than 6-connected.
6-connected… 6-connected pixels are neighbors to every pixel that touches one of their faces. These pixels are connected along one of the primary axes. Each pixel with coordinates {x ± 1, y, z), (x, y ± 1, z), or {x , y, z ± 1) is connected to the pixel at (x, y, z).