GFXprim
2D bitmap graphics library with emphasis on speed and correctness
|
Gaussian blur. More...
#include <filters/gp_filter.h>
Go to the source code of this file.
Functions | |
int | gp_filter_gaussian_blur_ex (const gp_pixmap *src, gp_coord x_src, gp_coord y_src, gp_size w_src, gp_size h_src, gp_pixmap *dst, gp_coord x_dst, gp_coord y_dst, float x_sigma, float y_sigma, gp_progress_cb *callback) |
Gaussian blur.
Original Image | [2, 2] | [0, 4] | [4, 0] | [4, 4] | [10, 10] |
---|---|---|---|---|---|
Definition in file gp_blur.h.
int gp_filter_gaussian_blur_ex | ( | const gp_pixmap * | src, |
gp_coord | x_src, | ||
gp_coord | y_src, | ||
gp_size | w_src, | ||
gp_size | h_src, | ||
gp_pixmap * | dst, | ||
gp_coord | x_dst, | ||
gp_coord | y_dst, | ||
float | x_sigma, | ||
float | y_sigma, | ||
gp_progress_cb * | callback | ||
) |
Gaussian blur implemented using linear separable convolution.
The x_sigma defines the blur size in horizontal direction and y_sigma defines blur on vertical direction.