使用椭圆在骨架跟踪中加入关节并缩放它的问题 [英] Question in using ellipse to join into a joint in skeletal tracking and scaling it

查看:67
本文介绍了使用椭圆在骨架跟踪中加入关节并缩放它的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我想查询如何使用连接到关节的椭圆图像,让我们说JointType.HandRight并缩放它,以便当渲染空间中心的跟踪骨架移动时右手一定距离,
椭圆的缩放将移动它等x2右手移动的距离,当椭圆到达框架边缘时,它将触发并发生事件。



有人可以建议我这样做。当椭圆(连接到JointType.HandRight)到达框架的边缘时,是否可以创建一个事件,将触发警报。



提前致谢。



Zong Li

解决方案

这可能是您可能正在使用的UI框架的问题。如果您按照QuickStart系列进行操作,他们将演示如何使用WPF执行类似的操作。同样,工具包中的样本演示了"绘制骨架"。使用剪切的
区域的函数。当您处理可能在应用程序中映射这些关节的位置时,如何基于此生成事件将取决于您


http://channel9.msdn.com/Series/KinectQuickstart/Skeletal-Tracking-Fundamentals



Hi i want to make a query on how i can use an ellipse image connected to the joint, lets say JointType.HandRight and the scaling it so that when the tracked skeleton at the center of the render space shifts his right hand a certain distance, scaling of the ellipse will shift it etc. x2 of the distance moved by the right hand and when the ellipse reaches the frame edges it would fire off and event.

Can someone advice me a way of doing this. Is it possible to create an event when an ellipse( joined to the JointType.HandRight) reaches the edge of the frame an alert will be fired off.

Thanks in advance.

Zong Li

解决方案

That would be a question for your UI framework you may be using. If you follow the QuickStart series they demonstrate how you can do something similar with WPF. As well, the samples in the toolkit demonstrate "draw skeletons" function that using the clipped region. How you would generation an event based on that would be up to you when you process where these joints may be mapped in your application

http://channel9.msdn.com/Series/KinectQuickstart/Skeletal-Tracking-Fundamentals


这篇关于使用椭圆在骨架跟踪中加入关节并缩放它的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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