<?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: rs2::vertex coordinate system/units in Items with no label</title>
    <link>https://community.intel.com/t5/Items-with-no-label/rs2-vertex-coordinate-system-units/m-p/553123#M8854</link>
    <description>&lt;P&gt;Hi MartyG,&lt;/P&gt;&lt;P&gt;the pointcloud consists of 640x480 3d vectors (x,y,z). The z-coordinate denotes the depth in meters. The interval of the z-coordinate is [0,zMax] with zMax&amp;gt;&amp;gt;1 m, somewhere 8 m or 10 m.&lt;/P&gt;&lt;P&gt;But the x and y coordinates are only in the range -1 to 1 (always). But what does this mean??? How do I scale the x and y coordinate to get the coordinates in units of meters.   &lt;/P&gt;</description>
    <pubDate>Wed, 11 Apr 2018 06:47:14 GMT</pubDate>
    <dc:creator>SEber3</dc:creator>
    <dc:date>2018-04-11T06:47:14Z</dc:date>
    <item>
      <title>rs2::vertex coordinate system/units</title>
      <link>https://community.intel.com/t5/Items-with-no-label/rs2-vertex-coordinate-system-units/m-p/553121#M8852</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I am using rs2::pointcloud::calculate::get_vertices() for showing a point cloud with RealSense D435.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I am wondering about the units of x,y and z in rs2::vertex; The z-coordinate seems like meters (it ranges from 0 to above 1 and the observed results corresponds to the real world distance in meters).&lt;/P&gt;&lt;P&gt;It would make sense, that the units of x and y are also in meters. But it seems like all values are strictly in the interval [-1,1]. But in my setting, there should be x and y values above +-1 meter;&lt;/P&gt;&lt;P&gt;Are the x and y coordinates in meters or not? And if not, how do I map them to real world untis?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code snipplet:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;const rs2::vertex * pVerticesTmp = NULL;&lt;/P&gt;&lt;P&gt;rs2::pointcloud pc;&lt;/P&gt;&lt;P&gt;pc.map_to(m_oFrameset.get_depth_frame()); //all points have coordinate system of the depth sensor&lt;/P&gt;&lt;P&gt;m_oDepthPointsInCameraSpace = pc.calculate(m_oFrameset.get_depth_frame()); //calculate the coordinates of the depth frame in the depth camera coordiante system&lt;/P&gt;&lt;P&gt;pVerticesTmp = m_oDepthPointsInCameraSpace.get_vertices();&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 17:34:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/rs2-vertex-coordinate-system-units/m-p/553121#M8852</guid>
      <dc:creator>SEber3</dc:creator>
      <dc:date>2018-04-10T17:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: rs2::vertex coordinate system/units</title>
      <link>https://community.intel.com/t5/Items-with-no-label/rs2-vertex-coordinate-system-units/m-p/553122#M8853</link>
      <description>&lt;P&gt;In the context of point clouds, I wonder if the ranges refer to pixel depth, where 0 is minimum depth, 1 is maximum depth and -1 may refer to an area of the image where the camera cannot recognize any detail.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 18:13:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/rs2-vertex-coordinate-system-units/m-p/553122#M8853</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2018-04-10T18:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: rs2::vertex coordinate system/units</title>
      <link>https://community.intel.com/t5/Items-with-no-label/rs2-vertex-coordinate-system-units/m-p/553123#M8854</link>
      <description>&lt;P&gt;Hi MartyG,&lt;/P&gt;&lt;P&gt;the pointcloud consists of 640x480 3d vectors (x,y,z). The z-coordinate denotes the depth in meters. The interval of the z-coordinate is [0,zMax] with zMax&amp;gt;&amp;gt;1 m, somewhere 8 m or 10 m.&lt;/P&gt;&lt;P&gt;But the x and y coordinates are only in the range -1 to 1 (always). But what does this mean??? How do I scale the x and y coordinate to get the coordinates in units of meters.   &lt;/P&gt;</description>
      <pubDate>Wed, 11 Apr 2018 06:47:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/rs2-vertex-coordinate-system-units/m-p/553123#M8854</guid>
      <dc:creator>SEber3</dc:creator>
      <dc:date>2018-04-11T06:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: rs2::vertex coordinate system/units</title>
      <link>https://community.intel.com/t5/Items-with-no-label/rs2-vertex-coordinate-system-units/m-p/553124#M8855</link>
      <description>&lt;P&gt;The only other circumstances I know of when an X and Y axis might be -1, 0 and 1 are in representing the direction of a vector.  For example, on a videogame joystick, the center position when the stick is left alone is 0, and when the stick is pressed, the fully-left and fully down positions are -1, whilst the fully right and fully up positions are 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I researched the matter carefully but could not find alternative explanations for why you may be getting these results.  So it will be best if you wait for a response from an Intel support team member about the true meaning of these axis readings, as they may have knowledge or reference sources that I do not.  Good luck!&lt;/P&gt;</description>
      <pubDate>Wed, 11 Apr 2018 07:46:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/rs2-vertex-coordinate-system-units/m-p/553124#M8855</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2018-04-11T07:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: rs2::vertex coordinate system/units</title>
      <link>https://community.intel.com/t5/Items-with-no-label/rs2-vertex-coordinate-system-units/m-p/553125#M8856</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;please ignore my post regarding the rs2::vertex units. It is all fine, now. The units for the x and y coordinates are meters. And the x and y coordinates are NOT restricted to +-1. &lt;/P&gt;</description>
      <pubDate>Wed, 11 Apr 2018 07:55:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/rs2-vertex-coordinate-system-units/m-p/553125#M8856</guid>
      <dc:creator>SEber3</dc:creator>
      <dc:date>2018-04-11T07:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: rs2::vertex coordinate system/units</title>
      <link>https://community.intel.com/t5/Items-with-no-label/rs2-vertex-coordinate-system-units/m-p/553126#M8857</link>
      <description>&lt;P&gt;Ok, thank you very much for the update.  Best of luck with your project!  &lt;/P&gt;</description>
      <pubDate>Wed, 11 Apr 2018 08:11:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/rs2-vertex-coordinate-system-units/m-p/553126#M8857</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2018-04-11T08:11:54Z</dc:date>
    </item>
  </channel>
</rss>

