wbt_filter_raster_features_by_area {whitebox} | R Documentation |
Removes small-area features from a raster.
wbt_filter_raster_features_by_area( input, output, threshold, background = "zero", wd = NULL, verbose_mode = FALSE )
input |
Input raster file. |
output |
Output raster file. |
threshold |
Remove features with fewer grid cells than this threshold value. |
background |
Background value. |
wd |
Changes the working directory. |
verbose_mode |
Sets verbose mode. If verbose mode is False, tools will not print output messages. |
Returns the tool text outputs.