Devesprit.ImageProcessor & Devesprit.ImageServer
GaussianSharpen

Description:

Uses a Gaussian kernel to sharpen the current image.

Method Declaration
Copy Code
public ImageFactory GaussianSharpen(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 GaussianSharpen(int size)

Parameters:

size The size to set the Gaussian kernel to.

Assembly:

Devesprit.ImageProcessor

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

Original

 

Result