Skip to main content

Module convolution

Module convolution 

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.

Structs§

ConvolutionKernel
Convolution kernel for custom filtering operations.

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.