ccl_borders: 8-way connectedness border states.

Description Usage Arguments Details Value

View source: R/RcppExports.R

Description

8-way neighborhood connected component border (edge/vertice) states.

Usage

1

Arguments

m

A two dimensional numeric matrix.

Details

A cell is considered to have 8 distinct borders indexed in counter clockwise order with values of 2^c(0:7) beginning with the North edge and ending with the Northeast vertex. A cell fully enclosed by similar neighbors has no borders ( a 0 value ) whereas when fully enclosed by dissimilar neighbors is fully bordered ( a 255 value ).

Value

Numeric matrix of the same dimensions as mat with values indicating 8-way connected border states.


Thell/ccloutline documentation built on July 10, 2020, 2:46 a.m.