Devesprit.ImageProcessor & Devesprit.ImageServer
GaussianBlur

Description:

Uses a Gaussian kernel to blur the current image.

Method Declaration
Copy Code
public ImageFactory GaussianBlur(GaussianLayer gaussianLayer)

GaussianLayer:

Size The size to set the Gaussian kernel to.
Sigma The Sigma value (standard deviation) for Gaussian function used to calculate the kernel.
Threshold The threshold value, which is added to each weighted sum of pixels.



Method Declaration
Copy Code
public ImageFactory GaussianBlur(int size)

Parameters:

size The size to set the Gaussian kernel to.

Assembly:

Devesprit.ImageProcessor

Example
Copy Code
new ImageFactory().Load(@"My-Image-Path").GaussianBlur(new GaussianLayer(10, 5, 10));

Original

 

Result