HOWTO:改变深度数据的颜色 [英] HOWTO: change colour of depth data

查看:53
本文介绍了HOWTO:改变深度数据的颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何编程Kinect来改变颜色深度数据以及如何显示角色是否有效

推荐答案

Kinect传感器或运行时不会改变颜色仅提供深度数据。请查看Kinect Explorer示例。改变灰色是"着色"的问题。通过将RGB字节值调整为所需的值来实现颜色。你
需要解析深度值才能找到PlayerIndex并改变颜色。

The Kinect sensor or runtime doesn't change the color as it only provides depth data. Review the Kinect Explorer sample as it does this. Changing the Grey color is a matter of "tinting" the color by adjusting the RGB byte values to a value you want. You need to parse the depth values to find the PlayerIndex and change the color.

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


这篇关于HOWTO:改变深度数据的颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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