<?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 get (x,y,z) from depth image&amp;quot;.raw&amp;quot; in Items with no label</title>
    <link>https://community.intel.com/t5/Items-with-no-label/how-to-get-x-y-z-from-depth-image-quot-raw-quot/m-p/594983#M11603</link>
    <description>&lt;P&gt;I'm so sorry about my bad description!!! &lt;/P&gt;&lt;P&gt;I want to measure the soybean's height using the depth image.&lt;/P&gt;&lt;P&gt;These images are taken above the soybean.&lt;/P&gt;&lt;P&gt;First , I should find the highest point and a point on ground. &lt;/P&gt;&lt;P&gt;But I only have distances between points and camera.&lt;/P&gt;&lt;P&gt;I don't know how to find the angle  from one point to camera then to another point.&lt;/P&gt;&lt;P&gt;If  successful ，I can use vector to calculate the height.&lt;/P&gt;&lt;P&gt;It's better if I get the (x , y , z) in the real world.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ps.&lt;/P&gt;&lt;P&gt;I only have the ".raw" file ，color ".png" and depth ".png".&lt;/P&gt;&lt;P&gt;thanks a lot!!!!&lt;/P&gt;</description>
    <pubDate>Sun, 14 Oct 2018 16:54:32 GMT</pubDate>
    <dc:creator>czhen7</dc:creator>
    <dc:date>2018-10-14T16:54:32Z</dc:date>
    <item>
      <title>how to get (x,y,z) from depth image".raw"</title>
      <link>https://community.intel.com/t5/Items-with-no-label/how-to-get-x-y-z-from-depth-image-quot-raw-quot/m-p/594977#M11597</link>
      <description>&lt;P&gt;hi!&lt;/P&gt;&lt;P&gt;I have a project to measure the height of soybeans. With D435, we have obtained depth images—saved by ".raw" .&lt;/P&gt;&lt;P&gt;Can we get the coordinates of a certain point in the real world from the depth image, if possible，how to get it？？？？&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank   you！！&lt;/P&gt;</description>
      <pubDate>Sun, 14 Oct 2018 10:29:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/how-to-get-x-y-z-from-depth-image-quot-raw-quot/m-p/594977#M11597</guid>
      <dc:creator>czhen7</dc:creator>
      <dc:date>2018-10-14T10:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to get (x,y,z) from depth image".raw"</title>
      <link>https://community.intel.com/t5/Items-with-no-label/how-to-get-x-y-z-from-depth-image-quot-raw-quot/m-p/594978#M11598</link>
      <description>&lt;P&gt;The subject of getting the depth value from a .raw file has been discussed on the RealSense GitHub.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/IntelRealSense/librealsense/issues/2231#"&gt;https://github.com/IntelRealSense/librealsense/issues/2231#&lt;/A&gt; issue-350003900 How to get the depth value corresponding to the color in the depth image? · Issue # 2231 · IntelRealSense/librealsense · … &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a script below for getting XY measurements using the instruction deproject_pixels_to_point (which converts 2D pixel coordinates to 3D world coordinates), but I am not sure how to apply it to extracting XY from a .raw file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/IntelRealSense/librealsense/issues/1413#"&gt;https://github.com/IntelRealSense/librealsense/issues/1413#&lt;/A&gt; issuecomment-375265310 deprojection pixels to 3d point · Issue # 1413 · IntelRealSense/librealsense · GitHub &lt;/P&gt;</description>
      <pubDate>Sun, 14 Oct 2018 11:10:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/how-to-get-x-y-z-from-depth-image-quot-raw-quot/m-p/594978#M11598</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2018-10-14T11:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: how to get (x,y,z) from depth image".raw"</title>
      <link>https://community.intel.com/t5/Items-with-no-label/how-to-get-x-y-z-from-depth-image-quot-raw-quot/m-p/594979#M11599</link>
      <description>&lt;P&gt;OK I will try !&lt;/P&gt;&lt;P&gt;another question is  can I use librealsense SDK 2.0 with ".raw" file , such as&lt;/P&gt;align_to = rs.stream.color &lt;P&gt; ????&lt;/P&gt;</description>
      <pubDate>Sun, 14 Oct 2018 14:14:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/how-to-get-x-y-z-from-depth-image-quot-raw-quot/m-p/594979#M11599</guid>
      <dc:creator>czhen7</dc:creator>
      <dc:date>2018-10-14T14:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: how to get (x,y,z) from depth image".raw"</title>
      <link>https://community.intel.com/t5/Items-with-no-label/how-to-get-x-y-z-from-depth-image-quot-raw-quot/m-p/594980#M11600</link>
      <description>&lt;P&gt;This link describes how to align saved files:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/IntelRealSense/librealsense/issues/1274#"&gt;https://github.com/IntelRealSense/librealsense/issues/1274#&lt;/A&gt; issuecomment-370226116 upload color and depth images and then align them · Issue # 1274 · IntelRealSense/librealsense · GitHub &lt;/P&gt;</description>
      <pubDate>Sun, 14 Oct 2018 14:25:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/how-to-get-x-y-z-from-depth-image-quot-raw-quot/m-p/594980#M11600</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2018-10-14T14:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to get (x,y,z) from depth image".raw"</title>
      <link>https://community.intel.com/t5/Items-with-no-label/how-to-get-x-y-z-from-depth-image-quot-raw-quot/m-p/594981#M11601</link>
      <description>&lt;P&gt;I've read your reply , but  the methods that 1274#  metioned are:&lt;/P&gt;&lt;P&gt;1。rs2::software_device   &lt;/P&gt;&lt;P&gt;2。rs2_deproject_pixel_to_point&lt;/P&gt;&lt;P&gt;3。 use&lt;CODE&gt;.bag file&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1 and 2 are deal with stream .Can I use stream to deal with the saved ".raw"???????????&lt;/P&gt;&lt;P&gt;I don't save pointcloud data ,so i don't have ".bag" file.&lt;/P&gt;</description>
      <pubDate>Sun, 14 Oct 2018 15:41:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/how-to-get-x-y-z-from-depth-image-quot-raw-quot/m-p/594981#M11601</guid>
      <dc:creator>czhen7</dc:creator>
      <dc:date>2018-10-14T15:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: how to get (x,y,z) from depth image".raw"</title>
      <link>https://community.intel.com/t5/Items-with-no-label/how-to-get-x-y-z-from-depth-image-quot-raw-quot/m-p/594982#M11602</link>
      <description>&lt;P&gt;Could you explain more please about what you are trying to achieve?  Thanks!&lt;/P&gt;</description>
      <pubDate>Sun, 14 Oct 2018 15:53:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/how-to-get-x-y-z-from-depth-image-quot-raw-quot/m-p/594982#M11602</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2018-10-14T15:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to get (x,y,z) from depth image".raw"</title>
      <link>https://community.intel.com/t5/Items-with-no-label/how-to-get-x-y-z-from-depth-image-quot-raw-quot/m-p/594983#M11603</link>
      <description>&lt;P&gt;I'm so sorry about my bad description!!! &lt;/P&gt;&lt;P&gt;I want to measure the soybean's height using the depth image.&lt;/P&gt;&lt;P&gt;These images are taken above the soybean.&lt;/P&gt;&lt;P&gt;First , I should find the highest point and a point on ground. &lt;/P&gt;&lt;P&gt;But I only have distances between points and camera.&lt;/P&gt;&lt;P&gt;I don't know how to find the angle  from one point to camera then to another point.&lt;/P&gt;&lt;P&gt;If  successful ，I can use vector to calculate the height.&lt;/P&gt;&lt;P&gt;It's better if I get the (x , y , z) in the real world.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ps.&lt;/P&gt;&lt;P&gt;I only have the ".raw" file ，color ".png" and depth ".png".&lt;/P&gt;&lt;P&gt;thanks a lot!!!!&lt;/P&gt;</description>
      <pubDate>Sun, 14 Oct 2018 16:54:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/how-to-get-x-y-z-from-depth-image-quot-raw-quot/m-p/594983#M11603</guid>
      <dc:creator>czhen7</dc:creator>
      <dc:date>2018-10-14T16:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: how to get (x,y,z) from depth image".raw"</title>
      <link>https://community.intel.com/t5/Items-with-no-label/how-to-get-x-y-z-from-depth-image-quot-raw-quot/m-p/594984#M11604</link>
      <description>&lt;P&gt;May I ask first if it is a required part of your project that you create image files.  Or do you not have access to a camera and have to do the calculations using image files only.  This is because there are already existing measuring programs for the 400 Series cameras.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Measure (C++)&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/IntelRealSense/librealsense/tree/master/examples/measure"&gt;https://github.com/IntelRealSense/librealsense/tree/master/examples/measure&lt;/A&gt; librealsense/examples/measure at master · IntelRealSense/librealsense · GitHub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Box Dimensioner (Python)&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/IntelRealSense/librealsense/tree/master/wrappers/python/examples/box_dimensioner_multicam"&gt;https://github.com/IntelRealSense/librealsense/tree/master/wrappers/python/examples/box_dimensioner_multicam&lt;/A&gt; librealsense/wrappers/python/examples/box_dimensioner_multicam at master · IntelRealSense/librealsense · GitHub&lt;/P&gt;</description>
      <pubDate>Sun, 14 Oct 2018 17:11:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/how-to-get-x-y-z-from-depth-image-quot-raw-quot/m-p/594984#M11604</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2018-10-14T17:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: how to get (x,y,z) from depth image".raw"</title>
      <link>https://community.intel.com/t5/Items-with-no-label/how-to-get-x-y-z-from-depth-image-quot-raw-quot/m-p/594985#M11605</link>
      <description>&lt;P&gt;I  already  have access to a camera but have to do the calculations using image files only. Because the soybean have been almost riped, I don't have the right time .&lt;/P&gt;</description>
      <pubDate>Sun, 14 Oct 2018 17:30:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/how-to-get-x-y-z-from-depth-image-quot-raw-quot/m-p/594985#M11605</guid>
      <dc:creator>czhen7</dc:creator>
      <dc:date>2018-10-14T17:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: how to get (x,y,z) from depth image".raw"</title>
      <link>https://community.intel.com/t5/Items-with-no-label/how-to-get-x-y-z-from-depth-image-quot-raw-quot/m-p/594986#M11606</link>
      <description>&lt;P&gt;It would probably be quite easy if you could have recordings provided to you in the .bag format.  This is because the SDK's sample programs can run off a bag file recording instead of the camera if you make a simple three-line change to the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/IntelRealSense/librealsense/blob/master/doc/sample-data.md"&gt;https://github.com/IntelRealSense/librealsense/blob/master/doc/sample-data.md&lt;/A&gt; librealsense/&lt;A href="http://sample-data.md"&gt;sample-data.md&lt;/A&gt; at master · IntelRealSense/librealsense · GitHub &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But am I right in thinking that it is too late to record a bag and you now have only the images to work with?&lt;/P&gt;</description>
      <pubDate>Sun, 14 Oct 2018 17:41:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/how-to-get-x-y-z-from-depth-image-quot-raw-quot/m-p/594986#M11606</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2018-10-14T17:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: how to get (x,y,z) from depth image".raw"</title>
      <link>https://community.intel.com/t5/Items-with-no-label/how-to-get-x-y-z-from-depth-image-quot-raw-quot/m-p/594987#M11607</link>
      <description>&lt;P&gt;I spent a few hours trying to work out a process that will work for you.  I believe the basic steps are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;STEP ONE&lt;/B&gt;&lt;/P&gt;&lt;P&gt;Get your color and depth file images aligned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;STEP TWO&lt;/B&gt;&lt;/P&gt;&lt;P&gt;Convert the aligned image into a point cloud using the instruction deproject_pixel_to_point&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;STEP THREE&lt;/B&gt;&lt;/P&gt;&lt;P&gt;RealSense's SDK Manager, Dorodnic, has suggested using the SDK's point cloud example program to get the XYZ real-world coordinates, as "the output of pointcloud object is a collection of {x,y,z} coordinates in the real world".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/IntelRealSense/librealsense/tree/master/examples/pointcloud"&gt;https://github.com/IntelRealSense/librealsense/tree/master/examples/pointcloud&lt;/A&gt; librealsense/examples/pointcloud at master · IntelRealSense/librealsense · GitHub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wish I could give more detail, but advanced RealSense programming is not one of my areas of expertise.  If you get stuck, I would advise asking a question on the RealSense GitHub website.  you can do this by going to the link below and clicking the 'New Issue' button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/IntelRealSense/librealsense/issues"&gt;https://github.com/IntelRealSense/librealsense/issues&lt;/A&gt; Issues · IntelRealSense/librealsense · GitHub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: a shortcut may be to use the program below with the ROS software to convert a collection of images into a bag file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/raulmur/BagFromImages"&gt;https://github.com/raulmur/BagFromImages&lt;/A&gt; GitHub - raulmur/BagFromImages: Create a rosbag from a collection of images &lt;/P&gt;</description>
      <pubDate>Sun, 14 Oct 2018 19:18:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/how-to-get-x-y-z-from-depth-image-quot-raw-quot/m-p/594987#M11607</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2018-10-14T19:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: how to get (x,y,z) from depth image".raw"</title>
      <link>https://community.intel.com/t5/Items-with-no-label/how-to-get-x-y-z-from-depth-image-quot-raw-quot/m-p/594988#M11608</link>
      <description>&lt;P&gt;Thanks for your time！！I would try  with your guide! ! !&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 15 Oct 2018 00:17:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/how-to-get-x-y-z-from-depth-image-quot-raw-quot/m-p/594988#M11608</guid>
      <dc:creator>czhen7</dc:creator>
      <dc:date>2018-10-15T00:17:33Z</dc:date>
    </item>
  </channel>
</rss>

