GetMatchCoordinates

Return the coordinates of keypoints that match each other.

Syntax

Definition:

HRESULT GetMatchCoordinates(
    HRESULT          hrPrev,
    ITcVnContainer*  ipQueryKeyPoints,
    ITcVnContainer*  ipTrainKeyPoints,
    ITcVnContainer*  ipMatches,
    ITcVnContainer*& ipQueryCoordinates,
    ITcVnContainer*& ipTrainCoordinates
)

Parameters

Name

Type

Description

hrPrev

HRESULT

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

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

ITcVnContainer*&

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

ipTrainCoordinates

ITcVnContainer*&

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

GetMatchCoordinates 1: Return value

HRESULT

Required License

TC3 Vision Matching

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