ColorIntensityBalance method (ILEADRasterProcess)

Visual Basic example

Visual C++ example

 

Syntax

short ColorIntensityBalance (ILEADRaster *pRaster, VARIANT_BOOL bLuminance);

Overview

Refer to Correcting Colors

Remarks

(Raster Pro and above toolkits.) Changes the distribution of the red, green, or blue channels to make the colors in an image more accurate or more different.

Each color component is treated independently. The color range for each component is split into Shadows, Midtones and Highlights based on the intensity. The values in each range are adjusted differently using the Shadow, Midtone and Highlight properties.

The preserve luminance option aims to minimize the luminance change in the image.

This method supports only RGB images. It does not support grayscale images.

Support for 48-bit and 64-bit colored images are 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:

MidTone property, HighLight property Shadow property, Red property, Green property, Blue property, ConvertToColoredGray, GrayScale method, GrayScaleExt method, Sharpen method, Posterize method, Mosaic method, Emboss method, Median method, AddNoise method, IntensityDetect method, SpatialFilter method, BinaryFilter method, MaxFilter method, MinFilter method, Oilify method, Solarize method, WindowLevel method

Topics:

Raster Images: Modifying Intensity Values