F_VN_AddImagesWeighted
Weighted, element-wise addition of two images using saturation arithmetics.
Syntax
Definition:
FUNCTION F_VN_AddImagesWeighted : HRESULT
VAR_INPUT
ipSrcImage1 : ITcVnImage;
ipSrcImage2 : ITcVnImage;
ipDestImage : Reference To ITcVnImage;
fWeight1 : LREAL;
fWeight2 : LREAL;
fDelta : LREAL;
hrPrev : HRESULT;
END_VAR
Inputs
|
Name |
Type |
Description |
|---|---|---|
|
ipSrcImage1 |
First source image | |
|
ipSrcImage2 |
Second source image | |
|
ipDestImage |
Reference To ITcVnImage |
Destination image (An appropriate destination image will be created if required.) |
|
fWeight1 |
LREAL |
Weight factor applied to ipSrcImage1 |
|
fWeight2 |
LREAL |
Weight factor applied to ipSrcImage2 |
|
fDelta |
LREAL |
Value added to the weighted sum of both images |
|
hrPrev |
HRESULT indicating the result of previous operations (If SUCCEEDED(hrPrev) equals false, no operation is executed.) |
Required License
TC3 Vision Base
Return value