PROExperimental

Reduces canopy residual roughness by masking high local DEV responses at small scales and re-interpolating masked elevations.

geomorphometry lidar smoothing dem legacy-port

Parameters

NameDescriptionRequiredDefault
inputInput DEM raster path or typed raster object.Requireddem.tif
max_scaleMaximum DEV half-window radius in cells (default 30).Optional30
dev_thresholdMinimum DEV magnitude used to flag roughness cells (default 1.0).Optional1.0
scale_thresholdMaximum scale considered roughness (default 5).Optional5
outputOptional output path. If omitted, result stays in memory.Optional

Examples

Suppress vegetation-residual roughness in a LiDAR DEM.

wbe.smooth_vegetation_residual(dev_threshold=1.0, input='dem.tif', max_scale=30, output='smooth_vegetation_residual.tif', scale_threshold=5)

Project Links

WbW Homepage User Manual Learn More