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 indicating the result of previous operations (If SUCCEEDED(hrPrev) equals false, no operation is executed.) | |
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 |
Returns a container with the coordinates of keypoints from the query Keypoints that exist in ipMatches (CTcVnContainer_Vector_TcVnPoint2_REAL) | |
ipTrainCoordinates |
Returns a container with the coordinates of keypoints from the training Keypoints that exist in ipMatches (CTcVnContainer_Vector_TcVnPoint2_REAL) |
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 |