F_VN_GetAffineTransformation2D
Estimate the 2D affine transformation between two planar point sets using RANSAC algorithm.
Syntax
Definition:
FUNCTION F_VN_GetAffineTransformation2D : HRESULT
VAR_INPUT
ipSrcPoints : ITcVnContainer;
ipDestPoints : ITcVnContainer;
END_VAR
VAR_IN_OUT
aAffineTransform : TcVnMatrix2x3_LREAL;
END_VAR
VAR_INPUT
hrPrev : HRESULT;
END_VAR
Inputs
Name |
Type |
Description |
---|---|---|
ipSrcPoints |
Container with at least 3 source points (ContainerType_Vector_TcVnPoint2_REAL) | |
ipDestPoints |
Container with destination points (same number as ipSrcPoints, ContainerType_Vector_TcVnPoint2_REAL) | |
hrPrev |
HRESULT indicating the result of previous operations (If SUCCEEDED(hrPrev) equals false, no operation is executed.) |
In/Outputs
Name |
Type |
Description |
---|---|---|
aAffineTransform |
Returns the affine transformation matrix, which transforms the source points to the destination points |
Required License
TC3 Vision Base