public class CLAHE extends Algorithm
Modifier | Constructor and Description |
---|---|
protected |
CLAHE(long addr) |
Modifier and Type | Method and Description |
---|---|
static CLAHE |
__fromPtr__(long addr) |
void |
apply(Mat src,
Mat dst)
Equalizes the histogram of a grayscale image using Contrast Limited Adaptive Histogram Equalization.
|
void |
collectGarbage() |
protected void |
finalize() |
double |
getClipLimit() |
Size |
getTilesGridSize() |
void |
setClipLimit(double clipLimit)
Sets threshold for contrast limiting.
|
void |
setTilesGridSize(Size tileGridSize)
Sets size of grid for histogram equalization.
|
clear, empty, getDefaultName, getNativeObjAddr, save
public static CLAHE __fromPtr__(long addr)
public Size getTilesGridSize()
public double getClipLimit()
public void apply(Mat src, Mat dst)
src
- Source image of type CV_8UC1 or CV_16UC1.dst
- Destination image.public void collectGarbage()
public void setClipLimit(double clipLimit)
clipLimit
- threshold value.public void setTilesGridSize(Size tileGridSize)
tileGridSize
- defines the number of tiles in row and column.Generated on Wed Oct 9 2019 23:24:43 UTC / OpenCV 4.1.2