←Select platform

Average Property

Summary

Gets or sets an array that contains the new average pixel value for the entire image.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public int[] Average { get; set; } 
Public Property Average As Integer() 
public int[] Average {get; set;} 
@property (nonatomic, strong, nullable) NSArray<NSNumber *> *average 
public int[] getAverage() 
public void setAverage(int[] value) 
             
 <br/>get_Average();<br/>set_Average(value);<br/>Object.defineProperty('Average');  
public: 
property array<int>^ Average { 
   array<int>^ get(); 
   void set (    array<int>^ ); 
} 

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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ImageProcessing.Color Assembly