<?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 Mapped points from Color to Depth Issue in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Mapped-points-from-Color-to-Depth-Issue/m-p/1120451#M75913</link>
    <description>&lt;P&gt;Hello All,&lt;/P&gt;

&lt;P&gt;Mapped points from a valid color coordinate to depth is showing as negative e.g. :&lt;/P&gt;

&lt;P&gt;lets say i take some color image coordinate (400, 402) and map the coordinate to depth (u,v) pixel locations than it shows as (-1, -1).&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Please note here that those coordinate were not far from the camera nor even near, as that issue i already know this problem from one of the posts from sebastian.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;

&lt;P style="font-size: 13.008px; line-height: 19.512px;"&gt;Code :&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/P&gt;

&lt;P style="font-size: 13.008px; line-height: 19.512px;"&gt;PXCPointF32 *posij = new PXCPointF32[no_of_points];&lt;/P&gt;

&lt;P style="font-size: 13.008px; line-height: 19.512px;"&gt;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;PXCPointF32 *posuv = new PXCPointF32[no_of_points];&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="font-size: 13.008px; line-height: 19.512px;"&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;projection-&amp;gt;MapColorToDepth(_depth, no_of_points, posij, posuv);&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="font-size: 13.008px; line-height: 19.512px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; where _depth is PXCImage* depth image;&lt;/P&gt;

&lt;P&gt;Please help.&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Anjani J.&lt;/P&gt;</description>
    <pubDate>Sun, 08 May 2016 18:39:40 GMT</pubDate>
    <dc:creator>anjani_j_</dc:creator>
    <dc:date>2016-05-08T18:39:40Z</dc:date>
    <item>
      <title>Mapped points from Color to Depth Issue</title>
      <link>https://community.intel.com/t5/Software-Archive/Mapped-points-from-Color-to-Depth-Issue/m-p/1120451#M75913</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;

&lt;P&gt;Mapped points from a valid color coordinate to depth is showing as negative e.g. :&lt;/P&gt;

&lt;P&gt;lets say i take some color image coordinate (400, 402) and map the coordinate to depth (u,v) pixel locations than it shows as (-1, -1).&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Please note here that those coordinate were not far from the camera nor even near, as that issue i already know this problem from one of the posts from sebastian.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;

&lt;P style="font-size: 13.008px; line-height: 19.512px;"&gt;Code :&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/P&gt;

&lt;P style="font-size: 13.008px; line-height: 19.512px;"&gt;PXCPointF32 *posij = new PXCPointF32[no_of_points];&lt;/P&gt;

&lt;P style="font-size: 13.008px; line-height: 19.512px;"&gt;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;PXCPointF32 *posuv = new PXCPointF32[no_of_points];&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="font-size: 13.008px; line-height: 19.512px;"&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;projection-&amp;gt;MapColorToDepth(_depth, no_of_points, posij, posuv);&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="font-size: 13.008px; line-height: 19.512px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; where _depth is PXCImage* depth image;&lt;/P&gt;

&lt;P&gt;Please help.&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Anjani J.&lt;/P&gt;</description>
      <pubDate>Sun, 08 May 2016 18:39:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Mapped-points-from-Color-to-Depth-Issue/m-p/1120451#M75913</guid>
      <dc:creator>anjani_j_</dc:creator>
      <dc:date>2016-05-08T18:39:40Z</dc:date>
    </item>
    <item>
      <title>If your mapped point returns</title>
      <link>https://community.intel.com/t5/Software-Archive/Mapped-points-from-Color-to-Depth-Issue/m-p/1120452#M75914</link>
      <description>&lt;P&gt;If your mapped point returns (-1,-1), it usually means that there is no point in the depth image corresponding to the point you've asked for. So either it's not in depth range (though you've said it should be), or it's outside of the depth frame: becuase the two cameras point to different locations, some edges of the colour photo can't be seen by the depth lens. If your points aren't too close to the edges you should be safe here.&lt;/P&gt;

&lt;P&gt;Though looking at your code, just checking you are filling in your posij array? ie, posij[0] = new PXCPoint(400,402);&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2016 08:32:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Mapped-points-from-Color-to-Depth-Issue/m-p/1120452#M75914</guid>
      <dc:creator>jb455</dc:creator>
      <dc:date>2016-05-09T08:32:53Z</dc:date>
    </item>
  </channel>
</rss>

