<?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 IPP erode issue when eroding entire image in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-erode-issue-when-eroding-entire-image/m-p/769872#M584</link>
    <description>Hello cks2k2, 

Coudl you please provide the input and output, 
And if possible,  please add the below code 
// Print the version of ipp being used
   const IppLibraryVersion* lib = ippiGetLibVersion();
   printf("%s %s %d.%d.%d.%d\n", lib-&amp;gt;Name, lib-&amp;gt;Version,lib-&amp;gt;major, lib-&amp;gt;minor, lib-&amp;gt;majorBuild, lib-&amp;gt;build);
in your code and and let me know the result?

Regards,
Ying H.</description>
    <pubDate>Wed, 17 Aug 2011 08:50:11 GMT</pubDate>
    <dc:creator>Ying_H_Intel</dc:creator>
    <dc:date>2011-08-17T08:50:11Z</dc:date>
    <item>
      <title>IPP erode issue when eroding entire image</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-erode-issue-when-eroding-entire-image/m-p/769871#M583</link>
      <description>I am trying to apply an erode operation to an entire grayscale image.&lt;DIV&gt;Realizing the issues with borders, I use ippiErodeBorderReplicate() but a cross-check with the expected output shows that some pixels (~10) at the top and bottom border are incorrect.&lt;/DIV&gt;&lt;DIV&gt;&lt;PRE&gt;[bash]Ipp8u mask[9] = {0,1,0,1,1,1,0,1,0}; // some random kernel
IppiSize maskSize = {3,3};
IppiPoint anchor = {1,1};
IppiMorphState* morphState = NULL;
IppStatus status;

ippiMorphologyInitAlloc_8u_C1R(dstRoiSize.width, mask, maskSize, anchor, &amp;amp;morphState);

status = ippiErodeBorderReplicate_8u_C1R(pSrc, srcStep, pDst, dstStep, dstRoiSize, ippBorderRepl, morphState);

ippiMorphologyFree(morphState);[/bash]&lt;/PRE&gt; &lt;/DIV&gt;&lt;DIV&gt;A copy of the source image is created before the code above is called; source and image have exact same dimensions. ROI has same dimension as source and destination.&lt;/DIV&gt;</description>
      <pubDate>Wed, 17 Aug 2011 03:33:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-erode-issue-when-eroding-entire-image/m-p/769871#M583</guid>
      <dc:creator>cks2k2</dc:creator>
      <dc:date>2011-08-17T03:33:30Z</dc:date>
    </item>
    <item>
      <title>IPP erode issue when eroding entire image</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-erode-issue-when-eroding-entire-image/m-p/769872#M584</link>
      <description>Hello cks2k2, 

Coudl you please provide the input and output, 
And if possible,  please add the below code 
// Print the version of ipp being used
   const IppLibraryVersion* lib = ippiGetLibVersion();
   printf("%s %s %d.%d.%d.%d\n", lib-&amp;gt;Name, lib-&amp;gt;Version,lib-&amp;gt;major, lib-&amp;gt;minor, lib-&amp;gt;majorBuild, lib-&amp;gt;build);
in your code and and let me know the result?

Regards,
Ying H.</description>
      <pubDate>Wed, 17 Aug 2011 08:50:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-erode-issue-when-eroding-entire-image/m-p/769872#M584</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2011-08-17T08:50:11Z</dc:date>
    </item>
    <item>
      <title>IPP erode issue when eroding entire image</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-erode-issue-when-eroding-entire-image/m-p/769873#M585</link>
      <description>Hi the output that you requested:&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV id="_mcePaste"&gt;lib name: ippiv8l.lib&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;version: 5.2.108.410&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;On IPP 5.2.&lt;/DIV&gt;</description>
      <pubDate>Thu, 18 Aug 2011 05:55:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-erode-issue-when-eroding-entire-image/m-p/769873#M585</guid>
      <dc:creator>cks2k2</dc:creator>
      <dc:date>2011-08-18T05:55:16Z</dc:date>
    </item>
    <item>
      <title>IPP erode issue when eroding entire image</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-erode-issue-when-eroding-entire-image/m-p/769874#M586</link>
      <description>&lt;P&gt;Have you try the latest version? &lt;BR /&gt;( geta 30-dayseval version from&lt;A href="http://software.intel.com/en-us/articles/ipp-downloads-registration-and-licensing/"&gt;Intel Downloads, Registration and Licensing&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;As you haven't provide the test image,Itried the sample 8-2 &lt;BR /&gt;&lt;BR /&gt;#include &lt;STDIO.H&gt;&lt;BR /&gt;#include &lt;STDLIB.H&gt;&lt;BR /&gt;#include "ipp.h"&lt;/STDLIB.H&gt;&lt;/STDIO.H&gt;&lt;/P&gt;&lt;P&gt;int main()&lt;BR /&gt;{&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;// Print the version of ipp being used&lt;BR /&gt; const IppLibraryVersion* lib = ippiGetLibVersion();&lt;BR /&gt; printf("%s %s %d.%d.%d.%d\n", lib-&amp;gt;Name, lib-&amp;gt;Version,lib-&amp;gt;major, lib-&amp;gt;minor, lib-&amp;gt;majorBuild, lib-&amp;gt;build);&lt;BR /&gt;&lt;BR /&gt;IppiMorphState* ppState;&lt;BR /&gt;IppiSize roiSize = {5, 5};&lt;BR /&gt;Ipp8u pMask[3*3] = {1, 1, 1,1, 0, 1,1, 1, 1};&lt;BR /&gt;IppiSize maskSize = {3, 3};&lt;BR /&gt;IppiPoint anchor = {1, 1};&lt;BR /&gt;Ipp8u pSrc[5*5] = { &lt;BR /&gt;1, 2, 4, 1, 2,&lt;BR /&gt;5, 1, 2, 1, 2,&lt;BR /&gt;1, 2, 1, 2, 1,&lt;BR /&gt;2, 1, 5, 1, 2};&lt;BR /&gt;int srcStep = 5;&lt;BR /&gt;int dstStep = 5;&lt;BR /&gt;Ipp8u pDst[5*5];&lt;BR /&gt;int dstSize = 5;&lt;BR /&gt;IppStatus status;&lt;BR /&gt;ippiMorphologyInitAlloc_8u_C1R( roiSize.width, pMask, maskSize, anchor,&lt;BR /&gt;&amp;amp;ppState);&lt;BR /&gt;status = ippiErodeBorderReplicate_8u_C1R( pSrc, srcStep, pDst, dstStep, roiSize,&lt;BR /&gt;ippBorderRepl, ppState);&lt;/P&gt;&lt;P&gt;printf ("ippiErodeBorderReplicate return %s\n", ippGetStatusString(status));&lt;BR /&gt;ippiMorphologyFree(ppState);&lt;BR /&gt;int i=0, j=0;&lt;BR /&gt;for ( i=0; i&amp;lt;5; i++)&lt;BR /&gt;{&lt;BR /&gt; for (j=0;j&amp;lt;5; j++)&lt;BR /&gt;printf("%d \t", pDst[i*5+j]);&lt;BR /&gt;printf("\n");&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;return 0; &lt;/P&gt;&lt;P&gt;}&lt;BR /&gt;I have the below result. &lt;/P&gt;&lt;P&gt;ippiv8-7.0.dll 7.0 build 205.58 7.0.205.1054&lt;BR /&gt;ippiErodeBorderReplicate return ippStsNoErr: No error, it's OK&lt;BR /&gt;1 1 1 1 1&lt;BR /&gt;1 1 1 1 1&lt;BR /&gt;1 1 1 1 1&lt;BR /&gt;0 0 0 0 0&lt;BR /&gt;0 0 0 0 0&lt;BR /&gt;Press any key to continue . . .&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Please try it and let me know if any result.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ying H.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2011 08:54:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-erode-issue-when-eroding-entire-image/m-p/769874#M586</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2011-08-18T08:54:50Z</dc:date>
    </item>
    <item>
      <title>IPP erode issue when eroding entire image</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-erode-issue-when-eroding-entire-image/m-p/769875#M587</link>
      <description>I have attached the test image. Kernel is 3x3, with values {1,1,1,  0,1,0,  0,1,0} and anchor {1,1}. (T-kernel).</description>
      <pubDate>Fri, 19 Aug 2011 02:10:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-erode-issue-when-eroding-entire-image/m-p/769875#M587</guid>
      <dc:creator>cks2k2</dc:creator>
      <dc:date>2011-08-19T02:10:37Z</dc:date>
    </item>
    <item>
      <title>IPP erode issue when eroding entire image</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-erode-issue-when-eroding-entire-image/m-p/769876#M588</link>
      <description>Hello Cks2k2, &lt;BR /&gt;&lt;BR /&gt;Could you tell theplace of wrong result you are seeing? And if possible, please try the latest Ipp version? &lt;BR /&gt;&lt;BR /&gt;I print some value of the test image and result image. Theirresultseems ok.&lt;BR /&gt;&lt;BR /&gt;With T mask. &lt;BR /&gt;&lt;BR /&gt;Src: &lt;BR /&gt;&lt;P&gt;src[0] [0:9] and src [1][0:9]&lt;/P&gt;103 95 95 102 108 112 112 109 107 108 &lt;P&gt;110 103 104 110 113 113 112 108 108 110&lt;/P&gt;&lt;P&gt;Dst: &lt;BR /&gt;dst[0] [0:9] anddst [1][0:9]&lt;/P&gt;&lt;P&gt;95 95 95 95 102 108 109 107 107 107&lt;BR /&gt;95 95 95 95 102 108 109 107 107 107&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;src[510] [250:259] and src [511][250:259]&lt;/P&gt;&lt;P&gt;(110) 112 114 111 109 111 111 115 106 113 112&lt;/P&gt;&lt;P&gt;(110) 111 113 110 108 109 110 114 105 112 111&lt;BR /&gt;&lt;BR /&gt;dst[510] [250:259] anddst [511][250:259]&lt;/P&gt;&lt;P&gt; 111 112 110 108 109 110 107 105 107 111&lt;/P&gt;&lt;P&gt; 110 111 109 108 109 110 106 105 106 111&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Ying &lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2011 06:37:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-erode-issue-when-eroding-entire-image/m-p/769876#M588</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2011-08-19T06:37:26Z</dc:date>
    </item>
  </channel>
</rss>

