Hi,
I am using Kinect v2 driver for linux https://github.com/code-iai/iai_kinect2. I want to project 3D trajectories and bodies on the 2D image plane because this is the requirement for the tracking algo's I am using. Since I am using Kinect, I am confused about its intrinsics. In the above link it seems the guy who wrote it is calculating the 3D coordinates as follows:
X = (x-cx)*fx*d, Y = (y-cy)*fy*d, and Z = d
I am not sure why he is multiplying with fx and fy instead of dividing. Anyways will the same equation will work for me the other way for projection e.g
u = Y/(fy*d) +cy;
v = X/(fx*d) +cx;
where u and v are the rows and cols.
Any idea would be highly appreciated.
Looking forward for your response as soon as possible.
Regards,
Zahid