Class GaussianSharpenExtensions
Defines Gaussian sharpening extensions to apply on an Image using Mutate/Clone.
Inherited Members
Namespace: SixLabors.ImageSharp.Processing
Assembly: SixLabors.ImageSharp.dll
Syntax
public static class GaussianSharpenExtensions
Methods
| Improve this Doc View SourceGaussianSharpen(IImageProcessingContext)
Applies a Gaussian sharpening filter to the image.
Declaration
public static IImageProcessingContext GaussianSharpen(this IImageProcessingContext source)
Parameters
Type | Name | Description |
---|---|---|
IImageProcessingContext | source | The image this method extends. |
Returns
Type | Description |
---|---|
IImageProcessingContext | The IImageProcessingContext to allow chaining of operations. |
GaussianSharpen(IImageProcessingContext, Single)
Applies a Gaussian sharpening filter to the image.
Declaration
public static IImageProcessingContext GaussianSharpen(this IImageProcessingContext source, float sigma)
Parameters
Type | Name | Description |
---|---|---|
IImageProcessingContext | source | The image this method extends. |
Single | sigma | The 'sigma' value representing the weight of the blur. |
Returns
Type | Description |
---|---|
IImageProcessingContext | The IImageProcessingContext to allow chaining of operations. |
GaussianSharpen(IImageProcessingContext, Single, Rectangle)
Applies a Gaussian sharpening filter to the image.
Declaration
public static IImageProcessingContext GaussianSharpen(this IImageProcessingContext source, float sigma, Rectangle rectangle)
Parameters
Type | Name | Description |
---|---|---|
IImageProcessingContext | source | The image this method extends. |
Single | sigma | The 'sigma' value representing the weight of the blur. |
Rectangle | rectangle | The Rectangle structure that specifies the portion of the image object to alter. |
Returns
Type | Description |
---|---|
IImageProcessingContext | The IImageProcessingContext to allow chaining of operations. |