我怎样才能获得每个像素的3D位置,如果我想保存它以进行离线分析,我应该保存哪种格式文件? [英] how can i get every pixel 3D-position, and if i want to save it for offline-analysis, what format file should i save?

查看:92
本文介绍了我怎样才能获得每个像素的3D位置,如果我想保存它以进行离线分析,我应该保存哪种格式文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

   就像标题一样,kinect是否有像openni中的ConvertRealWorldToProjective这样的功能?

    Just as title, does the kinect have any funciton like ConvertRealWorldToProjective in openni?

推荐答案

我不熟悉openNI方法的功能,但是你呢?要求世界坐标?我们将坐标映射器从屏幕空间点映射到相机/世界空间/骨架坐标系中作为完整的框架或点。

I am not familiar of what the openNI method does, but are you asking for World Coordinate? We have the coordinate mapper that maps from screen space points into camera/world space/skeleton coordinate system as a complete frame or point.

INuiCoordinateMapper方法

http://msdn.microsoft.com/en-us/library/nuisensor.inuicoordinatemapper_methods.aspx

INuiCoordinateMapper Methods
http://msdn.microsoft.com/en-us/library/nuisensor.inuicoordinatemapper_methods.aspx

CoordinateMapper方法

http://msdn.microsoft.com/en-us/library/microsoft.kinect.coordinatemapper_methods.aspx

CoordinateMapper Methods
http://msdn.microsoft.com/en-us/library/microsoft.kinect.coordinatemapper_methods.aspx

MapDepthFrameToSkeletonFrame / MapDepthPointToSkeletonPoint

除了用于保存文件的API之外,您将如何保存。您可以在论坛中找到几个代码示例,讨论保存适合您从API获得的数据的数据。

How you would save that would be up to you whatever API's you are using to save the file. There are several code example you can find in the forum that discuss saving data that should fit the data you get from the API.


这篇关于我怎样才能获得每个像素的3D位置,如果我想保存它以进行离线分析,我应该保存哪种格式文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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