k_nearest_mean_filter: K nearest mean filter

Description Usage Arguments Value

Description

A k-nearest mean filter is a type of edge-preserving smoothing filter.

Usage

1
2
k_nearest_mean_filter(input, output, filterx = 11, filtery = 11,
  k = 5, verbose_mode = FALSE)

Arguments

input

Input raster file.

output

Output raster file.

filterx

Size of the filter kernel in the x-direction.

filtery

Size of the filter kernel in the y-direction.

k

k-value in pixels; this is the number of nearest-valued neighbours to use.

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.