LEADTOOLS Image Processing (Leadtools.ImageProcessing.Color assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
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. Supported in Silverlight, Windows Phone 7

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 (    array<int>^ value);
}

Property 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: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also