tophat_transform {whitebox} | R Documentation |
Performs either a white or black top-hat transform on an input image.
tophat_transform(input, output, filterx = 11, filtery = 11, variant = "white", verbose_mode = FALSE)
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. |
Returns the tool text outputs.