Description Usage Arguments Details Value See Also Examples
View source: R/modify.operators.R
The morphological skeleton of a patch is a binary skeletal remnant that preserves the extent and connectivity (i.e. the topology) of the patch.
1 2 | rSkeletonise(obj, method = "hitormiss", kernel = NULL,
background = NULL)
|
obj |
[ |
method |
[ |
kernel |
[ |
background |
[ |
For details, refer to skeletonise
of which
rSkeletonise
is a wrapper.
a RasterLayer
of the same dimensions as obj
, in which
foreground patches have been transformed into their morphological
skeletons.
Other operators to determine objects: rCentroid
,
rPatches
1 2 3 4 | input <- rtRasters$continuous
binarised <- rBinarise(input, thresh = 30)
visualise(raster::stack(binarised, rSkeletonise(binarised)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.