powered by
a version of onBPBoundary to use with neighbours
onBPBoundary(se, so, j)
An integer boundary code: 0 for an interior pixel, or 1 to 8 for S, SE, E, NE, N, NW, W and SW respectively.
The sum of even bits, e.g. sum( f$even )
The sum of odd bits, e.g. sum( f$odd )
The resolution parameter nside = 2^j