|
HighMap library (C++)
|
Go to the source code of this file.
Namespaces | |
| namespace | hmap |
Enumerations | |
| enum | hmap::NormalizationMethod : int { hmap::NM_MIN_MAX , hmap::NM_STANDARDIZE , hmap::NM_ROBUST } |
| Normalization methods. More... | |
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. | |
| Array | hmap::detrend_reg (const Array &array) |
| Apply linear regression for detrending of a 2D array. | |
| void | hmap::normalize (Array &array, NormalizationMethod method) |
| In-place normalization of an array. | |
| Array | hmap::normalized (const Array &array, NormalizationMethod method) |
| Returns a normalized copy of an array. | |
| float | hmap::variance (const Array &array, float *p_mean=nullptr) |
| Compute the population variance of a 2D array. | |