SAGA-GIS Tool Library Documentation (v9.1.1)

Tool Laplacian Filter

The Laplacian filter is a high-pass filter operator that is commonly used for edge detection. Also referred to as Laplacian of Gaussian (LoG) or Marr-Hildreth-Operator.
The kernel can be defined by search radius and weighting function adjustment or be chosen from predefined standards.

Standard kernel 1 (3x3):

0-1 0
-1 4-1
0-1 0


Standard kernel 2 (3x3):
-1-1-1
-1 8-1
-1-1-1


Standard kernel 3 (3x3):
-1-2-1
-212-2
-1-2-1

Parameters

 NameTypeIdentifierDescriptionConstraints
InputGridGrid, inputINPUT--
OutputFiltered Grid (*)Grid, output, optionalRESULT--
OptionsGrid SystemGrid systemPARAMETERS_GRID_SYSTEM--
MethodChoiceMETHOD-Available Choices:
[0] standard kernel 1
[1] standard kernel 2
[2] Standard kernel 3
[3] user defined kernel
Default: 3
Kernel RadiusIntegerKERNEL_RADIUS-Minimum: 1
Default: 2
Standard DeviationFloating pointSIGMAThe standard deviation as percentage of the kernel radius.Minimum: 1.000000
Default: 50.000000
(*) optional

Command-line

Usage: saga_cmd grid_filter 2 [-INPUT <str>] [-RESULT <str>] [-METHOD <str>] [-KERNEL_RADIUS <num>] [-SIGMA <double>]
  -INPUT:<str>        	Grid
	Grid, input
  -RESULT:<str>       	Filtered Grid
	Grid, output, optional
  -METHOD:<str>       	Method
	Choice
	Available Choices:
	[0] standard kernel 1
	[1] standard kernel 2
	[2] Standard kernel 3
	[3] user defined kernel
	Default: 3
  -KERNEL_RADIUS:<num>	Kernel Radius
	Integer
	Minimum: 1
	Default: 2
  -SIGMA:<double>     	Standard Deviation
	Floating point
	Minimum: 1.000000
	Default: 50.000000