<?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 D415 TRUE-RAW stream? in Items with no label</title>
    <link>https://community.intel.com/t5/Items-with-no-label/How-to-get-D415-TRUE-RAW-stream/m-p/572997#M10207</link>
    <description>&lt;P&gt;NO, the first answer is not the solution. Even though RS2_FORMAT_RAW10 is specified in rs2_format, the following code &lt;B&gt;throws an exception&lt;/B&gt;. (which marked X)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;config cfg;  &lt;/LI&gt;&lt;LI&gt;cfg.enable_device(dev.get_info(RS2_CAMERA_INFO_SERIAL_NUMBER));  &lt;/LI&gt;&lt;LI&gt;//cfg.enable_stream(RS2_STREAM_INFRARED, 1, 1920, 1080, RS2_FORMAT_RAW16, 0); X  &lt;/LI&gt;&lt;LI&gt;//cfg.enable_stream(RS2_STREAM_INFRARED, 1, 1920, 1080, RS2_FORMAT_RAW10); X  &lt;/LI&gt;&lt;LI&gt;//cfg.enable_stream(RS2_STREAM_INFRARED, 1920, 1080, RS2_FORMAT_RAW10); X  &lt;/LI&gt;&lt;LI&gt;//cfg.enable_stream(RS2_STREAM_COLOR, 1920, 1080, RS2_FORMAT_RAW10); X  &lt;/LI&gt;&lt;LI&gt;//cfg.enable_stream(RS2_STREAM_COLOR, 1920, 1080, RS2_FORMAT_RAW16); O  &lt;/LI&gt;&lt;LI&gt;//cfg.enable_stream(RS2_STREAM_INFRARED, 1920, 1080, RS2_FORMAT_RAW16); X  &lt;/LI&gt;&lt;LI&gt;pipeline pipe;  &lt;/LI&gt;&lt;LI&gt;pipeline_profile profile = pipe.start(cfg);  &lt;/LI&gt;&lt;LI&gt;frameset frames = pipe.wait_for_frames();  &lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my research, Sensor has there &lt;B&gt;own unique stream format&lt;/B&gt; which is predetermined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Color Stream - RAW16/Y16/BGRA8/RGBA8/BGR8/RGB8/YUYV (*and also only FHD resolution can use RAW16 )&lt;/P&gt;&lt;P&gt;Infrared Stream 0 - UYVY/Y16/BGRA8/RGBA8/BGR8/RGB8&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Infrared Stream 1&amp;amp;2 - Y16/Y8 (* Y16 only can use in [FHD resolution X 25,15 fps] and [960x540 X 25,15 fps])&lt;/P&gt;&lt;P&gt;Depth Stream - Z16 only&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe your second answer could be a solution, but there is very little sample code....&lt;/P&gt;</description>
    <pubDate>Thu, 08 Feb 2018 06:16:29 GMT</pubDate>
    <dc:creator>준노</dc:creator>
    <dc:date>2018-02-08T06:16:29Z</dc:date>
    <item>
      <title>How to get D415 TRUE-RAW stream?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/How-to-get-D415-TRUE-RAW-stream/m-p/572995#M10205</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using D415 Camera and I try to get RAW stream from each cam (rgb, ir-left, ir-right).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I read this &lt;A href="http://https//www.intel.com/content/dam/support/us/en/documents/emerging-technologies/intel-realsense-technology/Intel-RealSense-D40-Series-Datasheet.pdf"&gt;http://https//www.intel.com/content/dam/support/us/en/documents/emerging-technologies/intel-realsense-technology/Intel-RealSense-D40-Series-Datasheet.pdf&lt;/A&gt; documents, and I know how to get data stream for each camera. like below code.&lt;/P&gt;&lt;P&gt;(RGB - BGRA8, BGR8, Y16 ... / Infrared left&amp;amp;right - Y16, Y8)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sensors = device.query_sensors();&lt;/P&gt;&lt;P&gt;stereoSensor = sensors[0];&lt;/P&gt;&lt;P&gt;stereoSensor.open(stream_profile);&lt;/P&gt;&lt;P&gt;stereoSensor.start([&amp;amp;](rs2::frame f) {m_ir2_FrameQueue.enqueue(f); });&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I want RAW-Stream, not as &lt;B&gt;formatted(Y16, Y8, RGB8... etc) data.&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i do this?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2018 03:35:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/How-to-get-D415-TRUE-RAW-stream/m-p/572995#M10205</guid>
      <dc:creator>준노</dc:creator>
      <dc:date>2018-02-07T03:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to get D415 TRUE-RAW stream?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/How-to-get-D415-TRUE-RAW-stream/m-p/572996#M10206</link>
      <description>&lt;P&gt;The link below has a script with a list of image formats on lines 54 to 74.  RAW10 is referred to by the term RS2_FORMAT_RAW10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/IntelRealSense/librealsense/blob/5e73f7bb906a3cbec8ae43e888f182cc56c18692/include/librealsense2/h/rs_sensor.h#"&gt;https://github.com/IntelRealSense/librealsense/blob/5e73f7bb906a3cbec8ae43e888f182cc56c18692/include/librealsense2/h/rs_sensor.h#&lt;/A&gt; L55 librealsense/rs_sensor.h at 5e73f7bb906a3cbec8ae43e888f182cc56c18692 · IntelRealSense/librealsense · GitHub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My research indicates that the instructions would look something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;RAW10 COLOR&lt;/B&gt;&lt;/P&gt;&lt;P&gt;{ RS2_STREAM_COLOR, RS2_FORMAT_RAW10, width, height, 0 },&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;RAW10 INFRARED&lt;/B&gt;&lt;/P&gt;&lt;P&gt;{ RS2_STREAM_INFRARED, RS2_FORMAT_RAW10, width, height, 0 },&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;RAW10 DEPTH&lt;/B&gt;&lt;/P&gt;&lt;P&gt;{ RS2_STREAM_DEPTH, RS2_FORMAT_RAW10, width, height, 0 },&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More complex use of these instructions can be found in the script below, from line 635 onwards down to the end of the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/IntelRealSense/librealsense/blob/master/src/image.cpp"&gt;https://github.com/IntelRealSense/librealsense/blob/master/src/image.cpp&lt;/A&gt; librealsense/image.cpp at master · IntelRealSense/librealsense · GitHub&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2018 08:48:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/How-to-get-D415-TRUE-RAW-stream/m-p/572996#M10206</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2018-02-07T08:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to get D415 TRUE-RAW stream?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/How-to-get-D415-TRUE-RAW-stream/m-p/572997#M10207</link>
      <description>&lt;P&gt;NO, the first answer is not the solution. Even though RS2_FORMAT_RAW10 is specified in rs2_format, the following code &lt;B&gt;throws an exception&lt;/B&gt;. (which marked X)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;config cfg;  &lt;/LI&gt;&lt;LI&gt;cfg.enable_device(dev.get_info(RS2_CAMERA_INFO_SERIAL_NUMBER));  &lt;/LI&gt;&lt;LI&gt;//cfg.enable_stream(RS2_STREAM_INFRARED, 1, 1920, 1080, RS2_FORMAT_RAW16, 0); X  &lt;/LI&gt;&lt;LI&gt;//cfg.enable_stream(RS2_STREAM_INFRARED, 1, 1920, 1080, RS2_FORMAT_RAW10); X  &lt;/LI&gt;&lt;LI&gt;//cfg.enable_stream(RS2_STREAM_INFRARED, 1920, 1080, RS2_FORMAT_RAW10); X  &lt;/LI&gt;&lt;LI&gt;//cfg.enable_stream(RS2_STREAM_COLOR, 1920, 1080, RS2_FORMAT_RAW10); X  &lt;/LI&gt;&lt;LI&gt;//cfg.enable_stream(RS2_STREAM_COLOR, 1920, 1080, RS2_FORMAT_RAW16); O  &lt;/LI&gt;&lt;LI&gt;//cfg.enable_stream(RS2_STREAM_INFRARED, 1920, 1080, RS2_FORMAT_RAW16); X  &lt;/LI&gt;&lt;LI&gt;pipeline pipe;  &lt;/LI&gt;&lt;LI&gt;pipeline_profile profile = pipe.start(cfg);  &lt;/LI&gt;&lt;LI&gt;frameset frames = pipe.wait_for_frames();  &lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my research, Sensor has there &lt;B&gt;own unique stream format&lt;/B&gt; which is predetermined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Color Stream - RAW16/Y16/BGRA8/RGBA8/BGR8/RGB8/YUYV (*and also only FHD resolution can use RAW16 )&lt;/P&gt;&lt;P&gt;Infrared Stream 0 - UYVY/Y16/BGRA8/RGBA8/BGR8/RGB8&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Infrared Stream 1&amp;amp;2 - Y16/Y8 (* Y16 only can use in [FHD resolution X 25,15 fps] and [960x540 X 25,15 fps])&lt;/P&gt;&lt;P&gt;Depth Stream - Z16 only&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe your second answer could be a solution, but there is very little sample code....&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2018 06:16:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/How-to-get-D415-TRUE-RAW-stream/m-p/572997#M10207</guid>
      <dc:creator>준노</dc:creator>
      <dc:date>2018-02-08T06:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to get D415 TRUE-RAW stream?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/How-to-get-D415-TRUE-RAW-stream/m-p/572998#M10208</link>
      <description>&lt;P&gt;Hello njsnacker,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;The RAW format is not exposed to end users. To view all supported stream formats for each sensor use the command:&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;rs-enumerate-devices -m &lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;We have submitted this request for support to the engineering team but we cannot say if and when it will be implemented.&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&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2018 18:43:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/How-to-get-D415-TRUE-RAW-stream/m-p/572998#M10208</guid>
      <dc:creator>idata</dc:creator>
      <dc:date>2018-02-12T18:43:03Z</dc:date>
    </item>
  </channel>
</rss>

