SAGA 9.4.2 | Tool Library Documentation

Laplacian Filter


Description

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 Gridgrid, 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 Radiusinteger numberKERNEL_RADIUS-Minimum: 1 Default: 2
Standard Deviationfloating point numberSIGMAThe standard deviation as percentage of the kernel radius.Minimum: 1.000000 Default: 50.000000

Command Line


Usage: saga_cmd grid_filter 2 [-INPUT ] [-RESULT ] [-METHOD ] [-KERNEL_RADIUS ] [-SIGMA ]
  -INPUT:        	Grid
	grid, input
  -RESULT:       	Filtered Grid
	grid, output, optional
  -METHOD:       	Method
	choice
	Available Choices:
	[0] standard kernel 1
	[1] standard kernel 2
	[2] Standard kernel 3
	[3] user defined kernel
	Default: 3
  -KERNEL_RADIUS:	Kernel Radius
	integer number
	Minimum: 1
	Default: 2
  -SIGMA:     	Standard Deviation
	floating point number
	Minimum: 1.000000
	Default: 50.000000