HistoEqualize method (ILEADRasterProcess)
short HistoEqualize (ILEADRaster *pRaster, ColorSpaceConstants Flags); | |
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 functionality is now obtained by passing GRAY_SPACE for Flags.
For the best results, set Flags to YUV_SPACE.
This method can process the whole image or a region of the image.
This method supports 12 and 16-bit grayscale images 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.
This method does not support signed data images. It returns the error code ERROR_SIGNED_DATA_NOT_SUPPORTED if a signed data image is passed to this method.
See Also
Elements: |
Intensity method, GammaCorrect method, Contrast method, HistoContrast method, StretchIntensity method |
Topics: |
|
|
|
|