title: How to do Joint tracking in Kinect with a scaled Image
body: <p>I trying to do some Joint Tracking with kinect (just put a ellipse inside my right hand) everything works fine for a default 640x480 Image, i based myself in <a href="http://ak.channel9.msdn.com/ch9/e017/c2943395-cca6-4601-a493-9fea003de017/SkeletalTrackingFundamentals_high_ch9.mp4" rel="nofollow">this</a> channel9 video.
  My code, updated to use the new CoordinateMapper classe is here</p>
  
  <pre><code> ...
  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));
  </code></pre>
  
  <p>This works. The question is:</p>
  
  <p><strong>How to do joint tracking in a scaled image, 540x380 for example?</strong></p>