You are here: Start » AVL.NET » Function Reference » Image » Image Combinators » AVL.LerpImages_ByImage
Interpolates two images linearly pixel by pixel according to another image values.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void LerpImages_ByImage ( AvlNet.Image inImage1, AvlNet.Image inImage2, NullableRef<AvlNet.Region> inRoi, AvlNet.Image inLambdaImage, AvlNet.Image outImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage1 | AvlNet.Image | First input image. | |||
inImage2 | AvlNet.Image | Second input image. | |||
inRoi | AvlNet.NullableRef<AvlNet.Region> | Range of pixels to be processed. Default value: atl::NIL. | |||
inLambdaImage | AvlNet.Image | Values of interpolation between the input images where 0.0 value is equal to inImage1 and 1.0 to inImage2. | |||
outImage | AvlNet.Image | Output image. |
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.
Hardware acceleration settings may be manipulated with Settings class.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Image formats are not the same in LerpImages_ByImage. |
DomainError | Image sizes are not equal in LerpImages_ByImage. |
DomainError | Region exceeds an input image in LerpImages_ByImage. |
DomainError | Not supported inLambdaImage pixel format in LerpImages_ByImage. Supported formats: 1xReal. |