Saturday, May 31, 2014
Kinect depth projection to real world coordinates
FovH = 1.0144686707507438 (rad) // horizontal field of view FovV = 0.78980943449644714 (rad) // vertical field of view From there you can find the real world coordinates from the depth cloud like so: // X_proj = X pixel number, Y_proj = Y pixel number // Xres = X resolution (640 for Kinect and Xtion, optional 320 for Xtion // Yres = Y resolution (480 for Kinect and Xtion, optional 240 for Xtion X_rw = (X_proj/Xres-.5) * Z * XtoZ Y_rw = (0.5-Y_proj/Yres) * Z * YtoZ, Z_rw = Z where XtoZ = tan(FovH/2)*2, and YtoZ = tan(FovV/2)*2, and Z is the value given by the depth map at each pixel.
Wednesday, May 28, 2014
Monday, May 26, 2014
Wednesday, May 21, 2014
Thursday, May 15, 2014
Wednesday, May 14, 2014
Thursday, May 1, 2014
Subscribe to:
Posts (Atom)