Class HistogramEqualizationExtensions
Defines extension that allow the adjustment of the contrast of an image via its histogram.
Inherited Members
Namespace: SixLabors.ImageSharp.Processing
Assembly: SixLabors.ImageSharp.dll
Syntax
public static class HistogramEqualizationExtensions
Methods
| Edit this page View SourceHistogramEqualization(IImageProcessingContext)
Equalizes the histogram of an image to increases the contrast.
Declaration
public static IImageProcessingContext HistogramEqualization(this IImageProcessingContext source)
Parameters
Type | Name | Description |
---|---|---|
IImageProcessingContext | source | The current image processing context. |
Returns
Type | Description |
---|---|
IImageProcessingContext |
HistogramEqualization(IImageProcessingContext, HistogramEqualizationOptions)
Equalizes the histogram of an image to increases the contrast.
Declaration
public static IImageProcessingContext HistogramEqualization(this IImageProcessingContext source, HistogramEqualizationOptions options)
Parameters
Type | Name | Description |
---|---|---|
IImageProcessingContext | source | The current image processing context. |
HistogramEqualizationOptions | options | The histogram equalization options to use. |
Returns
Type | Description |
---|---|
IImageProcessingContext |