SAGA-GIS Tool Library Documentation (v8.5.1)

Tool Morphological Filter (OpenCV)

Morphological Filter.


References


Parameters

 NameTypeIdentifierDescriptionConstraints
InputInputGrid, inputINPUT--
OutputOutputGrid, outputOUTPUT--
OptionsGrid SystemGrid systemPARAMETERS_GRID_SYSTEM--
OperationChoiceTYPE-Available Choices:
[0] dilation
[1] erosion
[2] opening
[3] closing
[4] morpological gradient
[5] top hat
[6] black hat
Default: 0
Element ShapeChoiceSHAPE-Available Choices:
[0] ellipse
[1] rectangle
[2] cross
Default: 0
Radius (cells)IntegerRADIUS-Minimum: 0
Default: 1
IterationsIntegerITERATIONS-Minimum: 1
Default: 1

Command-line

Usage: saga_cmd imagery_opencv 0 [-INPUT <str>] [-OUTPUT <str>] [-TYPE <str>] [-SHAPE <str>] [-RADIUS <num>] [-ITERATIONS <num>]
  -INPUT:<str>     	Input
	Grid, input
  -OUTPUT:<str>    	Output
	Grid, output
  -TYPE:<str>      	Operation
	Choice
	Available Choices:
	[0] dilation
	[1] erosion
	[2] opening
	[3] closing
	[4] morpological gradient
	[5] top hat
	[6] black hat
	Default: 0
  -SHAPE:<str>     	Element Shape
	Choice
	Available Choices:
	[0] ellipse
	[1] rectangle
	[2] cross
	Default: 0
  -RADIUS:<num>    	Radius (cells)
	Integer
	Minimum: 0
	Default: 1
  -ITERATIONS:<num>	Iterations
	Integer
	Minimum: 1
	Default: 1