【发布时间】:2012-11-21 14:28:24
【问题描述】:
我尝试使用 kinect 进行一些联合跟踪(只需在我的右手中放置一个椭圆),对于默认的 640x480 图像,一切正常,我以this channel9 视频为基础。 我的代码,更新为使用新的 CoordinateMapper 类在这里
...
CoordinateMapper cm = new CoordinateMapper(this.KinectSensorManager.KinectSensor);
ColorImagePoint handColorPoint = cm.MapSkeletonPointToColorPoint(atualSkeleton.Joints[JointType.HandRight].Position, ColorImageFormat.RgbResolution640x480Fps30);
Canvas.SetLeft(elipseHead, (handColorPoint.X) - (elipseHead.Width / 2)); // center of the ellipse in center of the joint
Canvas.SetTop(elipseHead, (handColorPoint.Y) - (elipseHead.Height / 2));
这行得通。问题是:
如何在缩放图像中进行联合跟踪,例如 540x380?
【问题讨论】:
标签: scale kinect kinect-sdk