Windows 8商店应用程序 - 背景删除 [英] Windows 8 Store App - Background Removal

查看:88
本文介绍了Windows 8商店应用程序 - 背景删除的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有关于如何在Windows 8商店应用中删除背景的示例?  有WPF的示例,但它们在Windows 8商店应用程序中不起作用。

Are there any samples out there on how to do the background removal in a Windows 8 store app?  There are samples for WPF, but they dont work in the Windows 8 store app.

http://pterneas.com/2014/04/11/kinect-background-removal/

http://pterneas.com/2014/04/11/kinect-background-removal/

推荐答案

v2 SDK的桌面或商店没有后台删除API。示例使用的是CoordinateMapper

There are no background removal API's for desktop or store for the v2 SDK. The sample is using CoordinateMapper

对于创建商店应用程序,您可以按照WPF代码中显示的模式实现类似的结果。您可以采用任何颜色/深度/红外基础样本并对其进行修改以使用此代码获取Kinect数据。

As for making a store application, you can achieve the similar result by following the pattern shown in the WPF code. You can take any of the color/depth/ir basics samples and modify it to use this code to get the Kinect data.

不同之处在于生成将显示的结果图像的UI框架元素。您可以使用类似于IR或深度基础所展示的代码来查看您如何显示生成的位图数据。

The difference would be the UI framework elements to generate the resulting image that will be displayed. You can use code similar to that demonstrated by the IR or Depth basics to see how you display generated bitmap data.


这篇关于Windows 8商店应用程序 - 背景删除的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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