<?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:ippiFilterGaussianBorder_8u_C1R  -  wrong results. in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippiFilterGaussianBorder-8u-C1R-wrong-results/m-p/1350060#M27892</link>
    <description>&lt;P&gt;Eyal,&lt;/P&gt;&lt;P&gt;the fix of the problem could be available into the latest version of IPP ( 2021.5).&lt;/P&gt;&lt;P&gt;Here is the output I see while linked your case against this version of IPP:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;major = 2021&lt;/P&gt;&lt;P&gt;minor = 5&lt;/P&gt;&lt;P&gt;majorBuild = 0&lt;/P&gt;&lt;P&gt;build = -1274761199&lt;/P&gt;&lt;P&gt;targetCpu = l9&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Name = ippSP AVX2 (l9)&lt;/P&gt;&lt;P&gt;Version = 2021.5 (r0xb404b011)&lt;/P&gt;&lt;P&gt;BuildDate = Nov 18 2021&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;src&lt;/P&gt;&lt;P&gt;------&lt;/P&gt;&lt;P&gt;&amp;nbsp;5 5 5 5 5 5 5 5 5 5&lt;/P&gt;&lt;P&gt;&amp;nbsp;5 5 5 5 5 5 5 5 5 5&lt;/P&gt;&lt;P&gt;&amp;nbsp;5 5 5 5 5 5 5 5 5 5&lt;/P&gt;&lt;P&gt;&amp;nbsp;5 5 5 5 5 5 5 5 5 5&lt;/P&gt;&lt;P&gt;&amp;nbsp;5 5 5 5 5 5 5 5 5 5&lt;/P&gt;&lt;P&gt;&amp;nbsp;5 5 5 5 5 5 5 5 5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;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 10 Jan 2022 14:25:59 GMT</pubDate>
    <dc:creator>Gennady_F_Intel</dc:creator>
    <dc:date>2022-01-10T14:25:59Z</dc:date>
    <item>
      <title>ippiFilterGaussianBorder_8u_C1R  -  wrong results.</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippiFilterGaussianBorder-8u-C1R-wrong-results/m-p/1308922#M27740</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am using IPP2018&lt;/P&gt;
&lt;P&gt;I run Gaussian filter (ippiFilterGaussianBorder_8u_C1R)&amp;nbsp; , kernelSize = 3, sigma = 0.56, on single channel src image.&lt;/P&gt;
&lt;P&gt;Src image size is 10x10. The image is flat ie all image data is set to 5.&lt;/P&gt;
&lt;P&gt;I expect all dst image data to be 5 as well, However, I got strange result - dst image contains data = 4 and 3. This must be wrong.&lt;/P&gt;
&lt;P&gt;Is it rounding issue? How would I work around it? Need your advise.&lt;/P&gt;
&lt;P&gt;src&lt;BR /&gt;------&lt;BR /&gt;5 5 5 5 5 5 5 5 5 5&lt;BR /&gt;5 5 5 5 5 5 5 5 5 5&lt;BR /&gt;5 5 5 5 5 5 5 5 5 5&lt;BR /&gt;5 5 5 5 5 5 5 5 5 5&lt;BR /&gt;5 5 5 5 5 5 5 5 5 5&lt;BR /&gt;5 5 5 5 5 5 5 5 5 5&lt;BR /&gt;5 5 5 5 5 5 5 5 5 5&lt;BR /&gt;5 5 5 5 5 5 5 5 5 5&lt;BR /&gt;5 5 5 5 5 5 5 5 5 5&lt;BR /&gt;5 5 5 5 5 5 5 5 5 5&lt;/P&gt;
&lt;P&gt;dst&lt;BR /&gt;------&lt;BR /&gt;4 4 4 4 4 4 4 4 3 3&lt;BR /&gt;4 4 4 4 4 4 4 4 3 3&lt;BR /&gt;4 4 4 4 4 4 4 4 3 3&lt;BR /&gt;4 4 4 4 4 4 4 4 3 3&lt;BR /&gt;4 4 4 4 4 4 4 4 3 3&lt;BR /&gt;4 4 4 4 4 4 4 4 3 3&lt;BR /&gt;4 4 4 4 4 4 4 4 3 3&lt;BR /&gt;4 4 4 4 4 4 4 4 3 3&lt;BR /&gt;4 4 4 4 4 4 4 4 3 3&lt;BR /&gt;4 4 4 4 4 4 4 4 3 3&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is my code:&lt;/P&gt;
&lt;P&gt;int main(int argc, _TCHAR* argv[])&lt;BR /&gt;{&lt;BR /&gt;int WIDTH = 10; /* image width */&lt;BR /&gt;int HEIGHT = 10; /* image height */ &lt;BR /&gt;IppStatus status = ippStsNoErr;&lt;BR /&gt;Ipp8u* psrc=NULL, *pDst = NULL; /* Pointers to source/destination images */&lt;BR /&gt;int srcStep = 0, dstStep = 0; /* Steps, in bytes, through the source/destination images */&lt;BR /&gt;IppiSize roiSize = { WIDTH, HEIGHT }; /* Size of source/destination ROI in pixels */&lt;BR /&gt;Ipp32u kernelSize = 3;&lt;BR /&gt;Ipp32f sigma = 0.56f;&lt;BR /&gt;Ipp8u *pBuffer = NULL; /* Pointer to the work buffer */&lt;BR /&gt;IppFilterGaussianSpec* pSpec = NULL; /* context structure */&lt;BR /&gt;int iTmpBufSize = 0, iSpecSize = 0; /* Common work buffer size */&lt;BR /&gt;IppiBorderType borderType = ippBorderRepl;&lt;BR /&gt;Ipp8u borderValue = 0;&lt;BR /&gt;int numChannels = 1;&lt;/P&gt;
&lt;P&gt;psrc=ippiMalloc_8u_C1(roiSize.width, roiSize.height, &amp;amp;srcStep);&lt;BR /&gt;pDst = ippiMalloc_8u_C1(roiSize.width, roiSize.height, &amp;amp;dstStep);&lt;/P&gt;
&lt;P&gt;/* fill source image with const value = 5*/&lt;BR /&gt;for(int i=0;i&amp;lt;HEIGHT; i++)&lt;BR /&gt;for(int j=0; j&amp;lt;WIDTH; j++)&lt;BR /&gt;*(pSrc + (i * srcStep/sizeof(char)) + j ) = 5;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;status = ippiFilterGaussianGetBufferSize(roiSize, kernelSize, ipp8u,&lt;BR /&gt;numChannels, &amp;amp;iSpecSize, &amp;amp;iTmpBufSize);&lt;BR /&gt;if(status != ippStsNoErr)&lt;BR /&gt;return 0;&lt;/P&gt;
&lt;P&gt;pSpec = (IppFilterGaussianSpec *)ippsMalloc_8u(iSpecSize);&lt;BR /&gt;pBuffer = ippsMalloc_8u(iTmpBufSize);&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;status = ippiFilterGaussianInit(roiSize, kernelSize, sigma,&lt;BR /&gt;borderType, ipp8u, numChannels, pSpec, pBuffer);&lt;BR /&gt;if(status != ippStsNoErr)&lt;BR /&gt;return 0;&lt;/P&gt;
&lt;P&gt;status = ippiFilterGaussianBorder_8u_C1R(pSrc, srcStep, pDst, dstStep,&lt;BR /&gt;roiSize, borderValue, pSpec, pBuffer);&lt;BR /&gt;if(status != ippStsNoErr)&lt;BR /&gt;return 0;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;// Print output&lt;BR /&gt;cout&amp;lt;&amp;lt;"\nsrc"&amp;lt;&amp;lt;endl;&lt;BR /&gt;cout&amp;lt;&amp;lt;"------"&amp;lt;&amp;lt;endl;&lt;BR /&gt;for(int i=0;i&amp;lt;HEIGHT; i++)&lt;BR /&gt;{&lt;BR /&gt;for(int j=0; j&amp;lt;WIDTH; j++)&lt;BR /&gt;{&lt;BR /&gt;cout&amp;lt;&amp;lt;" "&amp;lt;&amp;lt;int(*(pSrc + (i * srcStep/sizeof(char)) + j ));&lt;BR /&gt;}&lt;BR /&gt;cout&amp;lt;&amp;lt;endl;&lt;BR /&gt;}&lt;BR /&gt;cout&amp;lt;&amp;lt;"\ndst"&amp;lt;&amp;lt;endl;&lt;BR /&gt;cout&amp;lt;&amp;lt;"------"&amp;lt;&amp;lt;endl;&lt;BR /&gt;for(int i=0;i&amp;lt;HEIGHT; i++)&lt;BR /&gt;{&lt;BR /&gt;for(int j=0; j&amp;lt;WIDTH; j++)&lt;BR /&gt;{&lt;BR /&gt;cout&amp;lt;&amp;lt;" "&amp;lt;&amp;lt;int(*(pDst + (i * srcStep/sizeof(char)) + j ));&lt;BR /&gt;}&lt;BR /&gt;cout&amp;lt;&amp;lt;endl;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;ippsFree(pBuffer);&lt;BR /&gt;ippsFree(pSpec);&lt;BR /&gt;ippiFree(pSrc);&lt;BR /&gt;ippiFree(pDst);&lt;/P&gt;
&lt;P&gt;return (int)status;&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Aug 2021 14:32:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippiFilterGaussianBorder-8u-C1R-wrong-results/m-p/1308922#M27740</guid>
      <dc:creator>EShamur</dc:creator>
      <dc:date>2021-08-23T14:32:37Z</dc:date>
    </item>
    <item>
      <title>Re:ippiFilterGaussianBorder_8u_C1R  -  wrong results.</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippiFilterGaussianBorder-8u-C1R-wrong-results/m-p/1309243#M27741</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for reaching out to us.&lt;/P&gt;&lt;P&gt;The issue is reproducible from our end.&lt;/P&gt;&lt;P&gt;We are looking into this issue internally. we will get back to you soon.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vidya.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Aug 2021 05:30:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippiFilterGaussianBorder-8u-C1R-wrong-results/m-p/1309243#M27741</guid>
      <dc:creator>VidyalathaB_Intel</dc:creator>
      <dc:date>2021-08-24T05:30:52Z</dc:date>
    </item>
    <item>
      <title>Re:ippiFilterGaussianBorder_8u_C1R  -  wrong results.</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippiFilterGaussianBorder-8u-C1R-wrong-results/m-p/1350060#M27892</link>
      <description>&lt;P&gt;Eyal,&lt;/P&gt;&lt;P&gt;the fix of the problem could be available into the latest version of IPP ( 2021.5).&lt;/P&gt;&lt;P&gt;Here is the output I see while linked your case against this version of IPP:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;major = 2021&lt;/P&gt;&lt;P&gt;minor = 5&lt;/P&gt;&lt;P&gt;majorBuild = 0&lt;/P&gt;&lt;P&gt;build = -1274761199&lt;/P&gt;&lt;P&gt;targetCpu = l9&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Name = ippSP AVX2 (l9)&lt;/P&gt;&lt;P&gt;Version = 2021.5 (r0xb404b011)&lt;/P&gt;&lt;P&gt;BuildDate = Nov 18 2021&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;src&lt;/P&gt;&lt;P&gt;------&lt;/P&gt;&lt;P&gt;&amp;nbsp;5 5 5 5 5 5 5 5 5 5&lt;/P&gt;&lt;P&gt;&amp;nbsp;5 5 5 5 5 5 5 5 5 5&lt;/P&gt;&lt;P&gt;&amp;nbsp;5 5 5 5 5 5 5 5 5 5&lt;/P&gt;&lt;P&gt;&amp;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;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 10 Jan 2022 14:25:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippiFilterGaussianBorder-8u-C1R-wrong-results/m-p/1350060#M27892</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2022-01-10T14:25:59Z</dc:date>
    </item>
  </channel>
</rss>

