Table of Contents

Class CudaClahe

Namespace
Emgu.CV.Cuda
Assembly
Emgu.CV.dll

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 double

Threshold for contrast limiting. Use 40.0 for default

tileGridSize Size

Size 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 IInputArray

Source image

dst IOutputArray

Destination image

stream Stream

Use 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()