I am working on a Kinect project using the infrared view and depth view. In the infrared view, using CVBlob library, I am able to extract some 2D points of interest. I want
This code works for many positions of the trackers from the Kinect:
coordinates3D[0] = coordinates2D[0]; coordinates3D[1] = coordinates2D[1]; coordinates3D[2] = (USHORT*)(LockedRect.pBits) [(int)(coordinates2D[1] + 23) * Width + (int)coordinates2D[0]] >> 3;