kinect SDK 1.7:kinectinteration坐标更改 [英] kinect SDK 1.7:kinectinteration coordinate change

查看:89
本文介绍了kinect SDK 1.7:kinectinteration坐标更改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将kinectinteration坐标交换到我的屏幕坐标,例如,我想将handpointer.RawX和handpointer.RawY设为屏幕坐标。

解决方案

< blockquote>

http://msdn.microsoft.com /en-us/library/microsoft.kinect.toolkit.interaction.interactionhandpointer.rawx.aspx


PointonScreen =(handpointer.RawX * ScreenWidth, handpointer.RawY * ScreenHeight)


how does I exchange  kinectinteration coordinate to my screen coordinate, for example,I want to make handpointer.RawX and handpointer.RawY to be screen coordinate.

解决方案

http://msdn.microsoft.com/en-us/library/microsoft.kinect.toolkit.interaction.interactionhandpointer.rawx.aspx

PointonScreen = (handpointer.RawX*ScreenWidth,handpointer.RawY*ScreenHeight)


这篇关于kinect SDK 1.7:kinectinteration坐标更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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