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
| Improve this Doc 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 image this method extends. |
Returns
Type | Description |
---|---|
IImageProcessingContext | The IImageProcessingContext to allow chaining of operations. |
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 image this method extends. |
HistogramEqualizationOptions | options | The histogram equalization options to use. |
Returns
Type | Description |
---|---|
IImageProcessingContext | The IImageProcessingContext to allow chaining of operations. |