Available in the LEADTOOLS Imaging toolkit. |
HistoEqualize method (Main Control)
Visual
Basic example
Visual
C++ 5.0 example
Syntax short HistoEqualize (short iFlags);
Overview: Refer to Changing Brightness and Contrast.
Remarks
Linearizes the number of pixels in the bitmap, based on the specified color space. This can be used to bring out the detail in dark areas of an image. Previously, this method only equalized the number of pixels per gray level, using a gray level representation of the image. This method is now obtained by passing GRAY_SPACE for iFlags.
For the best results, set iFlags to YUV_SPACE.
This method can process the whole image or a region of the image.
This method supports 12 and 16-bit grayscale and 48 and 64-bit color images. Support for 12 and 16-bit grayscale images and 48 and 64-bit color images is available only in the Document/Medical toolkits.
See Also
Elements: Intensity method, GammaCorrect method, Contrast method, HistoContrast method, StretchIntensity method
Topics: Raster
Images: Modifying Intensity Values
Raster Images: Using Histograms
Raster Images: Where the Region Preempts the Bitmap