An opening is a mathematical morphology operation involving a dilation (max filter) of an erosion (min filter) set.
opening(input, output, filterx = 11, filtery = 11,
verbose_mode = FALSE)
Input raster file.
Output raster file.
Size of the filter kernel in the x-direction.
Size of the filter kernel in the y-direction.
Sets verbose mode. If verbose mode is False, tools will not print output messages.
Returns the tool text outputs.