<?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 error using Erode: stride value is less than the row length in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/error-using-Erode-stride-value-is-less-than-the-row-length/m-p/813552#M4071</link>
    <description>I found out the problem. It was a border-problem, that is, I needed to copy the image to a slightly larger image with borders. That way, I can apply erode, or any other function that uses neighbouring pixels.</description>
    <pubDate>Mon, 04 Oct 2010 14:46:19 GMT</pubDate>
    <dc:creator>saevarg123</dc:creator>
    <dc:date>2010-10-04T14:46:19Z</dc:date>
    <item>
      <title>error using Erode: stride value is less than the row length</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/error-using-Erode-stride-value-is-less-than-the-row-length/m-p/813551#M4070</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am having a hard time using the function erode. It constantly delivers the error &lt;B&gt;stride value is less than the row length&lt;/B&gt;. I am using IPP 6.0.1.071 on ubuntu linux.&lt;BR /&gt;&lt;BR /&gt;What can be causing this? This code is almost identical to the example in the documentation. I also tried Erode3x3 and the in-place variant with no success.&lt;BR /&gt;&lt;BR /&gt;Is this a bug or am I doing something wrong here?? Please take a look at the code here below.&lt;BR /&gt;&lt;BR /&gt;best regards,&lt;BR /&gt;Saevar&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;[bash]#include&lt;IPP.H&gt;

int main(){

IppiSize roiSize = {7,7};
Ipp8u pMask[3*3] = {1,1,1,&lt;BR /&gt; 1,1,1,
                     1,1,1};
IppiSize maskSize = {3,3};
IppiPoint anchor = {1,1};
Ipp8u pSrc[7*7] = {0,0,0,0,0,0,0,
                   0,0,0,1,0,0,0,
                   0,0,1,1,1,0,0,
                    0,1,1,1,1,1,0,
                   0,0,1,1,1,0,0,
                   0,0,0,1,0,0,0,
                   0,0,0,0,0,0,0};
int srcStep = 7;
int dstStep = 7;
Ipp8u pDst[7*7];
int dstSize = 7;&lt;BR /&gt;&lt;BR /&gt;IppStatus thestatus = ippiErode_8u_C1R(pSrc,srcStep,pDst,dstStep,roiSize,pMask,maskSize,anchor);&lt;BR /&gt;printf(ippGetStatusString(thestatus));

return 1;
}[/bash]&lt;/IPP.H&gt;&lt;/PRE&gt; &lt;BR /&gt;</description>
      <pubDate>Fri, 01 Oct 2010 16:31:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/error-using-Erode-stride-value-is-less-than-the-row-length/m-p/813551#M4070</guid>
      <dc:creator>saevarg123</dc:creator>
      <dc:date>2010-10-01T16:31:03Z</dc:date>
    </item>
    <item>
      <title>error using Erode: stride value is less than the row length</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/error-using-Erode-stride-value-is-less-than-the-row-length/m-p/813552#M4071</link>
      <description>I found out the problem. It was a border-problem, that is, I needed to copy the image to a slightly larger image with borders. That way, I can apply erode, or any other function that uses neighbouring pixels.</description>
      <pubDate>Mon, 04 Oct 2010 14:46:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/error-using-Erode-stride-value-is-less-than-the-row-length/m-p/813552#M4071</guid>
      <dc:creator>saevarg123</dc:creator>
      <dc:date>2010-10-04T14:46:19Z</dc:date>
    </item>
    <item>
      <title>error using Erode: stride value is less than the row length</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/error-using-Erode-stride-value-is-less-than-the-row-length/m-p/813553#M4072</link>
      <description>That's right. We're glad you find solution.&lt;BR /&gt;&lt;BR /&gt;Vladimir</description>
      <pubDate>Mon, 04 Oct 2010 15:35:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/error-using-Erode-stride-value-is-less-than-the-row-length/m-p/813553#M4072</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2010-10-04T15:35:34Z</dc:date>
    </item>
  </channel>
</rss>

