Description Usage Arguments Details Value
8-way neighborhood connected component border (edge/vertice) states.
1 | ccl_borders(m)
|
m |
A two dimensional numeric matrix. |
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 ).
Numeric matrix of the same dimensions as mat with values indicating 8-way connected border states.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.