How to align kinect's depth image with color image
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: The image produced by the color and depth sensor on the Kinect are slightly out of alignment. How can I transform them to make them line up? 回答1: The key to this is the call to 'Runtime.NuiCamera.GetColorPixelCoordinatesFromDepthPixel' Here is an extension method for the Runtime class. It returns a WriteableBitmap object. This WriteableBitmap is automatically updated as new frames come in. So the usage of it is really simple: kinect = new Runtime(); kinect.Initialize(RuntimeOptions.UseColor | RuntimeOptions.UseSkeletalTracking |