Class CudaClahe
Contrast Limited Adaptive Histogram Equalization
public class CudaClahe : SharedPtrObject, IDisposable
- Inheritance
-
CudaClahe
- Implements
- Inherited Members
Constructors
CudaClahe(double, Size)
Create the Contrast Limited Adaptive Histogram Equalization
public CudaClahe(double clipLimit, Size tileGridSize)
Parameters
clipLimit
doubleThreshold for contrast limiting. Use 40.0 for default
tileGridSize
SizeSize of grid for histogram equalization. Input image will be divided into equally sized rectangular tiles. This parameter defines the number of tiles in row and column. Use (8, 8) for default
Methods
Apply(IInputArray, IOutputArray, Stream)
Equalizes the histogram of a grayscale image using Contrast Limited Adaptive Histogram Equalization.
public void Apply(IInputArray source, IOutputArray dst, Stream stream = null)
Parameters
source
IInputArraySource image
dst
IOutputArrayDestination image
stream
StreamUse a Stream to call the function asynchronously (non-blocking) or null to call the function synchronously (blocking).
DisposeObject()
Release all the unmanaged memory associated with this object
protected override void DisposeObject()