<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: how to map jointData to color space? in Items with no label</title>
    <link>https://community.intel.com/t5/Items-with-no-label/how-to-map-jointData-to-color-space/m-p/454210#M3494</link>
    <description>&lt;P&gt;Hi Qule,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Thank you for contacting us.&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;I didn't quite understand your issue, but take a look at the SDK R2 documentation:  &lt;A href="https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/documentation/html/index.html?sample_hands_viewer_javascript.html"&gt;https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/documentation/html/index.html?sample_hands_viewer_javascript.html&lt;/A&gt;, you can use this sample as reference.&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;You can check this link too:  &lt;A href="https://software.intel.com/en-us/articles/blend-the-intel-realsense-camera-and-the-intel-edison-board-with-javascript"&gt;https://software.intel.com/en-us/articles/blend-the-intel-realsense-camera-and-the-intel-edison-board-with-javascript&lt;/A&gt;, it also uses the same sample that I think it is what you are trying to do.&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;I hope you find this helpful.&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Have a nice day.&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Regards,&lt;P&gt;&amp;nbsp;&lt;/P&gt;-Leonardo</description>
    <pubDate>Tue, 17 Jan 2017 21:14:34 GMT</pubDate>
    <dc:creator>idata</dc:creator>
    <dc:date>2017-01-17T21:14:34Z</dc:date>
    <item>
      <title>how to map jointData to color space?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/how-to-map-jointData-to-color-space/m-p/454209#M3493</link>
      <description>&lt;P&gt;1.Enable streams&lt;/P&gt;&lt;P&gt;var sm = session.CreateSenseManager();&lt;/P&gt;&lt;P&gt;var mColorReader = SampleReader.Activate(sm);&lt;/P&gt;&lt;P&gt;var mColorReader.EnableStream(StreamType.STREAM_TYPE_COLOR, 1920, 1080);&lt;/P&gt;&lt;P&gt;var mColorReader.EnableStream(StreamType.STREAM_TYPE_DEPTH, 640, 480);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Enable hand tracking&lt;/P&gt;&lt;P&gt; HandModule handModule = HandModule.Activate(sm);&lt;/P&gt;&lt;P&gt;  // Create the hand data instance&lt;/P&gt;&lt;P&gt;var handData = handModule.CreateOutput();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.Access hand data&lt;/P&gt;&lt;P&gt;handData.update();&lt;/P&gt;&lt;P&gt; IHand hand;&lt;/P&gt;&lt;P&gt;var HandData.QueryHandData(AccessOrderType.ACCESS_ORDER_BY_TIME, 0, out hand);&lt;/P&gt;&lt;P&gt;var wristJointData = hand.TrackedJoints[JointType.JOINT_WRIST];&lt;/P&gt;&lt;P&gt;var position = wristJointData.positionImage;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then how to show wrist point in color space(1920x1080)?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2017 04:48:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/how-to-map-jointData-to-color-space/m-p/454209#M3493</guid>
      <dc:creator>lqu</dc:creator>
      <dc:date>2017-01-17T04:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: how to map jointData to color space?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/how-to-map-jointData-to-color-space/m-p/454210#M3494</link>
      <description>&lt;P&gt;Hi Qule,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Thank you for contacting us.&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;I didn't quite understand your issue, but take a look at the SDK R2 documentation:  &lt;A href="https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/documentation/html/index.html?sample_hands_viewer_javascript.html"&gt;https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/documentation/html/index.html?sample_hands_viewer_javascript.html&lt;/A&gt;, you can use this sample as reference.&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;You can check this link too:  &lt;A href="https://software.intel.com/en-us/articles/blend-the-intel-realsense-camera-and-the-intel-edison-board-with-javascript"&gt;https://software.intel.com/en-us/articles/blend-the-intel-realsense-camera-and-the-intel-edison-board-with-javascript&lt;/A&gt;, it also uses the same sample that I think it is what you are trying to do.&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;I hope you find this helpful.&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Have a nice day.&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Regards,&lt;P&gt;&amp;nbsp;&lt;/P&gt;-Leonardo</description>
      <pubDate>Tue, 17 Jan 2017 21:14:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/how-to-map-jointData-to-color-space/m-p/454210#M3494</guid>
      <dc:creator>idata</dc:creator>
      <dc:date>2017-01-17T21:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: how to map jointData to color space?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/how-to-map-jointData-to-color-space/m-p/454211#M3495</link>
      <description>&lt;P&gt;Thanks,I  figure it out by take a look at the  Projection(c++)  sample.&lt;/P&gt;&lt;P&gt;I translate it to c# .&lt;/P&gt;&lt;P&gt;var wrist = hand.TrackedJoints[JointType.JOINT_WRIST];&lt;/P&gt;&lt;P&gt;  ImageData ddata;&lt;/P&gt;&lt;P&gt;if (sample.Depth.AcquireAccess(ImageAccess.ACCESS_READ, PixelFormat.PIXEL_FORMAT_DEPTH, out ddata) &amp;gt;= Status.STATUS_NO_ERROR)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;           unsafe&lt;/P&gt;&lt;P&gt;           {&lt;/P&gt;&lt;P&gt;                    short* ptr = (short*)(ddata.planes[0] + (int)wrist.positionImage.y * ddata.pitches[0]).ToPointer();&lt;/P&gt;&lt;P&gt;                     float z = (float)ptr[(int)wrist.positionImage.x];&lt;/P&gt;&lt;P&gt;                     //  Point3DF32[] depthPoints = new Point3DF32[] { new Point3DF32(wrist.positionImage.x, wrist.positionImage.y,  wrist.positionImage.z) };  this line doesn't work ,strange?&lt;/P&gt;&lt;P&gt;                      Point3DF32[] depthPoints = new Point3DF32[] { new Point3DF32(wrist.positionImage.x, wrist.positionImage.y, z) };&lt;/P&gt;&lt;P&gt;                      PointF32[] colorPoints = new PointF32[] { new PointF32(-1, -1) };&lt;/P&gt;&lt;P&gt;                       projection.MapDepthToColor(depthPoints, colorPoints);&lt;/P&gt;&lt;P&gt;               }&lt;/P&gt;&lt;P&gt;              sample.Depth.ReleaseAccess(ddata);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2017 04:10:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/how-to-map-jointData-to-color-space/m-p/454211#M3495</guid>
      <dc:creator>lqu</dc:creator>
      <dc:date>2017-01-18T04:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: how to map jointData to color space?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/how-to-map-jointData-to-color-space/m-p/454212#M3496</link>
      <description>&lt;P&gt;Hi Qule,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;That's great, it is good to know that you figured it out.&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Don't doubt to contact us when you have issues.&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;I hope you have a nice day.&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Regards,&lt;P&gt;&amp;nbsp;&lt;/P&gt;-Leonardo</description>
      <pubDate>Wed, 18 Jan 2017 18:23:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/how-to-map-jointData-to-color-space/m-p/454212#M3496</guid>
      <dc:creator>idata</dc:creator>
      <dc:date>2017-01-18T18:23:45Z</dc:date>
    </item>
  </channel>
</rss>

