<?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: Question) How can i convert rs2::frameset -&amp;gt; iplimage ? in Items with no label</title>
    <link>https://community.intel.com/t5/Items-with-no-label/Question-How-can-i-convert-rs2-frameset-gt-iplimage/m-p/551006#M8696</link>
    <description>&lt;P&gt;The article below discusses doing the conversion with the older R200 and SR300 camera models in Librealsense 1, and may give you some hints that you can adapt for RS2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, one suggestion for an approach is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IplImage *I = cvCreateImageHeader(cvSize(dc_frame-&amp;gt;size[0],dc_frame-&amp;gt;size[1]),IPL_DEPTH_8U,1);&lt;/P&gt;&lt;P&gt;      cvSetData(I,dc_frame-&amp;gt;image,dc_frame-&amp;gt;size[0]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://answers.opencv.org/question/128296/realsense-r200-difference-between-saved-images-and-live-stream/"&gt;http://answers.opencv.org/question/128296/realsense-r200-difference-between-saved-images-and-live-stream/&lt;/A&gt; realsense R200, difference between saved images and live stream? - OpenCV Q&amp;amp;A Forum &lt;/P&gt;</description>
    <pubDate>Tue, 10 Apr 2018 09:19:19 GMT</pubDate>
    <dc:creator>MartyG</dc:creator>
    <dc:date>2018-04-10T09:19:19Z</dc:date>
    <item>
      <title>Question) How can i convert rs2::frameset -&gt; iplimage ?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Question-How-can-i-convert-rs2-frameset-gt-iplimage/m-p/551005#M8695</link>
      <description>&lt;P&gt;Hello, i'm sorry for serial question, but i can't find place where can i ask some problem directly about RealSense SDK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question)&lt;/P&gt;&lt;P&gt;I referenced below sentence in visual studio.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;static rs2::frameset current_frameset;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;than, i want convert this "current_frameset" variable to iplimage for using openCV.&lt;/P&gt;&lt;P&gt;how can i change this one? (exactly, rs2::video_frame -&amp;gt; CvCapture * )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried this one,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cv::Mat img(480,640, CV_8UC3, (uchar3 *)frame-&amp;gt;get_frame_data(rs2::stream::current_frameset));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it came up only error that i can't understand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so, i wish sentence like      " frame = Cv ...  "   (frame is iplimage variable)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank for help!&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 08:30:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Question-How-can-i-convert-rs2-frameset-gt-iplimage/m-p/551005#M8695</guid>
      <dc:creator>mgum1</dc:creator>
      <dc:date>2018-04-10T08:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: Question) How can i convert rs2::frameset -&gt; iplimage ?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Question-How-can-i-convert-rs2-frameset-gt-iplimage/m-p/551006#M8696</link>
      <description>&lt;P&gt;The article below discusses doing the conversion with the older R200 and SR300 camera models in Librealsense 1, and may give you some hints that you can adapt for RS2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, one suggestion for an approach is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IplImage *I = cvCreateImageHeader(cvSize(dc_frame-&amp;gt;size[0],dc_frame-&amp;gt;size[1]),IPL_DEPTH_8U,1);&lt;/P&gt;&lt;P&gt;      cvSetData(I,dc_frame-&amp;gt;image,dc_frame-&amp;gt;size[0]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://answers.opencv.org/question/128296/realsense-r200-difference-between-saved-images-and-live-stream/"&gt;http://answers.opencv.org/question/128296/realsense-r200-difference-between-saved-images-and-live-stream/&lt;/A&gt; realsense R200, difference between saved images and live stream? - OpenCV Q&amp;amp;A Forum &lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 09:19:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Question-How-can-i-convert-rs2-frameset-gt-iplimage/m-p/551006#M8696</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2018-04-10T09:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: Question) How can i convert rs2::frameset -&gt; iplimage ?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Question-How-can-i-convert-rs2-frameset-gt-iplimage/m-p/551007#M8697</link>
      <description>&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i've another question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is that also work in SDK 2.0 as rs2::video_frame to CvCapture?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;simply, i want convert "rs2::video_frame" variable to "CvCapture* "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example)  frame = cvQueryFrame(color);  // it didn't work. how can i fix it?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 11:10:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Question-How-can-i-convert-rs2-frameset-gt-iplimage/m-p/551007#M8697</guid>
      <dc:creator>mgum1</dc:creator>
      <dc:date>2018-04-10T11:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: Question) How can i convert rs2::frameset -&gt; iplimage ?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Question-How-can-i-convert-rs2-frameset-gt-iplimage/m-p/551008#M8698</link>
      <description>&lt;P&gt;Bear in mind that I am adapting an instruction to convert cv::VideoCapture to CvCapture, so this may be wrong.  You could try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rs2::video_frame  capture1(fileName); &lt;/P&gt;&lt;P&gt;if (!capture.isOpened())&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;    // failed, print error message&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;****************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe that in the above script, capture1 is a custom variable name chosen by its author and you could use your own name.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 11:25:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Question-How-can-i-convert-rs2-frameset-gt-iplimage/m-p/551008#M8698</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2018-04-10T11:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: Question) How can i convert rs2::frameset -&gt; iplimage ?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Question-How-can-i-convert-rs2-frameset-gt-iplimage/m-p/551009#M8699</link>
      <description>&lt;P&gt;Thanks alot! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i'll try to modify this one and above instruction.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 11:32:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Question-How-can-i-convert-rs2-frameset-gt-iplimage/m-p/551009#M8699</guid>
      <dc:creator>mgum1</dc:creator>
      <dc:date>2018-04-10T11:32:41Z</dc:date>
    </item>
  </channel>
</rss>

