Skip to main content

Module kernels

Module kernels 

Source
Expand description

Common convolution kernels.

These kernels are used with the ConvolveMatrix filter primitive for various image processing effects. All provided kernels are 3x3.

Functionsยง

edge_detect_3x3
3x3 Edge detection kernel (Laplacian operator).
emboss_3x3
3x3 Emboss kernel for creating a raised/beveled appearance.
gaussian_3x3
3x3 Gaussian blur kernel for basic smoothing.
sharpen_3x3
3x3 Sharpen kernel to enhance edges and details.