Description Usage Arguments Examples
The base-resolution comprises twelve pixels. baseNeighbours
returns
a map from the base pixel index bp to the vector of base pixels
that are neighbours of bp, in counterclockwise order of
direction: S,SE,E,NE,N,NW,W,SW. The presence of -1 indicates
that the corresponding direction is empty.
1 | baseNeighbours(bp)
|
bp |
The base pixel index |
1 2 3 4 5 | ## Return neighbours of base pixel 1
baseNeighbours(1)
## There is no base pixel 14, so baseNeighbours returns NULL
baseNeighbours(14)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.