LEADTOOLS Image Processing (Leadtools.ImageProcessing.Color assembly)
LEAD Technologies, Inc

Average Property






Gets or sets an array that contains the new average pixel value for the entire image. .NET support WinRT support Silverlight support
Syntax
public int[] Average {get; set;}
'Declaration
 
Public Property Average As Integer()
'Usage
 
Dim instance As LightControlCommand
Dim value() As Integer
 
instance.Average = value
 
value = instance.Average
public int[] Average {get; set;}
 get_Average();
set_Average(value);
public:
property array<int>^ Average {
   array<int>^ get();
   void set (    array<int>^ value);
}

Property Value

An array that contains the new average pixel value for the entire image. The size of the array equals one, if Type is LightControlCommandType.Yuv or LightControlCommandType.Gray, or three, if Type is LightControlCommandType.Rgb. If Type is LightControlCommandType.Rgb the first element corresponds to the new blue average value, the second element to the green, and the last element to the red.
Example
Refer to LightControlCommand()
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

LightControlCommand Class
LightControlCommand Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.