Kinect raw depth to distance in meters

The correct answer is actually a comment on your question. The number given is actually a distance in millimetres. To get this number, you either need to use a skeleton joint and call DepthImageFrame’s MapFromSkeletonPoint or shift the raw short value right by DepthImageFrame.PlayerIndexBitmaskWidth. E.g. Skeleton using (var skeletonFrame= e.OpenSkeletonFrame()) using (var depthFrame = e.OpenDepthImageFrame()) … Read more