<?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: Alignment or image dimensions problem? in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Alignment-or-image-dimensions-problem/m-p/906155#M13479</link>
    <description>&lt;P&gt;Hi Vladimir,&lt;/P&gt;
&lt;P&gt;thanks, adding a border did the trick! The manual didn't quite "clue me in" but this thread helped enormously:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.intel.com/en-us/forums//topic/50286"&gt;http://softwareforums.intel.com/en-us/forums//topic/50286&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Sorry for asking such a basic question, but I'm not just new to the IPP but also to image processing in general, and it's a lot of new information for me.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
    <pubDate>Fri, 13 Oct 2006 16:32:47 GMT</pubDate>
    <dc:creator>nrw</dc:creator>
    <dc:date>2006-10-13T16:32:47Z</dc:date>
    <item>
      <title>Alignment or image dimensions problem?</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Alignment-or-image-dimensions-problem/m-p/906152#M13476</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I'm playing with the Image-Processing-MFC demo from w_ipp-sample-image_p_5.1.006. Specifically, I'm trying to changean ippiAdd call to an ippFilter* one.&lt;/P&gt;
&lt;P&gt; IppStatus status = ippiAddC_8u_C3RSfs(&lt;BR /&gt; (Ipp8u*)pSrc-&amp;gt;DataPtr(), pSrc-&amp;gt;Step(), m_value,&lt;BR /&gt; (Ipp8u*)pDst-&amp;gt;DataPtr(), pDst-&amp;gt;Step(),pSrc-&amp;gt;Size(),&lt;BR /&gt; m_scaleFactor);&lt;/P&gt;
&lt;P&gt;This is the original call and it works great. Then I change it like so (only changing the function name and removing the m_value and m_scaleFactor arguments):&lt;/P&gt;
&lt;P&gt; IppStatus status = ippiFilterPrewittHoriz_8u_C3R(&lt;BR /&gt; (Ipp8u*)pSrc-&amp;gt;DataPtr(), pSrc-&amp;gt;Step(),&lt;BR /&gt; (Ipp8u*)pDst-&amp;gt;DataPtr(), pDst-&amp;gt;Step(), pSrc-&amp;gt;Size());&lt;/P&gt;
&lt;P&gt;And it crashes at&lt;/P&gt;
&lt;P&gt;00C89AB0 movq xmm0,mmword ptr [esi]&lt;/P&gt;
&lt;P&gt;... where Visual C++ claims that esi is 16907621.But the image data seems to be allocatedby malloc(), so shouldn'tall databe correctly aligned?Now, I'm barely beginning to use the IPP, but this confuses me because the data type is the same and the number of channels is the same as in the Add call, so whyshouldn't it work? It gets even stranger: When I change the step size and ROI width to a low value such as 60 or 50, the filter does work!&lt;/P&gt;
&lt;P&gt;IppiSize roiSize = { 50, 50 };&lt;/P&gt;
&lt;P&gt;IppStatus status = ippiAddC_8u_C3RSfs(&lt;BR /&gt; (Ipp8u*)pSrc-&amp;gt;DataPtr(), 50, m_value,&lt;BR /&gt; (Ipp8u*)pDst-&amp;gt;DataPtr(), 50,roiSize,&lt;BR /&gt; m_scaleFactor);&lt;/P&gt;
&lt;P&gt;This works and filters a tiny part of the bottom of the image.&lt;/P&gt;
&lt;P&gt;Does this problem sound familiar to anyone? What am I missing?&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2006 21:32:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Alignment-or-image-dimensions-problem/m-p/906152#M13476</guid>
      <dc:creator>nrw</dc:creator>
      <dc:date>2006-10-12T21:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment or image dimensions problem?</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Alignment-or-image-dimensions-problem/m-p/906153#M13477</link>
      <description>&lt;P&gt;Oops the last call should have read&lt;/P&gt;
&lt;P&gt;IppStatus status = ippiFilterPrewittHoriz_8u_C3R( // Works!!!&lt;BR /&gt; (Ipp8u*)pSrc-&amp;gt;DataPtr(), 50,&lt;BR /&gt; (Ipp8u*)pDst-&amp;gt;DataPtr(), 50, roiSize);&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2006 21:45:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Alignment-or-image-dimensions-problem/m-p/906153#M13477</guid>
      <dc:creator>nrw</dc:creator>
      <dc:date>2006-10-12T21:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment or image dimensions problem?</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Alignment-or-image-dimensions-problem/m-p/906154#M13478</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;there is one step, which seems tobe missed. I mean reading IPP user manual document to learn details about 2D filters implementation in IPP. Some filters need border to be allocated caller around of image and some filters do not need it. I think your issue was related to that&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2006 22:07:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Alignment-or-image-dimensions-problem/m-p/906154#M13478</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2006-10-12T22:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment or image dimensions problem?</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Alignment-or-image-dimensions-problem/m-p/906155#M13479</link>
      <description>&lt;P&gt;Hi Vladimir,&lt;/P&gt;
&lt;P&gt;thanks, adding a border did the trick! The manual didn't quite "clue me in" but this thread helped enormously:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.intel.com/en-us/forums//topic/50286"&gt;http://softwareforums.intel.com/en-us/forums//topic/50286&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Sorry for asking such a basic question, but I'm not just new to the IPP but also to image processing in general, and it's a lot of new information for me.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2006 16:32:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Alignment-or-image-dimensions-problem/m-p/906155#M13479</guid>
      <dc:creator>nrw</dc:creator>
      <dc:date>2006-10-13T16:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment or image dimensions problem?</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Alignment-or-image-dimensions-problem/m-p/906156#M13480</link>
      <description>&lt;P&gt;We will be glad to improve IPP documentation, but it is not clear whatwe can add to it. For example, if you'll look at IPP Reference Manual, Volume 2: Image and Video Processing, chapter 9 Filtering Functions, it starts from article named Borders, where concept of borders described.&lt;/P&gt;
&lt;P&gt;Do you have any idea what we can improve in documenation regarding that?&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2006 17:42:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Alignment-or-image-dimensions-problem/m-p/906156#M13480</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2006-10-13T17:42:43Z</dc:date>
    </item>
  </channel>
</rss>

