AdaptiveContrast method (ILEADRasterProcess)

Visual Basic example

Visual C++ example

 

Syntax

short AdaptiveContrast (ILEADRaster *pRaster, long lDim, long lAmount, AdaptiveContrastConstants Flags);

Overview

Refer to Changing Brightness and Contrast

Remarks

(Medical only.) Performs adaptive contrast enhancement (ACE) to regions that are originally low in contrast.

Adaptive contrast enhancement (ACE) adjusts bitmap contrast by giving more contrast to areas which are originally low in contrast. This is different from histogram-based techniques which are based on all bitmap pixels (the histogram itself).

Local histogram equalization is another technique that can be used to reveal detail of areas, since it depends on area pixels only. Use the LocalHistoEqualize method to perform a local histogram equalization.

This method supports 12 and 16-bit grayscale and 48 and 64-bit color images. Support for 12 and 16-bit grayscale 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:

HistoEqualize method, Contrast method, Intensity, GammaCorrect, HistoContrast, StretchIntensity, Invert, Hue, Saturation, Fill, GetHistogram, WindowLevel, LocalHistoEqualize, HueSaturationIntensity Method

Topics:

Raster Images: Modifying Intensity Values