Two-dimensional, N = 9: (a Moore nbhd)
The nbhd consists of the central cell and the cells sharing an edge or a corner with the central cell.
That is, the nbhd of the central cell is the central cell and those eight cells touching the central cell.
![]() |
Return to Neighborhoods.