clump {whitebox} | R Documentation |
Groups cells that form discrete areas, assigning them unique identifiers.
clump(input, output, diag = TRUE, zero_back = FALSE, verbose_mode = FALSE)
input |
Input raster file. |
output |
Output raster file. |
diag |
Flag indicating whether diagonal connections should be considered. |
zero_back |
Flag indicating whether zero values should be treated as a background. |
verbose_mode |
Sets verbose mode. If verbose mode is False, tools will not print output messages. |
Returns the tool text outputs.