<?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 Connecting 2 points? in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Connecting-2-points/m-p/917135#M15276</link>
    <description>&lt;P&gt;Hi Folks:&lt;/P&gt;
&lt;P&gt;I have a image initialized with 0 for every pixel. Then there are tow points between which I would like to retrive a line with each pixel on this line being set to 1.&lt;/P&gt;
&lt;P&gt;For the two points, there coordinates (x, y) are known, so the challenge I am facing is to get coordinates of all the pixels on the line (sub-pixel problem) that connects the two points. Once I retrived all (x, y) coordinates for the line, I should set thier value to 1.&lt;/P&gt;
&lt;P&gt;Is there any IPP function can do this? Basically, connecting two points, and return the coordinates? Thanks a lot.&lt;/P&gt;
&lt;P&gt;Nick&lt;/P&gt;</description>
    <pubDate>Wed, 16 Jan 2013 22:12:45 GMT</pubDate>
    <dc:creator>Nick_T_1</dc:creator>
    <dc:date>2013-01-16T22:12:45Z</dc:date>
    <item>
      <title>Connecting 2 points?</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Connecting-2-points/m-p/917135#M15276</link>
      <description>&lt;P&gt;Hi Folks:&lt;/P&gt;
&lt;P&gt;I have a image initialized with 0 for every pixel. Then there are tow points between which I would like to retrive a line with each pixel on this line being set to 1.&lt;/P&gt;
&lt;P&gt;For the two points, there coordinates (x, y) are known, so the challenge I am facing is to get coordinates of all the pixels on the line (sub-pixel problem) that connects the two points. Once I retrived all (x, y) coordinates for the line, I should set thier value to 1.&lt;/P&gt;
&lt;P&gt;Is there any IPP function can do this? Basically, connecting two points, and return the coordinates? Thanks a lot.&lt;/P&gt;
&lt;P&gt;Nick&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jan 2013 22:12:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Connecting-2-points/m-p/917135#M15276</guid>
      <dc:creator>Nick_T_1</dc:creator>
      <dc:date>2013-01-16T22:12:45Z</dc:date>
    </item>
    <item>
      <title>Hi Nick,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Connecting-2-points/m-p/917136#M15277</link>
      <description>Hi Nick,

&amp;gt;&amp;gt;...Is there any IPP function can do this? Basically, connecting two points, and return the coordinates?

Please take a look at &lt;STRONG&gt;Bresenham's Line algorithm&lt;/STRONG&gt; for drawing a line between two points.

Best regards,
Sergey</description>
      <pubDate>Fri, 18 Jan 2013 04:40:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Connecting-2-points/m-p/917136#M15277</guid>
      <dc:creator>SergeyKostrov</dc:creator>
      <dc:date>2013-01-18T04:40:03Z</dc:date>
    </item>
  </channel>
</rss>

