F_VN_GetMatchCoordinates
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
Inputs
Name |
Type |
Description |
---|---|---|
ipQueryKeyPoints |
Container with query Keypoints (i.e. keypoints of a reference/template image) of type CTcVnContainer_Vector_TcVnKeyPoint | |
ipTrainKeyPoints |
Container with training Keypoints (i.e. keypoints of a source/input image) of type CTcVnContainer_Vector_TcVnKeyPoint | |
ipMatches |
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 indicating the result of previous operations (If SUCCEEDED(hrPrev) equals false, no operation is executed.) |
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 |