LEADTOOLS Image Processing (Leadtools.ImageProcessing.Color assembly)

Gamma Property (ColorLevelCommandData)

Show in webframe







Gets or sets a value that represents the gamma value.
Syntax
public int Gamma {get; set;}
'Declaration
 
Public Property Gamma As Integer
'Usage
 
Dim instance As ColorLevelCommandData
Dim value As Integer
 
instance.Gamma = value
 
value = instance.Gamma
public int Gamma {get; set;}
@property (nonatomic, assign) unsigned int gamma;
public int getGamma()
public void setGamma(int value)
            
 
get_Gamma();
set_Gamma(value);
Object.defineProperty('Gamma');
public:
property int Gamma {
   int get();
   void set (    int value);
}

Property Value

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 uGamma = 167 then the actual gamma value is 1.67. Likewise, if you want to use a gamma of 1.75, set this property 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.
Example
Refer to ColorLevelCommand.
Requirements

Target Platforms

See Also

Reference

ColorLevelCommandData Class
ColorLevelCommandData Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.