Table of Contents

Class GaussianSharpenExtensions

Namespace
SixLabors.ImageSharp.Processing
Assembly
SixLabors.ImageSharp.dll

Defines Gaussian sharpening extensions to apply on an Image using Mutate/Clone.

public static class GaussianSharpenExtensions
Inheritance
GaussianSharpenExtensions
Inherited Members

Methods

GaussianSharpen(IImageProcessingContext)

Applies a Gaussian sharpening filter to the image.

public static IImageProcessingContext GaussianSharpen(this IImageProcessingContext source)

Parameters

source IImageProcessingContext

The current image processing context.

Returns

IImageProcessingContext

The IImageProcessingContext.

GaussianSharpen(IImageProcessingContext, float)

Applies a Gaussian sharpening filter to the image.

public static IImageProcessingContext GaussianSharpen(this IImageProcessingContext source, float sigma)

Parameters

source IImageProcessingContext

The current image processing context.

sigma float

The 'sigma' value representing the weight of the blur.

Returns

IImageProcessingContext

The IImageProcessingContext.

GaussianSharpen(IImageProcessingContext, float, Rectangle)

Applies a Gaussian sharpening filter to the image.

public static IImageProcessingContext GaussianSharpen(this IImageProcessingContext source, float sigma, Rectangle rectangle)

Parameters

source IImageProcessingContext

The current image processing context.

sigma float

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

IImageProcessingContext

The IImageProcessingContext.

GaussianSharpen(IImageProcessingContext, float, Rectangle, BorderWrappingMode, BorderWrappingMode)

Applies a Gaussian sharpening filter to the image.

public static IImageProcessingContext GaussianSharpen(this IImageProcessingContext source, float sigma, Rectangle rectangle, BorderWrappingMode borderWrapModeX, BorderWrappingMode borderWrapModeY)

Parameters

source IImageProcessingContext

The current image processing context.

sigma float

The 'sigma' value representing the weight of the blur.

rectangle Rectangle

The Rectangle structure that specifies the portion of the image object to alter.

borderWrapModeX BorderWrappingMode

The BorderWrappingMode to use when mapping the pixels outside of the border, in X direction.

borderWrapModeY BorderWrappingMode

The BorderWrappingMode to use when mapping the pixels outside of the border, in Y direction.

Returns

IImageProcessingContext

The IImageProcessingContext.