F_VN_TransformIntoDisplayableImage
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
Inputs
Name |
Type |
Description |
---|---|---|
ipSrcImage |
Reference To ITcVnImage |
Source image |
ipDestImage |
Reference To ITcVnDisplayableImage |
Returns the displayable image |
hrPrev |
HRESULT indicating the result of previous operations (If SUCCEEDED(hrPrev) equals false, no operation is executed.) |
Further information
For further details, see Displayable images.
Notice | |
Use with Ads Communicator object Note the case where the image to be transformed originates from a camera object whose Ads Communicator object is active! It may then be the case that the image is not internally released in the object and therefore cannot be transformed into a displayable image. In this case, use F_VN_CopyIntoDisplayableImage or F_VN_TransformIntoDisplayableImageExp with |
Related functions
Required License
TC3 Vision Base
System Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT V3.1.4024.59 or later | PC or CX (x64) with PL50, e.g. Intel 4-core Atom CPU | Tc3_Vision |