HOME

TheInfoList



OR:

In cellular automata, the von Neumann neighborhood (or 4-neighborhood) is classically defined on a two-dimensional
square lattice In mathematics, the square lattice is a type of lattice in a two-dimensional Euclidean space. It is the two-dimensional version of the integer lattice, denoted as . It is one of the five types of two-dimensional lattices as classified by their ...
and is composed of a central cell and its four adjacent cells. The neighborhood is named after
John von Neumann John von Neumann ( ; ; December 28, 1903 – February 8, 1957) was a Hungarian and American mathematician, physicist, computer scientist and engineer. Von Neumann had perhaps the widest coverage of any mathematician of his time, in ...
, who used it to define the
von Neumann cellular automaton Von Neumann cellular automata are the original expression of cellular automata, the development of which was prompted by suggestions made to John von Neumann by his close friend and fellow mathematician Stanislaw Ulam. Their original purpose w ...
and the von Neumann universal constructor within it. It is one of the two most commonly used neighborhood types for two-dimensional cellular automata, the other one being the Moore neighborhood. This neighbourhood can be used to define the notion of 4-connected
pixel In digital imaging, a pixel (abbreviated px), pel, or picture element is the smallest addressable element in a Raster graphics, raster image, or the smallest addressable element in a dot matrix display device. In most digital display devices, p ...
s in
computer graphics Computer graphics deals with generating images and art with the aid of computers. Computer graphics is a core technology in digital photography, film, video games, digital art, cell phone and computer displays, and many specialized applications. ...
.. The von Neumann neighbourhood of a cell is the cell itself and the cells at a
Manhattan distance Taxicab geometry or Manhattan geometry is geometry where the familiar Euclidean distance is ignored, and the distance between two point (geometry), points is instead defined to be the sum of the absolute differences of their respective Cartesian ...
of 1. The concept can be extended to higher dimensions, for example forming a 6-cell
octahedral In geometry, an octahedron (: octahedra or octahedrons) is any polyhedron with eight faces. One special case is the regular octahedron, a Platonic solid composed of eight equilateral triangles, four of which meet at each vertex. Many types of i ...
neighborhood for a cubic cellular automaton in three dimensions.


Von Neumann neighborhood of range ''r''

An extension of the simple von Neumann neighborhood described above is to take the set of points at a
Manhattan distance Taxicab geometry or Manhattan geometry is geometry where the familiar Euclidean distance is ignored, and the distance between two point (geometry), points is instead defined to be the sum of the absolute differences of their respective Cartesian ...
of ''r'' > 1. This results in a diamond-shaped region (shown for ''r'' = 2 in the illustration). These are called von Neumann neighborhoods of range or extent ''r''. The number of cells in a 2-dimensional von Neumann neighborhood of range ''r'' can be expressed as r^2 + (r+1)^2. The number of cells in a ''d''-dimensional von Neumann neighborhood of range ''r'' is the
Delannoy number In mathematics, a Delannoy number D counts the paths from the southwest corner (0, 0) of a rectangular grid to the northeast corner (''m'', ''n''), using only single steps north, northeast, or east. The Delannoy numbers are named after French army ...
''D''(''d'',''r'').. The number of cells on a surface of a ''d''-dimensional von Neumann neighborhood of range ''r'' is the Zaitsev number .


See also

* Moore neighborhood *
Neighbourhood (graph theory) In graph theory, an adjacent vertex of a vertex (graph theory), vertex in a Graph (discrete mathematics), graph is a vertex that is connected to by an edge (graph theory), edge. The neighbourhood of a vertex in a graph is the subgraph of ...
*
Taxicab geometry Taxicab geometry or Manhattan geometry is geometry where the familiar Euclidean distance is ignored, and the distance between two points is instead defined to be the sum of the absolute differences of their respective Cartesian coordinates, a dis ...
* Lattice graph * Pixel connectivity *
Chain code A chain code is a lossless compression based image segmentation method for binary images based upon tracing image contours. The basic principle of chain coding, like other contour codings, is to separately encode each connected component (topology), ...


References


External links

* * Tyler, Tim,
The von Neumann neighborhood
' a
cell-auto.com
Cellular automata {{comp-sci-theory-stub