Description Usage Arguments Value Examples
Assigns labels to connected components in a logical matrix
1 | conLabel(x,N=4)
|
x |
A logical matrix whose connected components are to be detected |
N |
Number specifying whether to use 4 or 8 neighborhood connectivity (Can only be 4 or 8. Default is 4) |
A matrix with labeled connected components
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.