<?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 That looks about right, if in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Capture-Depth-Points/m-p/1110988#M72204</link>
    <description>&lt;P&gt;That looks about right, if you only need the depths for depth image coordinates.If you want camera coordinates (where x &amp;amp; y are distances from the centre in mm rather than pixel coordinates) you can use QueryVertices (search the docs or the forum for info on how to use it), and if you want to map the depths to the colour image you can use CreateDepthImageMappedToColor.&lt;/P&gt;</description>
    <pubDate>Tue, 03 May 2016 09:09:43 GMT</pubDate>
    <dc:creator>jb455</dc:creator>
    <dc:date>2016-05-03T09:09:43Z</dc:date>
    <item>
      <title>Capture Depth Points</title>
      <link>https://community.intel.com/t5/Software-Archive/Capture-Depth-Points/m-p/1110987#M72203</link>
      <description>&lt;P&gt;Hi Guys.&lt;/P&gt;

&lt;P&gt;I tried to get 3D depth points, but I do not know if this correct.&lt;/P&gt;

&lt;P&gt;below, the code:&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;PRE class="brush:java;"&gt;for (int i = 0; i &amp;lt; MAX_FRAMES; i++) {
			if(mPXC.AcquireFrame(true) == pxcmStatus.PXCM_STATUS_NO_ERROR){
				PXCMCapture.Sample sample = mPXC.QuerySample();
				if (sample.depth != null) {
					
					PXCMImage.ImageData cData = new PXCMImage.ImageData();
					
					sample.depth.AcquireAccess(PXCMImage.Access.ACCESS_READ, PXCMImage.PixelFormat.PIXEL_FORMAT_DEPTH, cData);
					mDepthBuffer = cData.ToShortArray(0, mDepthBuffer);
					
					int gridSize = 3;
					
					// populate mDepthPoints
					int cId = 0;
					for (int dy = 0; dy &amp;lt; height; ++dy) {
						for (int dx = 0; dx &amp;lt; width; ++dx) {
							PXCMPoint3DF32 cPoint = new PXCMPoint3DF32();
							cPoint.x = dx;
							cPoint.y = dy;
							cPoint.z = (float) mDepthBuffer[cId];
							mDepthPoints[cId] = cPoint;
							++cId;
						}
					}
					
					sample.depth.ReleaseAccess(cData);
				}
			}
			mPXC.ReleaseFrame();
		}&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I wonder if there examples in Java or C sharp to show how I can capture the 3D points of depth using the camera realsense&lt;/P&gt;</description>
      <pubDate>Sat, 30 Apr 2016 01:07:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Capture-Depth-Points/m-p/1110987#M72203</guid>
      <dc:creator>carlos_c_6</dc:creator>
      <dc:date>2016-04-30T01:07:25Z</dc:date>
    </item>
    <item>
      <title>That looks about right, if</title>
      <link>https://community.intel.com/t5/Software-Archive/Capture-Depth-Points/m-p/1110988#M72204</link>
      <description>&lt;P&gt;That looks about right, if you only need the depths for depth image coordinates.If you want camera coordinates (where x &amp;amp; y are distances from the centre in mm rather than pixel coordinates) you can use QueryVertices (search the docs or the forum for info on how to use it), and if you want to map the depths to the colour image you can use CreateDepthImageMappedToColor.&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2016 09:09:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Capture-Depth-Points/m-p/1110988#M72204</guid>
      <dc:creator>jb455</dc:creator>
      <dc:date>2016-05-03T09:09:43Z</dc:date>
    </item>
  </channel>
</rss>

