depthmap在左边有黑/空值,是否会影响NuiTransformDepthImageToSkeleton? [英] depthmap has black/null values on left edge, does it affect NuiTransformDepthImageToSkeleton?

查看:94
本文介绍了depthmap在左边有黑/空值,是否会影响NuiTransformDepthImageToSkeleton?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好。我注意到我的Kinect,在我的深度图中,在我的代码中,以及在Toolkit Kinect Explorer中,有几列空数据。就我而言,320x240深度图的前4列始终为0.

Hello. I have noticed with my Kinect, in my depthmaps, in my code, and in the Toolkit Kinect Explorer, that there are several columns of null data. In my case, the first 4 columns of a 320x240 depthmap are always 0.

是否有与此相关的数据移位?具体来说,数据的中心实际上不是160,而是162或164?

Is there any shift of data associated with this? Specifically, is the center of the data actually not at 160 but is instead at 162 or 164?

当我看到NuiTransformDepthImageToSkeleton()代码时,我看不出任何会考虑到数据的转变。我看不到更新的MapDepthPointToSkeletonPoint()的代码。

As I look at the NuiTransformDepthImageToSkeleton() code, I don't see anything that would take into account a shift of data. I can't see the code of the newer MapDepthPointToSkeletonPoint().

我问了这个问题,因为我做了一些映射和坐标设置对话,我注意到我的数据往往会关闭在X方向。我想知道这是否与这些空列有关。如果有办法,我可以补偿它们。

I asked this question because as I do some mapping and coordinate set conversations, I am noticing my data tends to be off in the X direction. And I'm wondering if this is related to these null columns. And if there is a way I can compensate for them.

- Dale

推荐答案

骨架位置直接从深度数据中导出,与您看到的形式完全相同。因此,不需要进行任何调整来补偿这个空深度数据区域。

The skeleton positions are derived directly from the depth data in exactly the form that you see it. So no adjustment should be necessary to compensate for this region of empty depth data.


这篇关于depthmap在左边有黑/空值,是否会影响NuiTransformDepthImageToSkeleton?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆