F_VN_TransformIntoDisplayableImage

F_VN_TransformIntoDisplayableImage 1:

Transform an image into a displayable image. The source image will be released and zeroed while existing destination images will be released and overwritten with the function result. The source image must not be used anywhere else and the transformation is very fast. If you want to use ipSrcImage after this function call, use F_VN_CopyIntoDisplayableImage instead.

Syntax

Definition:

FUNCTION F_VN_TransformIntoDisplayableImage : HRESULT
VAR_INPUT
    ipSrcImage  : Reference To ITcVnImage;
    ipDestImage : Reference To ITcVnDisplayableImage;
    hrPrev      : HRESULT;
END_VAR

F_VN_TransformIntoDisplayableImage 2: Inputs

Name

Type

Description

ipSrcImage

Reference To ITcVnImage

Source image

ipDestImage

Reference To ITcVnDisplayableImage

Returns the displayable image

hrPrev

HRESULT

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

F_VN_TransformIntoDisplayableImage 3: Return value

HRESULT

Weiterführende Informationen

Für weitere Informationen siehe Anzeigbare Bilder.

Hinweis

Verwendung mit Ads Communicator Objekt

Beachten Sie den Fall, wenn das zu transformierende Bild aus einem Kameraobjekt stammt, dessen Ads Communicator Objekt aktiv ist! Dann ist es möglich, dass das Bild intern in dem Objekt noch nicht freigegeben ist und daher nicht in ein anzeigbares Bild transformiert werden kann. Nutzen Sie in dem Fall F_VN_CopyIntoDisplayableImage oder F_VN_TransformIntoDisplayableImageExp mit bAllowDeepCopy := TRUE.

Verwandte Funktionen

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