MasterGamma property (ILEADRasterProcess)

Visual Basic example

Visual C++ example

 

Syntax

short MasterGamma

Overview

Refer to Correcting Colors

Remarks

(Raster Pro and above toolkits) Gets or sets a value that represents the gamma value. This value is used to modify the midtones of the image. The value in this member is a 100 times the actual value. Therefore, if MasterGamma = 167 then the actual gamma value is 1.67. Likewise, if you want to use a gamma of 1.75, set this member to 175. The default value is DEFAULT_GAMMA, which is 100 (actual gamma value of 1.00) which does not change the gamma value of the image.

This property is updated by the AutoColorLevel method, if the lFlags parameter is AUTO_NOPROCESS.

Set this property before calling the ColorLevel method to have the ColorLevel method use this value.

See Also

Elements:

MasterMaxInput property, MasterMinInput property, MasterMinOutput property, MasterMaxOutput property, RedMinInput property, RedMaxInput property, RedMinOutput property, RedMaxOutput property, RedGamma property, GreenMinInput property, GreenMaxInput property, GreenMinOutput property, GreenMaxOutput property, GreenGamma property, BlueMinInput property, BlueMaxInput property, BlueMinOutput property, BlueMaxOutput property, BlueGamma property, ColorLevel method, AutoColorLevel method

Topics:

Raster Image Functions: Modifying Intensity Values