SAGA 9.6.1 | Tool Library Documentation

Morphological Filter (OpenCV)


Description

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)integer numberRADIUS-Minimum: 0 Default: 1
Iterationsinteger numberITERATIONS-Minimum: 1 Default: 1

Command Line


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