| wbt_remove_spurs {whitebox} | R Documentation | 
Remove spurs
Description
Removes the spurs (pruning operation) from a Boolean line image; intended to be used on the output of the LineThinning tool.
Usage
wbt_remove_spurs(
  input,
  output,
  iterations = 10,
  wd = NULL,
  verbose_mode = NULL,
  compress_rasters = NULL,
  command_only = FALSE
)
Arguments
| input | Input raster file path. See  | 
| output | Output raster file. | 
| iterations | Maximum number of iterations. | 
| wd | Changes the working directory. Default:  | 
| verbose_mode | Sets verbose mode. If verbose mode is  | 
| compress_rasters | Sets the flag used by 'WhiteboxTools' to determine whether to use compression for output rasters. Default:  | 
| command_only | Return command that would be executed by  | 
Value
Returns the tool text outputs.