←Select platform

Average Property

Summary
Gets or sets an array that contains the new average pixel value for the entire image.
Syntax
C#
VB
Objective-C
C++
Java
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 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ImageProcessing.Color Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.