This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi TI,
we have some problems about TDA4VM project, please help solve it, thanks!
We are currently debugging the perspective transformation function of LDC module in VPAC in TDA4VM,SDK version is 7.0
we also use the openvx interface of VxWarpPerspectiveNode function to verify the correctness of perspective transformation matrix, resulting in the perspective transformation matrix as follows:
mat[0][0] = 2.1290272602462177e+00;
mat[0][1] = -4.1308411668024979e-02;
mat[0][2] = -8.2681922957050295e-05;
mat[1][0] = -7.6434047757225043e+00;
mat[1][1] = -4.6667823465474383e+00;
mat[1][2] = -1.1925750888519777e-02;
mat[2][0] = 1.7556816975919139e+03;
mat[2][1] = 1.5900504121366725e+03;
mat[2][2] = 3.8293676632749518e+00;
The original drawing we used is as follows:
We do this by using the vxWarpPerspectiveNode function gets the following result, which gives us what we actually want:
We place the original matrix inTivxVpacLdcNode too, the output results are as follows:
It can see, tivxVpacLdcNode seems to be doing only half the perspective transformation,And only the left and upper half are transformed.My registration process for LDC is as follows
The picture above was uploaded incorrectly,We do this by using the vxWarpPerspectiveNode function gets the following result, which gives us what we actually want:
Hi Huicheng,
We missed this thread previously and hopefully you have solved your problems or seen similar issues being discussed on E2E.
The difference is caused by LDC H/W limitation and it does not wrap around to the other side of the image frame.
Best,
Gang