F_VN_FuseImagesArray

F_VN_FuseImagesArray 1:

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

F_VN_FuseImagesArray 2: 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

HRESULT indicating the result of previous operations (If SUCCEEDED(hrPrev) equals false, no operation is executed.)

F_VN_FuseImagesArray 3: In/Outputs

Name

Type

Description

aSrcImageArray

TcVnArray10_ITcVnImage

Ten-element source image array (not all elements need to be filled, nValidImages specifies the actual amount of images)

F_VN_FuseImagesArray 4: Return value

HRESULT

Weiterführende Informationen

Die Funktion F_VN_FuseImageArray ist eine Abwandlung der Funktion F_VN_FuseImages und kann statt zwei Bildern bis zu zehn Bilder aneinanderfügen.

Beispiele

Verwandte Funktionen

Required License

TC3 Vision Base

System Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT V3.1. 4024.44 or later

PC or CX (x64) with PL50, e.g. Intel 4-core Atom CPU

Tc3_Vision