←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
C++
public int[] Average { get; set; } 
Public Property Average As Integer() 
@property (nonatomic, strong, nullable) NSArray<NSNumber *> *average 
public int[] getAverage() 
public void setAverage(int[] value) 
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 20.0.2019.3.11
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ImageProcessing.Color Assembly