API Reference#

Documentation of the APIs located in the dem_lic.utils folder

Geomorphometry functions#

morpho_dem.calculate_maximal_curvature

Compute the maximal curvature (k_max) of a DEM using vectorized calculations.

morpho_dem.fast_adaptive_gaussian_blur

Applies a fast adaptive Gaussian blur by grouping pixels into bins based on local curvature values.

Line integral convolution#

lic_extended.extended_lic_weighted_altitude_lengthModulated

Applies a Line Integral Convolution (LIC) with a dynamically modulated integration length (based on f) and a variable Gaussian kernel that reduces the influence of higher terrain along the line of integration.

lic_extended.process_lic_extended

Processes a single block of a DEM with LIC and generalization techniques.

block processing#

lic_extended.process_geotiff_in_block_with_overlap

Processes a GeoTIFF file in overlapping blocks and applies a user-defined processing function.