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

Namespaces

namespace  hmap

Functions

Array hmap::loose_symmetry (const Array &array, SymmetryType symmetry_type=SymmetryType::SYMMETRY_LEFT_TO_RIGHT, float strength=1.f, int factor=4, int patch_size=16, int analysis_stride=2, int synthesis_stride=8, int sparsity=1, bool flatten_center=false, float flatten_radius=0.05f)
 Synthesize a heightmap with natural, approximate symmetry using exemplar-based super-resolution.