<?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: Image filter m-by-n convolution in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Image-filter-m-by-n-convolution/m-p/926673#M16262</link>
    <description>&lt;DIV&gt;Why do you need to do: (Ipp8u*) pImg below?&lt;/DIV&gt;
&lt;DIV&gt; pRoi = (Ipp32f*)((Ipp8u*)pImg+2*sstep+2*sizeof(Ipp32f));&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Is the following sentence correct?&lt;/DIV&gt;
&lt;DIV&gt;pRoi = (Ipp32f*)(pImg+2*sstep+2*sizeof(Ipp32f));&lt;/DIV&gt;</description>
    <pubDate>Tue, 07 Dec 2004 13:52:58 GMT</pubDate>
    <dc:creator>Intel_C_Intel</dc:creator>
    <dc:date>2004-12-07T13:52:58Z</dc:date>
    <item>
      <title>Image filter m-by-n convolution</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Image-filter-m-by-n-convolution/m-p/926669#M16258</link>
      <description>&lt;DIV&gt;Hello,&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Does anyone know which function in IPP produce image filter m-by-n convolution?&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Thanks&lt;/DIV&gt;
&lt;DIV&gt;Chuck&lt;/DIV&gt;</description>
      <pubDate>Wed, 17 Nov 2004 23:55:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Image-filter-m-by-n-convolution/m-p/926669#M16258</guid>
      <dc:creator>Deleted_U_Intel</dc:creator>
      <dc:date>2004-11-17T23:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: Image filter m-by-n convolution</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Image-filter-m-by-n-convolution/m-p/926670#M16259</link>
      <description>&lt;DIV&gt;Hi Chuck,&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;I recommend you to take a look on IPP manuals. We have several convolution functions in ippIP library (which means 2D images), please find ippiConv*** function family.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Regards,&lt;/DIV&gt;
&lt;DIV&gt; Vladimir&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 18 Nov 2004 01:14:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Image-filter-m-by-n-convolution/m-p/926670#M16259</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2004-11-18T01:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: Image filter m-by-n convolution</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Image-filter-m-by-n-convolution/m-p/926671#M16260</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;#include "ipp.h"&lt;BR /&gt;int main(int argc, char* argv[])&lt;BR /&gt;{&lt;BR /&gt; Ipp8u Src[5 * 4] = {&lt;BR /&gt; { 1},{ 2},{ 3},{ 4},{ 5},&lt;BR /&gt; { 6},{ 7},{ 8},{ 9},{10},&lt;BR /&gt; {11},{12},{13},{14},{15},&lt;BR /&gt; {16},{17},{18},{19},{20},&lt;BR /&gt; };&lt;BR /&gt; Ipp8u Buf[(5+2) * (4+2)] = {&lt;BR /&gt; { 1}, { 1},{ 2},{ 3},{ 4},{ 5}, { 5},&lt;BR /&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt; { 1}, { 1},{ 2},{ 3},{ 4},{ 5}, { 5},&lt;BR /&gt; { 6}, { 6},{ 7},{ 8},{ 9},{10}, {10},&lt;BR /&gt; {11}, {11},{12},{13},{14},{15}, {15},&lt;BR /&gt; {16}, {16},{17},{18},{19},{20}, {20},&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt; {16}, {16},{17},{18},{19},{20}, {20},&lt;BR /&gt; };&lt;BR /&gt; int bufStep = 5 + 2;&lt;BR /&gt; Ipp8u Dst[5 * 4];&lt;BR /&gt; int dstStep = 5;&lt;BR /&gt; IppiSize dstRoiSize = {5, 4};&lt;BR /&gt; Ipp32f Kernel[3*3] = {&lt;BR /&gt; {1.0},{1.0},{1.0},&lt;BR /&gt; {1.0},{1.0},{1.0},&lt;BR /&gt; {1.0},{1.0},{1.0},&lt;BR /&gt; };&lt;BR /&gt; IppiSize kernelSize = {3, 3};&lt;BR /&gt; IppiPoint anchor = {1, 1};&lt;BR /&gt; IppStatus Status;&lt;/DIV&gt;
&lt;DIV&gt; Status = ippiFilter32f_8u_C1R(Buf+1+bufStep,&lt;BR /&gt; bufStep, Dst, dstStep, dstRoiSize,&lt;BR /&gt; Kernel, kernelSize, anchor);&lt;/DIV&gt;
&lt;DIV&gt; int y, x; Ipp8u *pTmp; &lt;BR /&gt; for ( y = 0; y &amp;lt; 4; y++ )&lt;BR /&gt; {&lt;BR /&gt; pTmp = Dst + y * dstStep;&lt;BR /&gt; for ( x = 0; x &amp;lt; 5; x++ )&lt;BR /&gt; {&lt;BR /&gt; printf("%d
", *pTmp); pTmp++; &lt;BR /&gt; } &lt;BR /&gt; }&lt;/DIV&gt;
&lt;DIV&gt;return 0;&lt;BR /&gt;}&lt;/DIV&gt;&lt;P&gt;Message Edited by Seiji-Torigoe on &lt;SPAN class="date_text"&gt;11-18-2004&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;10:59 PM&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2004 14:58:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Image-filter-m-by-n-convolution/m-p/926671#M16260</guid>
      <dc:creator>seiji-torigoe</dc:creator>
      <dc:date>2004-11-19T14:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: Image filter m-by-n convolution</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Image-filter-m-by-n-convolution/m-p/926672#M16261</link>
      <description>&lt;DIV&gt;Hi,&lt;/DIV&gt;
&lt;DIV&gt;There is answer from our expert&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;
&lt;P&gt;Youshould provide 2-pixel border for 5x5 kernel and anchor in the center. For example:&lt;/P&gt;
&lt;P&gt;Ipp32f *pImg, *pDst, *pRoi, pK[25]= &lt;BR /&gt;{&lt;BR /&gt; 1.f, 1.f, 1.f, 1.f, 1.f,&lt;BR /&gt; 1.f, 1.f, 1.f, 1.f, 1.f,&lt;BR /&gt; 1.f, 1.f, 1.f, 1.f, 1.f,&lt;BR /&gt; 1.f, 1.f, 1.f, 1.f, 1.f,&lt;BR /&gt; 1.f, 1.f, 1.f, 1.f, 1.f &lt;BR /&gt;};&lt;/P&gt;
&lt;P&gt;IppiSize roi;&lt;BR /&gt;IppiPoint anch;&lt;BR /&gt;IppiSize ker;&lt;BR /&gt;int sstep, dstep;&lt;/P&gt;
&lt;P&gt;pImg = ippiMalloc_32f_C1( 14, 14, &amp;amp;sstep );&lt;BR /&gt;pDst = ippiMalloc_32f_C1( 10, 10, &amp;amp;dstep );&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;roi.height = roi.width = 14;&lt;/P&gt;
&lt;P&gt;ippiSet( 1.f, pImg, sstep, roi );&lt;/P&gt;
&lt;P&gt;ker.width = ker.height = 5;&lt;BR /&gt;roi.height = roi.width = 10;&lt;/P&gt;
&lt;P&gt;anch.x = anch.y = 2;&lt;/P&gt;
&lt;P&gt;pRoi = (Ipp32f*)((Ipp8u*)pImg+2*sstep+2*sizeof(Ipp32f));&lt;/P&gt;
&lt;P&gt;ippiFilter_32f_C1R( pRoi, sstep, pDst, dstep, roi, pK, ker, anch );&lt;/P&gt;
&lt;P&gt;kkkkkxxxxxxxxx&lt;BR /&gt;kkkkkxxxxxxxxx&lt;BR /&gt;kkAkkrrrrrrrxx&lt;BR /&gt;kkkkkrrrrrrrxx&lt;BR /&gt;kkkkkrrrrrrrxx&lt;BR /&gt;xxrrrrrrrrrrxx&lt;BR /&gt;xxrrrrrrrrrrxx &lt;BR /&gt;xxrrrrrrrrrrxx&lt;BR /&gt;xxrrrrrrrrrrxx&lt;BR /&gt;xxrrrrrrrrrrxx&lt;BR /&gt;xxrrrrrrrrrrxx&lt;BR /&gt;xxrrrrrrrrrrxx&lt;BR /&gt;xxxxxxxxxxxxxx&lt;BR /&gt;xxxxxxxxxxxxxx&lt;/P&gt;
&lt;P&gt;There is how to obtain 1-st point - A (anchor) points to the 1-st point of the roi.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 19 Nov 2004 15:39:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Image-filter-m-by-n-convolution/m-p/926672#M16261</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2004-11-19T15:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: Image filter m-by-n convolution</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Image-filter-m-by-n-convolution/m-p/926673#M16262</link>
      <description>&lt;DIV&gt;Why do you need to do: (Ipp8u*) pImg below?&lt;/DIV&gt;
&lt;DIV&gt; pRoi = (Ipp32f*)((Ipp8u*)pImg+2*sstep+2*sizeof(Ipp32f));&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Is the following sentence correct?&lt;/DIV&gt;
&lt;DIV&gt;pRoi = (Ipp32f*)(pImg+2*sstep+2*sizeof(Ipp32f));&lt;/DIV&gt;</description>
      <pubDate>Tue, 07 Dec 2004 13:52:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Image-filter-m-by-n-convolution/m-p/926673#M16262</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2004-12-07T13:52:58Z</dc:date>
    </item>
  </channel>
</rss>

