You are here: Start » AVL.NET » Invoke.AverageChannels_Weighted
Creates a monochromatic image from weighted averages of the input image channels.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void AverageChannels_Weighted ( Avl.Image inImage, Optional<Avl.Region> inRoi, int inWeight1, int inWeight2, int inWeight3, int inWeight4, Avl.Image outImage )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]()  | inImage | Avl.Image | Input image. | ||
![]()  | inRoi | Atl.Optional<Avl.Region> | Range of pixels to be processed. Default value: atl::NIL. | ||
![]()  | inWeight1 | int | Weight of the first channel. | ||
![]()  | inWeight2 | int | Weight of the second channel. | ||
![]()  | inWeight3 | int | Weight of the third channel. | ||
![]()  | inWeight4 | int | Weight of the fourth channel. | ||
![]()  | outImage | Avl.Image | Output image. | 


