OpenCV for Unity  2.6.3
Enox Software / Please refer to OpenCV official document ( http://docs.opencv.org/4.10.0/index.html ) for the details of the argument of the method.
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
OpenCVForUnity.ImgprocModule.CLAHE Class Reference

Base class for Contrast Limited Adaptive Histogram Equalization. More...

Inheritance diagram for OpenCVForUnity.ImgprocModule.CLAHE:
OpenCVForUnity.CoreModule.Algorithm OpenCVForUnity.DisposableOpenCVObject OpenCVForUnity.DisposableObject

Public Member Functions

void apply (Mat src, Mat dst)
 Equalizes the histogram of a grayscale image using Contrast Limited Adaptive Histogram Equalization. More...
 
void setClipLimit (double clipLimit)
 Sets threshold for contrast limiting. More...
 
double getClipLimit ()
 
void setTilesGridSize (Size tileGridSize)
 Sets size of grid for histogram equalization. Input image will be divided into equally sized rectangular tiles. More...
 
Size getTilesGridSize ()
 
void collectGarbage ()
 
- Public Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm
IntPtr getNativeObjAddr ()
 
virtual void clear ()
 Clears the algorithm state. More...
 
virtual bool empty ()
 Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read. More...
 
void save (string filename)
 
virtual string getDefaultName ()
 
- Public Member Functions inherited from OpenCVForUnity.DisposableObject
void Dispose ()
 
void ThrowIfDisposed ()
 

Static Public Member Functions

static new CLAHE __fromPtr__ (IntPtr addr)
 
- Static Public Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm
static Algorithm __fromPtr__ (IntPtr addr)
 
- Static Public Member Functions inherited from OpenCVForUnity.DisposableObject
static IntPtr ThrowIfNullIntPtr (IntPtr ptr)
 

Protected Member Functions

override void Dispose (bool disposing)
 
- Protected Member Functions inherited from OpenCVForUnity.DisposableOpenCVObject
 DisposableOpenCVObject ()
 
 DisposableOpenCVObject (IntPtr ptr)
 
 DisposableOpenCVObject (bool isEnabledDispose)
 
 DisposableOpenCVObject (IntPtr ptr, bool isEnabledDispose)
 
- Protected Member Functions inherited from OpenCVForUnity.DisposableObject
 DisposableObject ()
 
 DisposableObject (bool isEnabledDispose)
 

Additional Inherited Members

- Properties inherited from OpenCVForUnity.DisposableObject
bool IsDisposed [get, protected set]
 
bool IsEnabledDispose [get, set]
 

Detailed Description

Base class for Contrast Limited Adaptive Histogram Equalization.

Member Function Documentation

◆ __fromPtr__()

static new CLAHE OpenCVForUnity.ImgprocModule.CLAHE.__fromPtr__ ( IntPtr  addr)
static

◆ apply()

void OpenCVForUnity.ImgprocModule.CLAHE.apply ( Mat  src,
Mat  dst 
)

Equalizes the histogram of a grayscale image using Contrast Limited Adaptive Histogram Equalization.

Parameters
srcSource image of type CV_8UC1 or CV_16UC1.
dstDestination image.

◆ collectGarbage()

void OpenCVForUnity.ImgprocModule.CLAHE.collectGarbage ( )

◆ Dispose()

override void OpenCVForUnity.ImgprocModule.CLAHE.Dispose ( bool  disposing)
protectedvirtual

◆ getClipLimit()

double OpenCVForUnity.ImgprocModule.CLAHE.getClipLimit ( )

◆ getTilesGridSize()

Size OpenCVForUnity.ImgprocModule.CLAHE.getTilesGridSize ( )

◆ setClipLimit()

void OpenCVForUnity.ImgprocModule.CLAHE.setClipLimit ( double  clipLimit)

Sets threshold for contrast limiting.

Parameters
clipLimitthreshold value.

◆ setTilesGridSize()

void OpenCVForUnity.ImgprocModule.CLAHE.setTilesGridSize ( Size  tileGridSize)

Sets size of grid for histogram equalization. Input image will be divided into equally sized rectangular tiles.

Parameters
tileGridSizedefines the number of tiles in row and column.

The documentation for this class was generated from the following file: