<?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>tópico Hello everyone,  na Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Depth-Resolution-of-Real-Sense-Camera/m-p/1029805#M41567</link>
    <description>&lt;P&gt;Hello everyone,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I have the same kind of problem, I'm not really good at programming. Can you please give me your complete code ?&lt;/P&gt;

&lt;P&gt;Thanks a lot ;)&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 10 Mar 2016 13:30:15 GMT</pubDate>
    <dc:creator>Dylan_R_</dc:creator>
    <dc:date>2016-03-10T13:30:15Z</dc:date>
    <item>
      <title>Depth Resolution of Real Sense Camera</title>
      <link>https://community.intel.com/t5/Software-Archive/Depth-Resolution-of-Real-Sense-Camera/m-p/1029800#M41562</link>
      <description>&lt;P&gt;Greetings,&lt;/P&gt;

&lt;P&gt;My name is Michael, and I am currently using Intel Real Sense F200 camera as a measurement device for my research.&lt;/P&gt;

&lt;P&gt;Currently I am able to get the depth data and save it as uncompressed .png file and point cloud, but when I look at the data, every point's depth data (z) is an integer.&lt;/P&gt;

&lt;P&gt;So, I would like to know what is the depth resolution (how detailed can the z value be; 1mm or 0.1mm, etc.) for Real Sense camera(F200 &amp;amp; R200). If someone from Intel could tell me, I would be very thankful.&lt;/P&gt;

&lt;P&gt;Also, I would like to know if there are any method to change the resolution.&lt;/P&gt;

&lt;P&gt;I've tried looking at many documentations and forums but couldn't find such information. I also tried using SetDepthUnit() but whatever value I set, the value from GetDepthUnit() doesn't seem to change at all.&lt;/P&gt;

&lt;P&gt;Thank You.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2015 06:45:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Depth-Resolution-of-Real-Sense-Camera/m-p/1029800#M41562</guid>
      <dc:creator>Michael_S_18</dc:creator>
      <dc:date>2015-10-23T06:45:31Z</dc:date>
    </item>
    <item>
      <title>How did you get depth data?</title>
      <link>https://community.intel.com/t5/Software-Archive/Depth-Resolution-of-Real-Sense-Camera/m-p/1029801#M41563</link>
      <description>&lt;P class="p_TableText"&gt;How did you get depth data? If you use&amp;nbsp;PIXEL_FORMAT_DEPTH,&amp;nbsp;The depth map data in 16-bit unsigned integer. The values indicate the distance from an object to the camera's XY plane or the Cartesian depth.The value precision is in millimeters. If you use&amp;nbsp;PIXEL_FORMAT_DEPTH_RAW, then&amp;nbsp;the depth map data in 16-bit unsigned integer. The value precision is device specific. The application can get the device precision via the QueryDepthUnit function. Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2015 17:36:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Depth-Resolution-of-Real-Sense-Camera/m-p/1029801#M41563</guid>
      <dc:creator>Xusheng_L_Intel</dc:creator>
      <dc:date>2015-10-23T17:36:46Z</dc:date>
    </item>
    <item>
      <title>I haven't checked with real</title>
      <link>https://community.intel.com/t5/Software-Archive/Depth-Resolution-of-Real-Sense-Camera/m-p/1029802#M41564</link>
      <description>&lt;P&gt;I haven't checked with real data yet, but I think the three depth formats are created like this:&lt;/P&gt;

&lt;P&gt;a) PIXEL_FORMAT_DEPTH_RAW: This is the pixel disparity obtained from the depth estimation algorithm. It is a 16bit unsigned integer number. Each unit here represents a displacement of QueryDepthUnit micrometers (which is a 32 bit floating point number).&lt;/P&gt;

&lt;P&gt;&lt;SPAN class="f_CodeExample"&gt;&lt;SPAN&gt;b) PIXEL_FORMAT_&lt;SPAN class="highlight" id="highlight" name="highlight"&gt;DEPTH&lt;/SPAN&gt;_F32: This is the Cartesian depth per pixel, in mm. It is represented as a 32 bit floating point number. It seems to be &lt;/SPAN&gt;&lt;/SPAN&gt;the depth value from PIXEL_FORMAT_DEPTH_RAW, multiplied by QueryDepthUnit and divided by 1000 to get distance in mm.&lt;/P&gt;

&lt;P&gt;c) PIXEL_FORMAT_DEPTH: This should be the same as &lt;SPAN class="f_CodeExample"&gt;&lt;SPAN&gt;PIXEL_FORMAT_&lt;SPAN class="highlight" id="highlight" name="highlight"&gt;DEPTH&lt;/SPAN&gt;_F32 but as a 16bit unsigned integer number.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN class="f_CodeExample"&gt;&lt;SPAN&gt;I'm not sure if both b) and c) are calculated directly from a) or if c) is a rounded version of b) for example, so there may be some accuracy differences.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Oct 2015 07:03:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Depth-Resolution-of-Real-Sense-Camera/m-p/1029802#M41564</guid>
      <dc:creator>samontab</dc:creator>
      <dc:date>2015-10-24T07:03:03Z</dc:date>
    </item>
    <item>
      <title>Dear David &amp; samontab,</title>
      <link>https://community.intel.com/t5/Software-Archive/Depth-Resolution-of-Real-Sense-Camera/m-p/1029803#M41565</link>
      <description>&lt;P&gt;Dear David &amp;amp; samontab,&lt;/P&gt;

&lt;P&gt;Thank you very much for your answers and sorry for my late reply.&lt;/P&gt;

&lt;P&gt;I used QueryVertices to directly get the world coordinates for making the point cloud, in which the z values are integer and the point cloud as shown in the image(this is a point cloud of 3 spheres viewed from its side) has digital z values(1 mm ). I guess I shouldn't use QueryVertices to make my point cloud because I want the value to be more analog.&lt;/P&gt;

&lt;P&gt;On the other hand, the depth image i saved as uncompressed .png used PIXEL_FORMAT_DEPTH_RAW. Looks like this means that i have to multiply the values in the depth images with the value i get from QueryDepthUnit(in my case it's 31.25) divided by 1000 to get the image in mm unit then.&lt;/P&gt;

&lt;P&gt;I haven't tried making my point cloud using the other depth formats and then projecting it into world coordinates but i guess it would result as samontab says.&lt;/P&gt;

&lt;P&gt;Anyway, I think my problem is solved.&lt;BR /&gt;
	Thank you so much for the quick and easy-to-understand reply even though it's such a basic question!&lt;BR /&gt;
	If needed, I will update again later after I get my results.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2015 09:41:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Depth-Resolution-of-Real-Sense-Camera/m-p/1029803#M41565</guid>
      <dc:creator>Michael_S_18</dc:creator>
      <dc:date>2015-10-28T09:41:02Z</dc:date>
    </item>
    <item>
      <title>Michael,</title>
      <link>https://community.intel.com/t5/Software-Archive/Depth-Resolution-of-Real-Sense-Camera/m-p/1029804#M41566</link>
      <description>&lt;P&gt;Michael,&lt;/P&gt;

&lt;P&gt;You may get a bit more accuracy if you use the Z value from the depth stream, instead of the Z value from the X, Y, Z projection given from QueryVertices.&lt;/P&gt;

&lt;P&gt;For some reason, the QueryVertices method of the SDK rounds the floating point number from the depth stream into an integer.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2015 23:37:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Depth-Resolution-of-Real-Sense-Camera/m-p/1029804#M41566</guid>
      <dc:creator>samontab</dc:creator>
      <dc:date>2015-10-28T23:37:45Z</dc:date>
    </item>
    <item>
      <title>Hello everyone, </title>
      <link>https://community.intel.com/t5/Software-Archive/Depth-Resolution-of-Real-Sense-Camera/m-p/1029805#M41567</link>
      <description>&lt;P&gt;Hello everyone,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I have the same kind of problem, I'm not really good at programming. Can you please give me your complete code ?&lt;/P&gt;

&lt;P&gt;Thanks a lot ;)&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2016 13:30:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Depth-Resolution-of-Real-Sense-Camera/m-p/1029805#M41567</guid>
      <dc:creator>Dylan_R_</dc:creator>
      <dc:date>2016-03-10T13:30:15Z</dc:date>
    </item>
    <item>
      <title>Samontab</title>
      <link>https://community.intel.com/t5/Software-Archive/Depth-Resolution-of-Real-Sense-Camera/m-p/1029806#M41568</link>
      <description>&lt;P&gt;Samontab&lt;/P&gt;

&lt;P&gt;Thanks for the useful information, how do you get a Z value from the depth stream?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2016 09:02:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Depth-Resolution-of-Real-Sense-Camera/m-p/1029806#M41568</guid>
      <dc:creator>carlos_manuel_v_</dc:creator>
      <dc:date>2016-03-31T09:02:25Z</dc:date>
    </item>
    <item>
      <title>Here you go:</title>
      <link>https://community.intel.com/t5/Software-Archive/Depth-Resolution-of-Real-Sense-Camera/m-p/1029807#M41569</link>
      <description>&lt;PRE style="font-size: 13.008px; font-family: Consolas; line-height: 19.512px; color: black; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"&gt;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px; color: rgb(83, 87, 94); font-family: Arial, 宋体, Tahoma, Helvetica, sans-serif;"&gt;Here you go (in C#):&lt;/SPAN&gt;&lt;/PRE&gt;

&lt;PRE style="font-family: Consolas; color: black; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"&gt;PXCMCapture.Sample&amp;nbsp;photo&amp;nbsp;=&amp;nbsp;pSenseManager.QuerySample();
&lt;/PRE&gt;

&lt;PRE style="font-family: Consolas; color: black; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"&gt;var depth&amp;nbsp;=&amp;nbsp;photo.depth;
&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;PXCMImage.ImageData&amp;nbsp;data;
&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;var depth.AcquireAccess(PXCMImage.Access.ACCESS_READ,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5; color: blue;"&gt;out&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&amp;nbsp;ddata);
&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;var dwidth&amp;nbsp;=&amp;nbsp;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5; color: rgb(43, 145, 175);"&gt;Int32&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;)depth.info.width;
&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;var dheight&amp;nbsp;=&amp;nbsp;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5; color: rgb(43, 145, 175);"&gt;Int32&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;)depth.info.height;
&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;var dpixels&amp;nbsp;=&amp;nbsp;ddata.ToUShortArray(0,&amp;nbsp;dwidth&amp;nbsp;*&amp;nbsp;dheight);
&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;depth.ReleaseAccess(ddata);&lt;/SPAN&gt;&lt;/PRE&gt;

&lt;P&gt;Then to get the depth value for a specific (x,y) pixel you use:&lt;BR /&gt;
	var pixelDepth = dpixels[y*dwidth + x];&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2016 13:01:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Depth-Resolution-of-Real-Sense-Camera/m-p/1029807#M41569</guid>
      <dc:creator>jb455</dc:creator>
      <dc:date>2016-03-31T13:01:21Z</dc:date>
    </item>
  </channel>
</rss>

