从kinect fusion获取位图(Kinect SDK 1.7) [英] Get bitmap from kinect fusion (Kinect SDK 1.7)

查看:99
本文介绍了从kinect fusion获取位图(Kinect SDK 1.7)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法存储运行任何Kinect融合样本生成的图像的位图并获得其格式?我是一个非常新的编程和任何代码片段以及放在代码中的地方或任何信息帮助都非常有用。 

顺便说一下这是用于C ++示例。

Is there a way to store the Bitmap of an image generated from running any of the Kinect fusion samples and get its format? I am very new to programing and any code snippet and where that is to be placed in the code or any info help will be very useful. 
Btw this is for C++ samples.

推荐答案

要获取图像显示为UI的一部分,请查看NuiFusionCreateImageFrame& NuiFusionShadePointCloud函数在KinectFusionBasics-D2D示例中调用。这用于生成INuiFrameTexure对象。

To get the image from that is displayed as part of the UI have a look at the NuiFusionCreateImageFrame & NuiFusionShadePointCloud function calls in the KinectFusionBasics-D2D sample. This is used to generate the INuiFrameTexure object.

在.Net中,这些是FusionImageFrame / FusionColorImageFrame&& FusionDepthProcessor.ShadePointCloud

In .Net, these are FusionImageFrame/FusionColorImageFrame & FusionDepthProcessor.ShadePointCloud

如果您不熟悉编程,可能需要从托管语言开始,查看WPF示例,以便将您与c ++和D2D / Win32编程的一些复杂性隔离开来。此论坛仅关注如何使用Kinect for Windows SDK获取
的数据。您对要处理或显示的数据执行的操作将要求您具有可用框架的先前知识。

If you are new to programming you might want to start with a managed language and look at the WPF samples to isolate you from some of the complexities of c++ and D2D/Win32 programming. This forum only focuses on how to use the Kinect for Windows SDK to get the data. What you do with the data to process or display it will require you have that previous knowledge of the frameworks available.

Win32桌面应用程序(Visual C ++)

< a href ="http://msdn.microsoft.com/en-us/library/hh875053.aspx"> http://msdn.microsoft.com/en-us/library/hh875053.aspx

Win32 Desktop Apps (Visual C++)
http://msdn.microsoft.com/en-us/library/hh875053.aspx

Direct2D

http://msdn.microsoft.com/en-us/library/windows/desktop/dd370990(v=vs.85).aspx

Direct2D
http://msdn.microsoft.com/en-us/library/windows/desktop/dd370990(v=vs.85).aspx


这篇关于从kinect fusion获取位图(Kinect SDK 1.7)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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