You are here: Start » FIL.NET » Invoke.AverageChannels_Weighted
Creates a monochromatic image from weighted averages of the input image channels.
Namespace: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static void AverageChannels_Weighted ( Fil.Image inImage, Optional<Fil.Region> inRoi, int inWeight1, int inWeight2, int inWeight3, int inWeight4, Fil.Image outImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | Fil.Image | Input image. | ||
![]() | inRoi | Ftl.Optional<Fil.Region> | Range of pixels to be processed. Default value: ftl::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 | Fil.Image | Output image. |