opening {whitebox}R Documentation

Opening

Description

An opening is a mathematical morphology operation involving a dilation (max filter) of an erosion (min filter) set.

Usage

opening(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.


[Package whitebox version 1.4.0 Index]