HighMap library (C++)
Loading...
Searching...
No Matches
statistics.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  hmap
 

Functions

float hmap::autocorr_length_scale (const Array &array, float max_lag_fraction=0.4f)
 Estimate the isotropic dominant length scale of a 2D heightmap.
 
glm::vec2 hmap::autocorr_length_scale_axial (const Array &array, float max_lag_fraction=0.4f)
 Estimate axis-aligned dominant length scales of a 2D heightmap.
 
float hmap::variance (const Array &array, float *p_mean=nullptr)
 Compute the population variance of a 2D array.
 

Detailed Description

Author
Otto Link (otto..nosp@m.link.nosp@m..bv@g.nosp@m.mail.nosp@m..com)