SAGA-GIS Tool Library Documentation (v8.2.1)

Tool Multi Direction Lee Filter

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 Deviation (*)Grid, output, optionalSTDDEV--
Direction of Minimum Standard Deviation (*)Grid, output, optionalDIR--
OptionsGrid SystemGrid systemPARAMETERS_GRID_SYSTEM--
Estimated Noise (absolute)Floating pointNOISE_ABSEstimated noise in units of input dataMinimum: 0.000000
Default: 1.000000
Estimated Noise (relative)Floating pointNOISE_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
(*) optional

Command-line

Usage: saga_cmd grid_filter 3 [-INPUT <str>] [-RESULT <str>] [-STDDEV <str>] [-DIR <str>] [-NOISE_ABS <double>] [-NOISE_REL <double>] [-WEIGHTED <str>] [-METHOD <str>]
  -INPUT:<str>       	Grid
	Grid, input
  -RESULT:<str>      	Filtered Grid
	Grid, output
  -STDDEV:<str>      	Minimum Standard Deviation
	Grid, output, optional
  -DIR:<str>         	Direction of Minimum Standard Deviation
	Grid, output, optional
  -NOISE_ABS:<double>	Estimated Noise (absolute)
	Floating point
	Minimum: 0.000000
	Default: 1.000000
  -NOISE_REL:<double>	Estimated Noise (relative)
	Floating point
	Minimum: 0.000000
	Default: 1.000000
  -WEIGHTED:<str>    	Weighted
	Boolean
	Default: 1
  -METHOD:<str>      	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