<?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 How to convert  cv::Mat to  rs2::frame ? in Items with no label</title>
    <link>https://community.intel.com/t5/Items-with-no-label/How-to-convert-cv-Mat-to-rs2-frame/m-p/607303#M12641</link>
    <description>&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;I have already seen this question in this community but didn't get the answer I want.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In rs_align, I have converted the rs2:: frame to cv:: Mat for using the joint bilateral filter provided by OpenCV to improve the quality of the depth map. The depth map of the processed mat type that is obtained cannot be used to call remove_background（）.&lt;/P&gt;&lt;P&gt;So,I just want to know how to convert cv:: Mat to  rs2:: frame. If you can help me, I would be very grateful.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
    <pubDate>Tue, 23 Oct 2018 13:59:34 GMT</pubDate>
    <dc:creator>yliu54</dc:creator>
    <dc:date>2018-10-23T13:59:34Z</dc:date>
    <item>
      <title>How to convert  cv::Mat to  rs2::frame ?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/How-to-convert-cv-Mat-to-rs2-frame/m-p/607303#M12641</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;I have already seen this question in this community but didn't get the answer I want.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In rs_align, I have converted the rs2:: frame to cv:: Mat for using the joint bilateral filter provided by OpenCV to improve the quality of the depth map. The depth map of the processed mat type that is obtained cannot be used to call remove_background（）.&lt;/P&gt;&lt;P&gt;So,I just want to know how to convert cv:: Mat to  rs2:: frame. If you can help me, I would be very grateful.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 23 Oct 2018 13:59:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/How-to-convert-cv-Mat-to-rs2-frame/m-p/607303#M12641</guid>
      <dc:creator>yliu54</dc:creator>
      <dc:date>2018-10-23T13:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert  cv::Mat to  rs2::frame ?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/How-to-convert-cv-Mat-to-rs2-frame/m-p/607304#M12642</link>
      <description>&lt;P&gt;Intel support team member Eliza has stated on a past reply to this question in September 2018, "The memory in rs2::frame may be reused by librealsense/UVC.   Converting from cv::Mat to rs2::frame (copy pixel array to a object of rs2::frame) is not a good idea.  Note that when the camera captures images, the uvcvideo driver writes the frame information into the rs2::frame".&lt;/P&gt;</description>
      <pubDate>Tue, 23 Oct 2018 14:17:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/How-to-convert-cv-Mat-to-rs2-frame/m-p/607304#M12642</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2018-10-23T14:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert  cv::Mat to  rs2::frame ?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/How-to-convert-cv-Mat-to-rs2-frame/m-p/607305#M12643</link>
      <description>&lt;P&gt;Thank you for your reply!&lt;/P&gt;&lt;P&gt;But in order to use cv::ximgproc:: jointBilateralFilter,I have converted &lt;B&gt;rs2::frame to cv:: mat&lt;/B&gt;.I just want to transform the &lt;B&gt;destination filtered depth map(rs:: mat)&lt;/B&gt; to rs:: frame for using the remove_background().&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 01:31:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/How-to-convert-cv-Mat-to-rs2-frame/m-p/607305#M12643</guid>
      <dc:creator>yliu54</dc:creator>
      <dc:date>2018-10-24T01:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert  cv::Mat to  rs2::frame ?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/How-to-convert-cv-Mat-to-rs2-frame/m-p/607306#M12644</link>
      <description>&lt;P&gt;I do not know how to do such a conversion, unfortunately.  Hopefully one of the Intel support team on this forum can provide some advice on this.  Good luck!  &lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 06:25:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/How-to-convert-cv-Mat-to-rs2-frame/m-p/607306#M12644</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2018-10-24T06:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert  cv::Mat to  rs2::frame ?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/How-to-convert-cv-Mat-to-rs2-frame/m-p/607307#M12645</link>
      <description>&lt;P&gt;Anyway, thank you for your attention!&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 07:11:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/How-to-convert-cv-Mat-to-rs2-frame/m-p/607307#M12645</guid>
      <dc:creator>yliu54</dc:creator>
      <dc:date>2018-10-24T07:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert  cv::Mat to  rs2::frame ?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/How-to-convert-cv-Mat-to-rs2-frame/m-p/607308#M12646</link>
      <description>&lt;P&gt;Hello Yu523,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;I see your question has been answered here:  &lt;A href="https://github.com/IntelRealSense/librealsense/issues/2634"&gt;https://github.com/IntelRealSense/librealsense/issues/2634&lt;/A&gt;.&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Regards,&lt;P&gt;&amp;nbsp;&lt;/P&gt;Jesus&lt;P&gt;&amp;nbsp;&lt;/P&gt;Intel Customer Support</description>
      <pubDate>Mon, 29 Oct 2018 14:59:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/How-to-convert-cv-Mat-to-rs2-frame/m-p/607308#M12646</guid>
      <dc:creator>idata</dc:creator>
      <dc:date>2018-10-29T14:59:46Z</dc:date>
    </item>
  </channel>
</rss>

