HighMap library (C++)
Loading...
Searching...
No Matches
local_metrics.cpp File Reference

Namespaces

namespace  hmap

Functions

Array hmap::local_max (const Array &array, int ir)
 Return the local maxima based on a maximum filter with a square kernel.
Array hmap::local_mean (const Array &array, int ir)
 Return the local mean based on a mean filter with a square kernel.
Array hmap::local_min (const Array &array, int ir)
 Return the local minima based on a maximum filter with a square kernel.
Array hmap::local_median_deviation (const Array &array, int ir)
 Computes the local median deviation of a 2D array.
Array hmap::relative_elevation (const Array &array, int ir)
 Calculates the relative elevation within a specified radius, helping to identify local highs and lows.
Array hmap::roughness (const Array &array, int ir)
 Measures the local surface roughness within a given radius.
Array hmap::ruggedness (const Array &array, int ir)
 Computes the ruggedness of each element in the input array.
Array hmap::rugosity (const Array &z, int ir, bool convex=true)
 Estimates the rugosity of a surface by analyzing the skewness of the elevation data, which reflects surface roughness.
Array hmap::topographic_residual (const Array &z, int ir, bool normalize_output=false)
 Computes the topographic residual (relief) relative to a smoothed surface.