F_VN_GetMatchCoordinates

F_VN_GetMatchCoordinates 1:

Return the coordinates of keypoints that match each other.

Syntax

Definition:

FUNCTION F_VN_GetMatchCoordinates : HRESULT
VAR_INPUT
    ipQueryKeyPoints   : ITcVnContainer;
    ipTrainKeyPoints   : ITcVnContainer;
    ipMatches          : ITcVnContainer;
    ipQueryCoordinates : Reference To ITcVnContainer;
    ipTrainCoordinates : Reference To ITcVnContainer;
    hrPrev             : HRESULT;
END_VAR

F_VN_GetMatchCoordinates 2: Inputs

Name

Type

Description

ipQueryKeyPoints

ITcVnContainer

Container with query Keypoints (i.e. keypoints of a reference/template image) of type CTcVnContainer_Vector_TcVnKeyPoint

ipTrainKeyPoints

ITcVnContainer

Container with training Keypoints (i.e. keypoints of a source/input image) of type CTcVnContainer_Vector_TcVnKeyPoint

ipMatches

ITcVnContainer

Container with matches between query and train Keypoints (CTcVnContainer_Vector_TcVnDMatch).

ipQueryCoordinates

Reference To ITcVnContainer

Returns a container with the coordinates of keypoints from the query Keypoints that exist in ipMatches (CTcVnContainer_Vector_TcVnPoint2_REAL)

ipTrainCoordinates

Reference To ITcVnContainer

Returns a container with the coordinates of keypoints from the training Keypoints that exist in ipMatches (CTcVnContainer_Vector_TcVnPoint2_REAL)

hrPrev

HRESULT

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

F_VN_GetMatchCoordinates 3: Return value

HRESULT

Required License

TC3 Vision Matching

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