<?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: MapColorToDepth() is always failure in Items with no label</title>
    <link>https://community.intel.com/t5/Items-with-no-label/MapColorToDepth-is-always-failure/m-p/512640#M6660</link>
    <description>&lt;P&gt;Should your inputs be arrays instead of vectors maybe? I haven't done much with c++ so don't know if they're equivalent but it may be worth a try! Or does your working ProjectDepthToCamera call use vectors successfully? The only other thing I can think of is whether you've initialised your projection instance? (ie, you've called Device.CreateProjection())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit:&lt;/P&gt;&lt;P&gt;Actually, it looks like you're giving the method a single PXCPoint by using ijmap[0] instead of ijmap - in C#  at least (may be different with C++) if you want to project a single point you need to give it an array with a single item in, not the point itself. Is that the issue?&lt;/P&gt;</description>
    <pubDate>Wed, 26 Jul 2017 10:03:11 GMT</pubDate>
    <dc:creator>jb455</dc:creator>
    <dc:date>2017-07-26T10:03:11Z</dc:date>
    <item>
      <title>MapColorToDepth() is always failure</title>
      <link>https://community.intel.com/t5/Items-with-no-label/MapColorToDepth-is-always-failure/m-p/512636#M6656</link>
      <description>&lt;P&gt;I use c++ ,when I use the MapColorToDepth(),always failure&lt;/P&gt;&lt;P&gt;this is the definition：&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;A href="https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/documentation/html/pxcstatus.html"&gt;https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/documentation/html/pxcstatus.html&lt;/A&gt; pxcStatus MapColorToDepth(&lt;A href="https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/documentation/html/pxcimage.html"&gt;https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/documentation/html/pxcimage.html&lt;/A&gt; PXCImage *depth, pxcI32 npoints, &lt;A href="https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/documentation/html/pxcpointf32.html"&gt;https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/documentation/html/pxcpointf32.html&lt;/A&gt; PXCPointF32 *pos_ij, &lt;A href="https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/documentation/html/pxcpointf32.html"&gt;https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/documentation/html/pxcpointf32.html&lt;/A&gt; PXCPointF32 *pos_uv);&lt;P&gt;I find when just npoints=0,the pxcStatus is STATUS_NO_ERROR。when the npoints=ijmap.size(),it's error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 23 Jul 2017 11:53:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/MapColorToDepth-is-always-failure/m-p/512636#M6656</guid>
      <dc:creator>xzhou15</dc:creator>
      <dc:date>2017-07-23T11:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: MapColorToDepth() is always failure</title>
      <link>https://community.intel.com/t5/Items-with-no-label/MapColorToDepth-is-always-failure/m-p/512637#M6657</link>
      <description>&lt;P&gt;I am not a RealSense stream programming expert, so I apologize if my answer is not helpful.  I spent a while carefully checking through your script and comparing sections of it to scripts on the internet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could find no examples where ijmap is used with the push_back instruction.  Are you sure that it should not be iMap?  I.e&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;iMap.push_back(ppoint);&lt;/P&gt;</description>
      <pubDate>Sun, 23 Jul 2017 12:57:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/MapColorToDepth-is-always-failure/m-p/512637#M6657</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2017-07-23T12:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: MapColorToDepth() is always failure</title>
      <link>https://community.intel.com/t5/Items-with-no-label/MapColorToDepth-is-always-failure/m-p/512638#M6658</link>
      <description>&lt;P&gt;Thank you,I use c++，ijmap is a vector，I used a similar function such as  pxcStatus PXCAPI ProjectDepthToCamera(pxcI32 npoints, PXCPoint3DF32 *pos_uvz, PXCPoint3DF32 *pos3d);It's successful。&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2017 01:41:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/MapColorToDepth-is-always-failure/m-p/512638#M6658</guid>
      <dc:creator>xzhou15</dc:creator>
      <dc:date>2017-07-24T01:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: MapColorToDepth() is always failure</title>
      <link>https://community.intel.com/t5/Items-with-no-label/MapColorToDepth-is-always-failure/m-p/512639#M6659</link>
      <description>&lt;P&gt;Ok, sorry.  Like I said, stream programming is not my expert area.  I wanted to try to help though.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you have got your program working successfully now?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2017 07:14:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/MapColorToDepth-is-always-failure/m-p/512639#M6659</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2017-07-24T07:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: MapColorToDepth() is always failure</title>
      <link>https://community.intel.com/t5/Items-with-no-label/MapColorToDepth-is-always-failure/m-p/512640#M6660</link>
      <description>&lt;P&gt;Should your inputs be arrays instead of vectors maybe? I haven't done much with c++ so don't know if they're equivalent but it may be worth a try! Or does your working ProjectDepthToCamera call use vectors successfully? The only other thing I can think of is whether you've initialised your projection instance? (ie, you've called Device.CreateProjection())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit:&lt;/P&gt;&lt;P&gt;Actually, it looks like you're giving the method a single PXCPoint by using ijmap[0] instead of ijmap - in C#  at least (may be different with C++) if you want to project a single point you need to give it an array with a single item in, not the point itself. Is that the issue?&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2017 10:03:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/MapColorToDepth-is-always-failure/m-p/512640#M6660</guid>
      <dc:creator>jb455</dc:creator>
      <dc:date>2017-07-26T10:03:11Z</dc:date>
    </item>
  </channel>
</rss>

