SAGA-GIS Tool Library Documentation (v7.2.0)

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 (input)INPUT--
OutputFiltered GridGrid (output)RESULT--
Minimum Standard Deviation (*)Grid (optional output)STDDEV--
Direction of Minimum Standard Deviation (*)Grid (optional output)DIR--
OptionsGrid systemGrid systemPARAMETERS_GRID_SYSTEM--
Estimated Noise (absolute)Floating pointNOISE_ABSEstimated noise in units of input dataDefault: 1.000000
Estimated Noise (relative)Floating pointNOISE_RELEstimated noise relative to mean standard deviationDefault: 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 (optional output)
  -DIR:<str>         	Direction of Minimum Standard Deviation
	Grid (optional output)
  -NOISE_ABS:<double>	Estimated Noise (absolute)
	Floating point
	Default: 1.000000
  -NOISE_REL:<double>	Estimated Noise (relative)
	Floating point
	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