LEADTOOLS Image Processing (Leadtools.ImageProcessing.Color assembly)

Lightness Property

Show in webframe







Gets or sets a "percentage" value that indicates whether the pixels that are replaced are lightened or darkened.
Syntax
public int Lightness {get; set;}
'Declaration
 
Public Property Lightness As Integer
'Usage
 
Dim instance As RemoveRedEyeCommand
Dim value As Integer
 
instance.Lightness = value
 
value = instance.Lightness
public int Lightness {get; set;}

            

            
 
get_Lightness();
set_Lightness(value);
Object.defineProperty('Lightness');
public:
property int Lightness {
   int get();
   void set (    int value);
}

Property Value

"Percentage" value that indicates whether the pixels that are replaced are lightened or darkened. If this value is greater than 100, the replaced pixels will be lightened. If this value is less than 100, the replaced pixels will be darkened. This method preserves the lightness of the original pixels and substitutes the red color with the new color.
Example
Refer to RemoveRedEyeCommand.
Requirements

Target Platforms

See Also

Reference

RemoveRedEyeCommand Class
RemoveRedEyeCommand Members

 

 


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