SAGA 9.4.2 | Tool Library Documentation

Multi Direction Lee Filter


Description

The tool searches for the minimum variance within 16 directions and applies a Lee Filter in the direction of minimum variance. The filter is edge-preserving and can be used to remove speckle noise from SAR images or to smooth DTMs. Applied to DTMs, this filter will preserve slope breaks and narrow valleys. For more details, please refer to the references.


References


Parameters

 NameTypeIdentifierDescriptionConstraints
InputGridgrid, inputINPUT--
OutputFiltered Gridgrid, outputRESULT--
Minimum Standard Deviationgrid, output, optionalSTDDEV--
Direction of Minimum Standard Deviationgrid, output, optionalDIR--
OptionsGrid Systemgrid systemPARAMETERS_GRID_SYSTEM--
Estimated Noise (absolute)floating point numberNOISE_ABSEstimated noise in units of input dataMinimum: 0.000000 Default: 1.000000
Estimated Noise (relative)floating point numberNOISE_RELEstimated noise relative to mean standard deviationMinimum: 0.000000 Default: 1.000000
WeightedbooleanWEIGHTED-Default: 1
MethodchoiceMETHOD-Available Choices: [0] noise variance given as absolute value [1] noise variance given relative to mean standard deviation [2] original calculation (Ringeler) Default: 1

Command Line


Usage: saga_cmd grid_filter 3 [-INPUT ] [-RESULT ] [-STDDEV ] [-DIR ] [-NOISE_ABS ] [-NOISE_REL ] [-WEIGHTED ] [-METHOD ]
  -INPUT:       	Grid
	grid, input
  -RESULT:      	Filtered Grid
	grid, output
  -STDDEV:      	Minimum Standard Deviation
	grid, output, optional
  -DIR:         	Direction of Minimum Standard Deviation
	grid, output, optional
  -NOISE_ABS:	Estimated Noise (absolute)
	floating point number
	Minimum: 0.000000
	Default: 1.000000
  -NOISE_REL:	Estimated Noise (relative)
	floating point number
	Minimum: 0.000000
	Default: 1.000000
  -WEIGHTED:    	Weighted
	boolean
	Default: 1
  -METHOD:      	Method
	choice
	Available Choices:
	[0] noise variance given as absolute value
	[1] noise variance given relative to mean standard deviation
	[2] original calculation (Ringeler)
	Default: 1