Description Usage Arguments Value Examples
For all unclassified features, removes holes from polygons and performs a morphological closing with radius 1 pixel, and determines which features are unaffected by this process.
1 | feature.closing(site, progress.bar = F, plot.progress = F, rm = 1)
|
site |
Feature set list, containing a raster of all features, and a matrix assigning each feature to a particular type. |
progress.bar |
Boolean: display progress bar or not? Default is F. |
plot.progress |
Boolean: plot features and colour those that have been checked, or not? Default is F |
rm |
Radius modifier: how many pixels' widths should be used as a radius for the dilation and erosion processes of the closing? Default is 1. Higher values will lead to a greater degree of smoothing. |
Matrix showing the cluster ID and area before and after the closing operation, and a list of polygon objects representing the features after closing.
1 | close.features(sparse.shapes.classified, plot.progress = T)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.