F_VN_FuseImagesArray
Fuse up to 10 images vertically (intended for line scan cameras).
Syntax
Definition:
FUNCTION F_VN_FuseImagesArray : HRESULT
VAR_IN_OUT
aSrcImageArray : TcVnArray10_ITcVnImage;
END_VAR
VAR_INPUT
nValidImages : UDINT;
ipDestImage : Reference To ITcVnImage;
nFirstLine : UDINT;
nNumLines : UDINT;
hrPrev : HRESULT;
END_VAR
Inputs
Name |
Type |
Description |
---|---|---|
nValidImages |
UDINT |
Number of valid images in aSrcImageArray |
ipDestImage |
Reference To ITcVnImage |
Destination image |
nFirstLine |
UDINT |
Line index in ipSrcImage1, which is the first line in ipDestImage |
nNumLines |
UDINT |
The number of lines that should be copied to ipDestImage, starting with nFirstLine in aSrcImageArray[0]. Once the last line of aSrcImageArray[0] was copied, the remaining lines are copied from aSrcImageArray[1] (starting at line index 0) and so on. |
hrPrev |
HRESULT indicating the result of previous operations (If SUCCEEDED(hrPrev) equals false, no operation is executed.) |
In/Outputs
Name |
Type |
Description |
---|---|---|
aSrcImageArray |
Ten-element source image array (not all elements need to be filled, nValidImages specifies the actual amount of images) |
Further information
The function F_VN_FuseImageArray
is a modified version of the function F_VN_FuseImages and can fuse up to 10 images instead of two images.
Samples
Related functions
- F_VN_FuseImages for fusing two images
- F_VN_FuseImagesArray for fusing up to 10 images
Required License
TC3 Vision Base
System Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT V3.1.4024.54 or later | PC or CX (x64) with PL50, e.g. Intel 4-core Atom CPU | Tc3_Vision |