@Namespace(value="cv") @Properties(inherit=opencv_imgproc.class) public class CLAHE extends Algorithm
\addtogroup imgproc_hist \{
/** \brief Base class for Contrast Limited Adaptive Histogram Equalization.
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
CLAHE(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
apply(GpuMat src,
GpuMat dst) |
void |
apply(Mat src,
Mat dst)
\brief Equalizes the histogram of a grayscale image using Contrast Limited Adaptive Histogram Equalization.
|
void |
apply(UMat src,
UMat dst) |
void |
collectGarbage() |
double |
getClipLimit()
Returns threshold value for contrast limiting.
|
Size |
getTilesGridSize()
\brief Returns Size defines the number of tiles in row and column.
|
void |
setClipLimit(double clipLimit)
\brief Sets threshold for contrast limiting.
|
void |
setTilesGridSize(Size tileGridSize)
\brief Sets size of grid for histogram equalization.
|
clear, empty, getDefaultName, position, read, save, save, write, write, writeaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic CLAHE(Pointer p)
Pointer.Pointer(Pointer).public void apply(@ByVal Mat src, @ByVal Mat dst)
src - Source image of type CV_8UC1 or CV_16UC1.dst - Destination image.public void setClipLimit(double clipLimit)
clipLimit - threshold value.public double getClipLimit()
public void setTilesGridSize(@ByVal Size tileGridSize)
tileGridSize - defines the number of tiles in row and column.@ByVal public Size getTilesGridSize()
public void collectGarbage()
Copyright © 2020. All rights reserved.