ReinterpretUnsupportedImage

Reinterpret the data of an unsupported image using additional information. If successful, the image becomes supported with the pixel format flags bSigned and bFloat, the pixel element size nElementSize and the number of color channels nChannels. This information is determined based on the specified pixel element type ePixelType.

Syntax

Definition:

HRESULT ReinterpretUnsupportedImage(
    HRESULT          hrPrev,
    ITcVnImage*      ipImage,
    ETcVnElementType ePixelType
)

Parameters

Name

Type

Description

hrPrev

HRESULT

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

ipImage

ITcVnImage*

Image to be reinterpreted

ePixelType

ETcVnElementType

Pixel element type to be used for reinterpreting the image data

 Return value

HRESULT

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 min. PL50, e.g. Intel 4-core Atom CPU

Tc3_Vision