Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » OpenCV » Histogram Equalization » cvCLAHE

cvCLAHE


Module: OpenCV

Equalizes histogram of image using adaptive histogram equalization.

Name Type Range Description
inImage Image Input image
inClipLimit Double Contrast clipping limit
inTileGridSize Size Size of single tile
outImage Image Output image

Requirements

For input inImage only pixel formats are supported: 1⨯uint8, 1⨯uint16.

Read more about pixel formats in Image documentation.

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError Input image must have 1 channel in cvCLAHE.
DomainError Tile grid must not be empty in cvCLAHE.
DomainError Type of pixel of input image must be UINT16 or UINT8 in cvCLAHE.
DomainError Not supported inImage pixel format in AvsFilter_cvCLAHE.

Complexity Level

This filter is available on Basic Complexity Level.