关于Kinect SDK 2.0的问题 [英] question about Kinect SDK 2.0

查看:74
本文介绍了关于Kinect SDK 2.0的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Kinect 2和Kinect SDK 2.0。

Hi, I'm using Kinect 2 and Kinect SDK 2.0.

我有几个关于坐标映射的问题:

I have couple of questions about coordinate mapping:

1。如何将相机空间点(三维坐标系中的点)传递到深度空间的深度空间?

1. How to transfer a camera space point (point in 3d coordinate system) to depth space with depth value?

当前  MapCameraPointToDepthSpace方法只能返回深度空间坐标。

Current MapCameraPointToDepthSpace method can only return the depth space coordinate.

但没有深度值,这种方法没用。

But without depth value, this method is useless.

有没有人知道如何获得深度值?

Did anyone know how to get the depth value?

2。如何获得内置的彩色相机?

2. How to get the color camera intrinsic?

只有一个GetDepthCameraIntrinsics方法才能获得深度相机内在。

There is only a GetDepthCameraIntrinsics methos to get depth camera intrinsic.

但彩色相机怎么样?

3。如何使用深度相机内在?

3. How to use the depth camera intrinsic?

似乎Kinect 2考虑了径向失真。

Seems that the Kinect 2 consider the radial distortion.

但是如何使用这些内在来进行转换在深度像素和3d点之间?

But how to use these intrinsic to do the transformation between depth pixel and 3d point?

有没有示例代码可以做到这一点?

Is there any example code can do this?




推荐答案

您已经拥有相机空间点的深度值。 Z永远不会仅改变X / Y,因为它在平面上变平。没有彩色相机内在表。 CoordinateMapper提供颜色和深度之间的映射,您可以将
用于查找表。

You already have the depth value from the camera space point. Z never changes only the X/Y because it is getting flattens onto a plane. There is no color camera intrinsics table. The CoordinateMapper provides mapping between color and depth that you can use for a lookup table.

看看这个线程使用深度/相机表:
https ://social.msdn.microsoft.com/Forums/en-US/f29a202a-fa27-4cfc-9079-5addad0906e0/how-can-i-map-a-depth-frame-to-camera-space-without-having -a-kinect-on-hand?forum = kinectv2sdk

Have a look at this thread for using the depth/camera table: https://social.msdn.microsoft.com/Forums/en-US/f29a202a-fa27-4cfc-9079-5addad0906e0/how-can-i-map-a-depth-frame-to-camera-space-without-having-a-kinect-on-hand?forum=kinectv2sdk


这篇关于关于Kinect SDK 2.0的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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