Class CLAHE
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Contrast Limited Adaptive Histogram Equalization
public sealed class CLAHE : Algorithm, IDisposable, ICvPtrHolder
- Inheritance
-
CLAHE
- Implements
- Inherited Members
Properties
ClipLimit
Gets or sets threshold for contrast limiting.
public double ClipLimit { get; set; }
Property Value
TilesGridSize
Gets or sets size of grid for histogram equalization. Input image will be divided into equally sized rectangular tiles.
public Size TilesGridSize { get; set; }
Property Value
Methods
Apply(InputArray, OutputArray)
Equalizes the histogram of a grayscale image using Contrast Limited Adaptive Histogram Equalization.
public void Apply(InputArray src, OutputArray dst)
Parameters
srcInputArraySource image of type CV_8UC1 or CV_16UC1.
dstOutputArrayDestination image.
CollectGarbage()
public void CollectGarbage()
Create(double, Size?)
Creates a predefined CLAHE object
public static CLAHE Create(double clipLimit = 40, Size? tileGridSize = null)
Parameters
Returns
DisposeManaged()
Releases managed resources
protected override void DisposeManaged()