How to get the position (x,y) from a Kinect depth array?
问题 While working with the kinect I found out, that the bitmap and its depth information are unreliable and for some reason much more disturbed than the data from the actual byte array. I realised this when I tried get the min and max by accessing the bitmap like this for (var y = 0; y < height; y++) { var heightOffset = y * width; for (var x = 0; x < width; x++) { var index = ((width - x - 1) + heightOffset) * 4; var distance = GetDistance(depth[depthIndex], depth[depthIndex + 1]); But on the