本文介绍了NuiImageGetColorPixelCoordinatesFromDepthPixelAtResolution很慢!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我正在使用Kinect显示环境的彩色网格,但没有骨架跟踪。所以我使用的是NuiImageGetColorPixelCoordinatesFromDepthPixelAtResolution,因为我在Unity内部使用SDK,通过DllImportAttribute。但是我发现的
是如果我通过深度图像中的每个像素,如果我使用的是320x240,那么以这种方式获得对齐的颜色非常慢。任何想法如何优化该过程仍然得到对齐的颜色?在Kinect10.dll中是否有任何其他深度为
的颜色对齐方法。


提前致谢!



Kamen

解决方案

Hi,

I am using the Kinect to display a colored mesh of the environment, but without skeleton tracking. So I am using NuiImageGetColorPixelCoordinatesFromDepthPixelAtResolution, because I am using the SDK inside Unity, through DllImportAttribute. But what I found out is that getting the aligned color this way is really slow, if I am going through every pixel in the depth image, event if I am using 320x240. Any idea how to optimize that process and still get the aligned color? Is there any other method of depth to color alignment exposed in Kinect10.dll.

Thanks in advance!

Kamen

解决方案


这篇关于NuiImageGetColorPixelCoordinatesFromDepthPixelAtResolution很慢!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-24 04:15