Get neighbors relative position and height.
For each of the neighbors in the strel object se, offsets are their positions relative to the origin (center). It is a PxN matrix, with P as the number of neighbors, and N as the number of dimensions.
heights is a vector with the height of each neighbor in se.
See also: getnhood, getheight, strel.
Package: image