Welcome to our Support Center

Gaussian Blur


Blurs an image using a Gaussian filter. The function convolves the source image with the specified Gaussian kernel. Type : polymorphic.


Input parameters


Image Src : class, type accepted U8, I16, RGB and HSL.
ROI : class,
if ROI is wired we apply blur only on ROI pixel different of 0 (type accepted U8, I16, RGB and HSL).

Gaussian Blur Parameters : cluster,

ksize_x : integer, gaussian kernel width.
ksize_y :
integer, gaussian kernel height.
sigma_x : float,
gaussian kernel standard deviation in X direction.
sigma_y : float,
gaussian kernel standard deviation in Y direction.

ksize_x and ksize_y can differ but they both must be positive and odd. Or, they can be zero’s and then they are computed from sigma.

If sigma_y is zero, it is set to be equal to sigma_x, if both sigmas are zeros, they are computed from ksize_x and ksize_y, respectively to fully control the result regardless of possible future modifications of all this semantics, it is recommended to specify all of ksize_x, ksize_y, sigma_x, and sigma_y.

Output parameters


Image Dst : class


All these exemples are snippets PNG, you can drop these Snippet onto the block diagram and get the depicted code added to your VI (Do not forget to install TIGR library to run it).

Table of Contents