Image: Adjustments: Histequalize
Apply histogram equalization to image
imgHisteq cs:=yuv oimg:=mat(2);
Please refer to the page for additional option switches when accessing the x-function from script
Specifies which color space to equalize.
Specifies the source image to be manipulated. The default input is the active image.
Specifies the output image. By default, the output image is the same as the input image.
See the syntax here.
This function applies histogram equalization to the input image. We can use it to improve the dynamic range and the contrast of the input image.
In this example, we use the Histequalize function to boost the contrast of the input image:
The computation uses L_HistoEqualizeBitmap() function from LEADTOOLS Main API. Please refer to the LEADTOOLS Main API Help file, Version 14 and read the L_HistoEqualizeBitmap topic.
LEADTOOLS Main API Help file, Version 14
imgBrightness, imgHue, imgSaturation