wbt_user_defined_weights_filter {whitebox}R Documentation

User ined weights filter

Description

Performs a user-defined weights filter on an image.

Usage

wbt_user_defined_weights_filter(
  input,
  weights,
  output,
  center = "center",
  normalize = FALSE,
  wd = NULL,
  verbose_mode = FALSE
)

Arguments

input

Input raster file.

weights

Input weights file.

output

Output raster file.

center

Kernel center cell; options include 'center', 'upper-left', 'upper-right', 'lower-left', 'lower-right'.

normalize

Normalize kernel weights? This can reduce edge effects and lessen the impact of data gaps (nodata) but is not suited when the kernel weights sum to zero.

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.


[Package whitebox version 1.4.0 Index]