Leadtools.ImageProcessing.Color Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
UpperAverage Property
See Also 



An array that contains the new average pixel value for those pixels with values between the average pixel value for the entire image and the highest pixel value in the image.

Syntax

Visual Basic (Declaration) 
Public Property UpperAverage As Integer()
Visual Basic (Usage)Copy Code
Dim instance As LightControlCommand
Dim value() As Integer
 
instance.UpperAverage = value
 
value = instance.UpperAverage
C# 
public int[] UpperAverage {get; set;}
C++/CLI 
public:
property array<int>^ UpperAverage {
   array<int>^ get();
   void set (intarray<value>^ value);
}

Return Value

An array contain the new average pixel value for those pixels with values between the average pixel value for the entire image and the highest pixel value in the image. The size of the array equals either one if Type is LightControlCommandType.Yuv or LightControlCommandType.Gray or three if Type is LightControlCommandType.Rgb where the first element corresponds to the new blue upper side average value, the second element to the green, and the last element to the red.

Example

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also