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
| Edit this page 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 current image processing context. |
Returns
Type | Description |
---|---|
IImageProcessingContext |
GaussianSharpen(IImageProcessingContext, float)
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 current image processing context. |
float | sigma | The 'sigma' value representing the weight of the blur. |
Returns
Type | Description |
---|---|
IImageProcessingContext |
GaussianSharpen(IImageProcessingContext, float, 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 current image processing context. |
float | 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 |
GaussianSharpen(IImageProcessingContext, float, Rectangle, BorderWrappingMode, BorderWrappingMode)
Applies a Gaussian sharpening filter to the image.
Declaration
public static IImageProcessingContext GaussianSharpen(this IImageProcessingContext source, float sigma, Rectangle rectangle, BorderWrappingMode borderWrapModeX, BorderWrappingMode borderWrapModeY)
Parameters
Type | Name | Description |
---|---|---|
IImageProcessingContext | source | The current image processing context. |
float | 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. |
BorderWrappingMode | borderWrapModeX | The BorderWrappingMode to use when mapping the pixels outside of the border, in X direction. |
BorderWrappingMode | borderWrapModeY | The BorderWrappingMode to use when mapping the pixels outside of the border, in Y direction. |
Returns
Type | Description |
---|---|
IImageProcessingContext |