The Extended rule format also allows more unconventional neighbourhood types : corner (basically the 8 corners of the moore neighbourhood), edge (the edges of the moore neighbourhood), face (the faces of the moore neighbourdhood) and axis (all the cells directly aligned with one of the current cell's faces).įinally, it is possible to add a probability to each range and value using a colon notation.įor example "E 8:0.75,10.26 / 8.26:0.95" means : The Wikipedia pages for those neighbourhood include more correct definitions and examples of how the von-neumann neighbourdhood expands with a range > 1. In 3D, this gives 6 neighbours for a given cell. A von-neumann neighbourhood (of range 1) includes only the cells directly adjacent to the current cells. In 3D, this gives 26 neighbours for a given cell. Its default value is 1.Ī moore neighbourhood (of range 1) basically includes all the cells with a least one corner touching the current cell. The neighbourhoodRange defines the distance that the neighbourhood covers, its radius. The most common neighbourhoodTypes are moore (the default) and von-neumann.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |