HighMap library (C++)
|
Header file for kernel functions and utilities. More...
Go to the source code of this file.
Namespaces | |
namespace | hmap |
Enumerations | |
enum | hmap::KernelType : int { hmap::BIWEIGHT , hmap::CUBIC_PULSE , hmap::CONE , hmap::CONE_SMOOTH , hmap::DISK , hmap::LORENTZIAN , hmap::SMOOTH_COSINE , hmap::SQUARE , hmap::TRICUBE } |
Enumeration for different kernel functions used in various algorithms. More... | |
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_talus (float height, float talus) |
Generates a cone-shaped kernel with specified height and talus. | |
Array | hmap::cone_smooth (Vec2< int > shape) |
Generates a cone-shaped kernel with a smooth landing. | |
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::get_kernel (Vec2< int > shape, KernelType kernel_type) |
Generate a kernel of the specified type. | |
Array | hmap::hann (Vec2< int > shape) |
Generates a Hann window array with the specified shape. | |
Array | hmap::lorentzian (Vec2< int > shape, float footprint_threshold=0.1f) |
Generate a Lorentzian kernel. | |
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. | |
Header file for kernel functions and utilities.
This header file declares functions for generating various types of kernel functions used in statistical and computational applications. These kernels include common types such as biweight, cubic pulse, Lorentzian, and smooth cosine, among others.