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

Namespaces

namespace  hmap
 

Functions

Array hmap::biweight (Vec2< int > shape)
 Generates a biweight kernel array.
 
Array hmap::blackman (Vec2< int > shape)
 Generates a Blackman window array with the specified shape.
 
Array hmap::cone (Vec2< int > shape)
 Generates a cone-shaped kernel array.
 
Array hmap::cone_smooth (Vec2< int > shape)
 Generates a cone-shaped kernel with a smooth landing.
 
Array hmap::cone_talus (float height, float talus)
 Generates a cone-shaped kernel with specified height and talus.
 
Array hmap::cubic_pulse (Vec2< int > shape)
 Generates a cubic pulse kernel array.
 
std::vector< float > hmap::cubic_pulse_1d (int nk)
 Generates a 1D cubic pulse kernel.
 
Array hmap::cubic_pulse_directional (Vec2< int > shape, float angle, float aspect_ratio, float anisotropy)
 Generates a "directional" cubic pulse kernel.
 
Array hmap::cubic_pulse_truncated (Vec2< int > shape, float slant_ratio, float angle)
 Generates a truncated cubic pulse kernel.
 
Array hmap::disk (Vec2< int > shape)
 Generates a disk-shaped kernel footprint.
 
Array hmap::disk_smooth (Vec2< int > shape, float r_cutoff=0.9f)
 Generates a smooth, disk-shaped kernel footprint with soft edges.
 
Array hmap::gabor (Vec2< int > shape, float kw, float angle, bool quad_phase_shift=false)
 Generates a Gabor kernel of the specified shape.
 
Array hmap::gabor_dune (Vec2< int > shape, float kw, float angle, float xtop, float xbottom)
 Generates a modified dune-like Gabor kernel.
 
Array hmap::lorentzian (Vec2< int > shape, float footprint_threshold=0.1f)
 Generate a Lorentzian kernel.
 
Array hmap::hann (Vec2< int > shape)
 Generates a Hann window array with the specified shape.
 
Array hmap::lorentzian_compact (Vec2< int > shape)
 Generate a modified Lorentzian kernel with compact support.
 
Array hmap::sinc_radial (Vec2< int > shape, float kw)
 Generates a radial sinc function array with the specified shape and wave number.
 
Array hmap::sinc_separable (Vec2< int > shape, float kw)
 Generates a separable sinc function array with the specified shape and wave number.
 
Array hmap::smooth_cosine (Vec2< int > shape)
 Generate a smooth cosine kernel.
 
Array hmap::square (Vec2< int > shape)
 Generate a square-shaped kernel.
 
Array hmap::tricube (Vec2< int > shape)
 Generate a tricube kernel.
 
Array hmap::get_kernel (Vec2< int > shape, KernelType kernel_type)
 Generate a kernel of the specified type.