majority_filter: Majority filter

Description Usage Arguments Value

Description

Assigns each cell in the output grid the most frequently occurring value (mode) in a moving window centred on each grid cell in the input raster.

Usage

1
2
majority_filter(input, output, filterx = 11, filtery = 11,
  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.

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.