<?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 do you select the ROI in depth frame? in Items with no label</title>
    <link>https://community.intel.com/t5/Items-with-no-label/How-do-you-select-the-ROI-in-depth-frame/m-p/681191#M15908</link>
    <description>Hello CDuan2,

Could you please let us know if you have further questions on this topic? 

Thank you and best regards,
Eliza</description>
    <pubDate>Thu, 21 Feb 2019 17:01:45 GMT</pubDate>
    <dc:creator>Eliza_D_Intel</dc:creator>
    <dc:date>2019-02-21T17:01:45Z</dc:date>
    <item>
      <title>How do you select the ROI in depth frame?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/How-do-you-select-the-ROI-in-depth-frame/m-p/681189#M15906</link>
      <description>&lt;P&gt;Hi. I am using Realsense D435 and Matlab wrapper to create the point cloud of my target object.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can successfully detect and tracking the object from the streaming if I convert the depth_frame object into a grayscale image. However, even though I can find the exact location of the object in the image, it is hard for me to create the point cloud out of a grayscale image.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found out that the MATLAB wrapper has a class realsense.pointcloud, which can calculate the point cloud out of a depth_frame object. I am wondering if it is possible to directly crop out the ROI from the depth_frame, or create a depth_frame object from a cropped grayscale image using the SDK.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it is not possible, can I crop out a certain part of the point cloud by giving the coordinate?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the help.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Feb 2019 02:06:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/How-do-you-select-the-ROI-in-depth-frame/m-p/681189#M15906</guid>
      <dc:creator>CDuan2</dc:creator>
      <dc:date>2019-02-15T02:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: How do you select the ROI in depth frame?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/How-do-you-select-the-ROI-in-depth-frame/m-p/681190#M15907</link>
      <description>Hello CDuan2,

Thank you for your interest in the Intel RealSense D435 camera. 

The Matlab Wrapper also contains a function called roi_sensor that can help you set the region of interest. You can integrate it into your application. The code can be found here: &lt;A href="https://github.com/IntelRealSense/librealsense/blob/master/wrappers/matlab/roi_sensor.m"&gt;https://github.com/IntelRealSense/librealsense/blob/master/wrappers/matlab/roi_sensor.m&lt;/A&gt;

Thank you and best regards,
Eliza</description>
      <pubDate>Fri, 15 Feb 2019 03:01:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/How-do-you-select-the-ROI-in-depth-frame/m-p/681190#M15907</guid>
      <dc:creator>Eliza_D_Intel</dc:creator>
      <dc:date>2019-02-15T03:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: How do you select the ROI in depth frame?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/How-do-you-select-the-ROI-in-depth-frame/m-p/681191#M15908</link>
      <description>Hello CDuan2,

Could you please let us know if you have further questions on this topic? 

Thank you and best regards,
Eliza</description>
      <pubDate>Thu, 21 Feb 2019 17:01:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/How-do-you-select-the-ROI-in-depth-frame/m-p/681191#M15908</guid>
      <dc:creator>Eliza_D_Intel</dc:creator>
      <dc:date>2019-02-21T17:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: How do you select the ROI in depth frame?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/How-do-you-select-the-ROI-in-depth-frame/m-p/681192#M15909</link>
      <description>&lt;P&gt;Hey Eliza,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the solution. I somehow didn't figure out how should I create the ​roi_sensor object. However, the problem has been solved. I managed to use get_distance function to find the depth range of the ROI, then the approximate region of the target object's points in the point cloud can be cropped out using select() function.&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;I am still curious how should I use the roi_sensor. It will be lovely if you can offer me some examples or references.&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;Thank you again for your kind help and patience.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 19:13:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/How-do-you-select-the-ROI-in-depth-frame/m-p/681192#M15909</guid>
      <dc:creator>CDuan2</dc:creator>
      <dc:date>2019-02-21T19:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: How do you select the ROI in depth frame?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/How-do-you-select-the-ROI-in-depth-frame/m-p/681193#M15910</link>
      <description>Hello CDuan2,

Unfortunately, in this moment there are no examples available that contain roi_sensor, but we have forwarded your request to the RealSense Team.

Thank you and best regards,
Eliza</description>
      <pubDate>Fri, 22 Feb 2019 00:46:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/How-do-you-select-the-ROI-in-depth-frame/m-p/681193#M15910</guid>
      <dc:creator>Eliza_D_Intel</dc:creator>
      <dc:date>2019-02-22T00:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: How do you select the ROI in depth frame?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/How-do-you-select-the-ROI-in-depth-frame/m-p/1528037#M17796</link>
      <description>&lt;P&gt;Dear Eliza,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to see some examples that contain roi_sensor class in MatLab to set the region of interest directly in the &lt;SPAN&gt;Intel RealSense&amp;nbsp; camera&amp;nbsp;&lt;/SPAN&gt;(I have D415 and&amp;nbsp; D435) Are still not &lt;SPAN&gt;available&lt;/SPAN&gt;?&lt;/P&gt;&lt;P&gt;Please, let me know. Chiara&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 09:19:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/How-do-you-select-the-ROI-in-depth-frame/m-p/1528037#M17796</guid>
      <dc:creator>chiacos</dc:creator>
      <dc:date>2023-09-27T09:19:11Z</dc:date>
    </item>
  </channel>
</rss>

