LightUpperAvr property (ILEADRasterProcess)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short LightUpperAvr (short iIndex);

Overview

Refer to Changing Brightness and Contrast

Remarks

Gets or sets a new average pixel value at the specified index for those pixels with values between 0 and the average pixel value for the entire bitmap. The size of the array equals one, if lFlag in the LightControl method is set to YUV_SPACE or GRAY_SPACE, or three, if lFlag is RGB_SPACE. If lFlag is RGB_SPACE the first element corresponds to the new blue lower average value, the second element to the green, and the last element to the red.

See Also

Elements:

LightControl method, LightUpperAvr property, LightAvr property

Topics:

Raster Image Functions: Modifying Intensity Values