<?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 use librealsense to find R200 focal length? in Items with no label</title>
    <link>https://community.intel.com/t5/Items-with-no-label/How-to-use-librealsense-to-find-R200-focal-length/m-p/448689#M3246</link>
    <description>&lt;P&gt;In Librealsense, the focal length is processed within the rs_intrinsics struct.  The fx and fy fields describe the focal length of the image, as a multiple of pixel width and height&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the script in the link below, an example of the use of rs_intrinsics to calculate focal length can be seen in lines 300 to 310 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/include/librealsense/rs.h"&gt;https://github.com/IntelRealSense/librealsense/blob/master/include/librealsense/rs.h&lt;/A&gt; librealsense/rs.h at master · IntelRealSense/librealsense · GitHub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Line 597 of the script is used to retrieve the details of the intrinsics with the 'rs_get_stream_intrinsics' instruction for any stream which has been enabled with a call to rs_enable_stream or rs_enable_stream_preset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Full details at this link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/IntelRealSense/librealsense/blob/master/doc/projection.md#"&gt;https://github.com/IntelRealSense/librealsense/blob/master/doc/projection.md#&lt;/A&gt; intrinsic-camera-parameters librealsense/&lt;A href="http://projection.md"&gt;projection.md&lt;/A&gt; at master · IntelRealSense/librealsense · GitHub &lt;/P&gt;</description>
    <pubDate>Sat, 22 Apr 2017 08:08:54 GMT</pubDate>
    <dc:creator>MartyG</dc:creator>
    <dc:date>2017-04-22T08:08:54Z</dc:date>
    <item>
      <title>How to use librealsense to find R200 focal length?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/How-to-use-librealsense-to-find-R200-focal-length/m-p/448688#M3245</link>
      <description>&lt;P&gt;I use Intel Aero compute board to run my program and I want to know R200's focal length.&lt;/P&gt;&lt;P&gt;I saw a post:   , they use the SDK for Windows, I think it can't run on Aero.&lt;/P&gt;</description>
      <pubDate>Sat, 22 Apr 2017 07:45:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/How-to-use-librealsense-to-find-R200-focal-length/m-p/448688#M3245</guid>
      <dc:creator>ychan261</dc:creator>
      <dc:date>2017-04-22T07:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to use librealsense to find R200 focal length?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/How-to-use-librealsense-to-find-R200-focal-length/m-p/448689#M3246</link>
      <description>&lt;P&gt;In Librealsense, the focal length is processed within the rs_intrinsics struct.  The fx and fy fields describe the focal length of the image, as a multiple of pixel width and height&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the script in the link below, an example of the use of rs_intrinsics to calculate focal length can be seen in lines 300 to 310 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/include/librealsense/rs.h"&gt;https://github.com/IntelRealSense/librealsense/blob/master/include/librealsense/rs.h&lt;/A&gt; librealsense/rs.h at master · IntelRealSense/librealsense · GitHub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Line 597 of the script is used to retrieve the details of the intrinsics with the 'rs_get_stream_intrinsics' instruction for any stream which has been enabled with a call to rs_enable_stream or rs_enable_stream_preset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Full details at this link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/IntelRealSense/librealsense/blob/master/doc/projection.md#"&gt;https://github.com/IntelRealSense/librealsense/blob/master/doc/projection.md#&lt;/A&gt; intrinsic-camera-parameters librealsense/&lt;A href="http://projection.md"&gt;projection.md&lt;/A&gt; at master · IntelRealSense/librealsense · GitHub &lt;/P&gt;</description>
      <pubDate>Sat, 22 Apr 2017 08:08:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/How-to-use-librealsense-to-find-R200-focal-length/m-p/448689#M3246</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2017-04-22T08:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to use librealsense to find R200 focal length?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/How-to-use-librealsense-to-find-R200-focal-length/m-p/448690#M3247</link>
      <description>&lt;P&gt;Thank you, MartyG&lt;/P&gt;&lt;P&gt;But I have another question, why there are fx and fy?&lt;/P&gt;&lt;P&gt;I found a website: &lt;A href="https://www.theimagingsource.com/media/blog/archive/20080614/"&gt;https://www.theimagingsource.com/media/blog/archive/20080614/&lt;/A&gt; Lenses Selection and Setup - Part 1 , but I still don't understand what is that mean.&lt;/P&gt;</description>
      <pubDate>Sat, 22 Apr 2017 08:28:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/How-to-use-librealsense-to-find-R200-focal-length/m-p/448690#M3247</guid>
      <dc:creator>ychan261</dc:creator>
      <dc:date>2017-04-22T08:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to use librealsense to find R200 focal length?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/How-to-use-librealsense-to-find-R200-focal-length/m-p/448691#M3248</link>
      <description>&lt;P&gt;I would assume that fx and fy are the horizontal (X) and vertical (Y) length of the focal (F).  Hence fx and fy.  So on the diagram on the site you linked to, 'focal length of the height' should be fy and 'focal length of the width' should be fx. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the formulas on that site, object height and the distance between the camera and object are the easiest values to work out.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This image from the R200 data sheet describes the length and width of its field of view for the Color and IR cameras.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Apr 2017 08:44:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/How-to-use-librealsense-to-find-R200-focal-length/m-p/448691#M3248</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2017-04-22T08:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to use librealsense to find R200 focal length?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/How-to-use-librealsense-to-find-R200-focal-length/m-p/448692#M3249</link>
      <description>&lt;P&gt;Ok, I understand, and the unit of fx and fy is mm, right?&lt;/P&gt;</description>
      <pubDate>Sat, 22 Apr 2017 09:24:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/How-to-use-librealsense-to-find-R200-focal-length/m-p/448692#M3249</guid>
      <dc:creator>ychan261</dc:creator>
      <dc:date>2017-04-22T09:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to use librealsense to find R200 focal length?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/How-to-use-librealsense-to-find-R200-focal-length/m-p/448693#M3250</link>
      <description>&lt;P&gt;In the web-page about projection that I linked you to, it stated that the default measurement scale for the R200 is mm.  I also generally find that mm is the appropriate scale to use with RealSense functions.  Also, with real-world cameras the standard measurement scale for focal length is mm.&lt;/P&gt;</description>
      <pubDate>Sat, 22 Apr 2017 09:44:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/How-to-use-librealsense-to-find-R200-focal-length/m-p/448693#M3250</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2017-04-22T09:44:08Z</dc:date>
    </item>
  </channel>
</rss>

