wbt_feature_preserving_smoothing: Feature preserving smoothing

Description Usage Arguments Value

View source: R/terrain_analysis.R

Description

Reduces short-scale variation in an input DEM using a modified Sun et al. (2007) algorithm.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
wbt_feature_preserving_smoothing(
  dem,
  output,
  filter = 11,
  norm_diff = 15,
  num_iter = 3,
  max_diff = 0.5,
  zfactor = NULL,
  wd = NULL,
  verbose_mode = FALSE
)

Arguments

dem

Input raster DEM file.

output

Output raster file.

filter

Size of the filter kernel.

norm_diff

Maximum difference in normal vectors, in degrees.

num_iter

Number of iterations.

max_diff

Maximum allowable absolute elevation change (optional).

zfactor

Optional multiplier for when the vertical and horizontal units are not the same.

wd

Changes the working directory.

verbose_mode

Sets verbose mode. If verbose mode is False, tools will not print output messages.

Value

Returns the tool text outputs.


whitebox documentation built on Sept. 7, 2020, 3 p.m.