Tool NameMorphological Filter
Tool ID8
Library IDgrid_filter
Version1.0
Author(s)O.Conrad (c) 2010

Description

Morphological filter for grids. Dilation returns the maximum and erosion the minimum value found in a cell's neighbourhood as defined by the kernel. Opening applies first an erosion followed by a dilation and closing is a dilation followed by an erosion.

Parameters

NameTypeIdentifierDescriptionConstraints
Input
Gridgrid, inputINPUT
Output
Filtered Gridgrid, output, optionalRESULT
Options
MethodchoiceMETHODChoose the operation to perform.Available Choices:
[0] Dilation
[1] Erosion
[2] Opening
[3] Closing
Default: 0
Kernel TypechoiceKERNEL_TYPEThe kernel's shape.Available Choices:
[0] Square
[1] Circle
Default: 1
Radiusinteger numberKERNEL_RADIUScellsMinimum: 0
Default: 2