tophat_transform {whitebox}R Documentation

Tophat transform

Description

Performs either a white or black top-hat transform on an input image.

Usage

tophat_transform(input, output, filterx = 11, filtery = 11,
  variant = "white", 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.

variant

Optional variant value. Options include 'white' and 'black'.

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 0.5.0 Index]