<?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: ippiFilter and border in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippiFilter-and-border/m-p/994140#M22677</link>
    <description>I've done some trial and error. It seems to work when I do&lt;BR /&gt;&lt;BR /&gt;offsetData=borderedData+(anchor.y*(bordered_width*3) + anchor.x*3)&lt;BR /&gt;&lt;BR /&gt;and pass offsetData instead of borderedData to ippFilter(). Is it supposed to be done like this, or am I overseeing something?&lt;BR /&gt;&lt;BR /&gt;Note: I am using the _8u_C3R family of functions.</description>
    <pubDate>Mon, 14 Mar 2005 18:22:54 GMT</pubDate>
    <dc:creator>ensonic</dc:creator>
    <dc:date>2005-03-14T18:22:54Z</dc:date>
    <item>
      <title>ippiFilter and border</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippiFilter-and-border/m-p/994139#M22676</link>
      <description>I want to apply ippiFilter() to a full image. Therefore I added a border before using ippiCopyConstBorder().&lt;BR /&gt;I will pass this borderedImage to ippiFilter() as the source.&lt;BR /&gt;What I mis is how I tell ippiFilter() to offset the image processing by anchor.x and anchor.y.&lt;BR /&gt;According to the formula in ippiman.pdf on page 419 it does not.</description>
      <pubDate>Mon, 14 Mar 2005 17:55:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippiFilter-and-border/m-p/994139#M22676</guid>
      <dc:creator>ensonic</dc:creator>
      <dc:date>2005-03-14T17:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: ippiFilter and border</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippiFilter-and-border/m-p/994140#M22677</link>
      <description>I've done some trial and error. It seems to work when I do&lt;BR /&gt;&lt;BR /&gt;offsetData=borderedData+(anchor.y*(bordered_width*3) + anchor.x*3)&lt;BR /&gt;&lt;BR /&gt;and pass offsetData instead of borderedData to ippFilter(). Is it supposed to be done like this, or am I overseeing something?&lt;BR /&gt;&lt;BR /&gt;Note: I am using the _8u_C3R family of functions.</description>
      <pubDate>Mon, 14 Mar 2005 18:22:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippiFilter-and-border/m-p/994140#M22677</guid>
      <dc:creator>ensonic</dc:creator>
      <dc:date>2005-03-14T18:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: ippiFilter and border</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippiFilter-and-border/m-p/994141#M22678</link>
      <description>&lt;DIV&gt;Hi,&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;there is answer from our expert:&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color="#000080" size="2"&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color="#000080" size="2"&gt;The start point for C3 filter is calculated according to the formula:&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;P&gt;strtSrc = (Ipp8u*)pSrc - ( kHeight - anchor.y - 1 ) * srcStep - ( kWidth - anchor.x - 1 ) * 3;&lt;/P&gt;
&lt;P&gt;so for users image (if he want to filter the whole image) strtSrc point should be upper left corner of the border and he should pass pSrc pointer to the function. A customer should remember that a kernel is flipped before applying to an image.&lt;/P&gt;&lt;FONT face="Courier New CYR" color="#000080" size="2"&gt;
&lt;P&gt;Fffffbbbbbbbbbb&lt;BR /&gt;fffffbbbbbbbbbb&lt;BR /&gt;ffAffiiiiiiiiii&lt;BR /&gt;fffffiiiiiiiiii&lt;BR /&gt;fffffiiiiiiiiii&lt;BR /&gt;bbiiiiiiiiiiiii&lt;BR /&gt;bbiiiiiiiiiiiii&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#000080" size="2"&gt;
&lt;P&gt;Here is an example for 5x5 mask, C1 image and anchor in the center of the kernel:&lt;/P&gt;
&lt;P&gt;f = filter mask&lt;BR /&gt;b = border&lt;BR /&gt;i = image&lt;BR /&gt;A = anchor point and it should point to which pSrc should point&lt;BR /&gt;F = upper left corner or strtSrc point, from which filtering begins.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;&lt;/FONT&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 23 Mar 2005 18:06:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippiFilter-and-border/m-p/994141#M22678</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2005-03-23T18:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: ippiFilter and border</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippiFilter-and-border/m-p/994142#M22679</link>
      <description>hi Valdimir,&lt;BR /&gt;&lt;BR /&gt;Could you help what shall be step size, As I was ending up getting ippStsStepErr,&lt;BR /&gt;I have created example 5x5 image, and added padding of 1 col, 1 row on top, bottom, left, right, the new size of bodered image is 7x7&lt;BR /&gt;&lt;BR /&gt;I have copied source contents to newly created bordered image. I have created new image with same 7x7 size.&lt;BR /&gt;&lt;BR /&gt;I calculated src step &lt;BR /&gt;as &lt;BR /&gt;srcStep = 7 * sizeof(float); &lt;BR /&gt;&lt;BR /&gt;if run &lt;BR /&gt;aStatus = ippiFilter_32f_C1R(anImage, srcDstStep,&lt;BR /&gt;    anImage_out, srcDstStep, &lt;BR /&gt;    roiSize, anAverageKernal_in, &lt;BR /&gt;   akernelSize_in, anchor); &lt;BR /&gt;I end up in step error, I can describe the variable i am using&lt;BR /&gt;&lt;BR /&gt;float anImage[49];&lt;BR /&gt;float anImage_out[49];&lt;BR /&gt;&lt;BR /&gt;roiSize = { 7,7 }&lt;BR /&gt;IppiSize akernelSize_in = {3,3};&lt;BR /&gt;IppiPoint anchor = {1,1};&lt;BR /&gt;&lt;BR /&gt;Could give clue about step calculation.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Chandra-&lt;BR /&gt;</description>
      <pubDate>Fri, 03 Aug 2007 17:02:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippiFilter-and-border/m-p/994142#M22679</guid>
      <dc:creator>cs1975</dc:creator>
      <dc:date>2007-08-03T17:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: ippiFilter and border</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippiFilter-and-border/m-p/994143#M22680</link>
      <description>&lt;P&gt;Hello Chandra,&lt;/P&gt;
&lt;P&gt;please take a look on comment provided by our expert:&lt;/P&gt;&lt;PRE&gt;&lt;FONT color="#000080" size="2"&gt;&lt;P&gt;srcStep had been calculated right.&lt;/P&gt;&lt;P&gt;But the code must be like this:&lt;/P&gt;&lt;P&gt;float anImage[7*7];&lt;/P&gt;&lt;P&gt;float anImage_out [&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#ff0000" size="2"&gt;5*5&lt;/FONT&gt;&lt;FONT color="#000080" size="2"&gt;];&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* Output image is less then input image.&lt;/P&gt;&lt;P&gt;For 3x3 kernel size the output image is less by&lt;/P&gt;&lt;P&gt;1 col &amp;amp; 1 row on top, bottom, left and right.&lt;/P&gt;&lt;P&gt;5 = 7  1 - 1. */&lt;/P&gt;&lt;P&gt;IppiSize aKernelSize_in = { 3,3 };&lt;/P&gt;&lt;P&gt;IppiPoint anchor = {1,1};&lt;/P&gt;&lt;P&gt;IppiSize roi&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#ff0000" size="2"&gt;Dst&lt;/FONT&gt;&lt;FONT color="#000080" size="2"&gt;Size = { 5, 5 };&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* roiSize must fit for &lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#ff0000" size="2"&gt;output &lt;/FONT&gt;&lt;FONT color="#000080" size="2"&gt;image. */&lt;P&gt;&lt;/P&gt;&lt;P&gt;int srcStep = 7 * sizeof(float);&lt;/P&gt;&lt;P&gt;int dstStep = &lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#ff0000" size="2"&gt;5&lt;/FONT&gt;&lt;FONT color="#000080" size="2"&gt; * sizeof(float);&lt;P&gt;&lt;/P&gt;&lt;P&gt;float *pSrc;&lt;/P&gt;&lt;P&gt;#define nChannels 1&lt;/P&gt;&lt;P&gt;/* The using filter is for one-channels images. ippiFilter_32f_&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#ff0000" size="2"&gt;C1&lt;/FONT&gt;&lt;FONT color="#000080" size="2"&gt;R */&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prepare input image anImage.&lt;/P&gt;&lt;P&gt;Prepare kernel anAverageKernel_in&lt;/P&gt;&lt;P&gt;pSrc = (float *)( (unsigned char *)anImage + srcStep * (aKernelSize_in.height  anchor.y  1 ) );&lt;/P&gt;&lt;P&gt;/* The source pointer is moved by 1 row down. */&lt;/P&gt;&lt;P&gt;pSrc += ( aKernelSize_in.width  anchor.x  1 ) * nChannels;&lt;/P&gt;&lt;P&gt;/* The source pointer is moved by 1 col right. */&lt;/P&gt;&lt;P&gt;aStatus = ippiFilter_32f_C1R (&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT color="#ff0000" size="2"&gt;pSrc&lt;/FONT&gt;&lt;FONT color="#000080" size="2"&gt;,&lt;P&gt;&lt;/P&gt;&lt;P&gt;srcStep,&lt;/P&gt;&lt;P&gt;anImage_out,&lt;/P&gt;&lt;P&gt;dstStep,&lt;/P&gt;&lt;P&gt;roiDstSize,&lt;/P&gt;&lt;P&gt;anAverageKernel,&lt;/P&gt;&lt;P&gt;aKernelSize,&lt;/P&gt;&lt;P&gt;anchor);&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;srcStep is row length of source image by bytes.&lt;/P&gt;&lt;P&gt;dstStep is row length of destination image by bytes&lt;/P&gt;&lt;/FONT&gt;&lt;/PRE&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2007 10:36:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippiFilter-and-border/m-p/994143#M22680</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2007-08-07T10:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: ippiFilter and border</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippiFilter-and-border/m-p/994144#M22681</link>
      <description>&lt;FONT face="Courier New"&gt;Hi Valdimir,&lt;BR /&gt;&lt;BR /&gt;the filter started working, had same issue with ippiErode, i had modified the code as you suggested, thanks.&lt;BR /&gt;&lt;BR /&gt;warm regards,&lt;BR /&gt;chandra- &lt;BR /&gt;&lt;/FONT&gt;</description>
      <pubDate>Fri, 17 Aug 2007 08:26:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippiFilter-and-border/m-p/994144#M22681</guid>
      <dc:creator>cs1975</dc:creator>
      <dc:date>2007-08-17T08:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: ippiFilter and border</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippiFilter-and-border/m-p/994145#M22682</link>
      <description>&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;please feel free to share your feeling about IPP functionality performance or any issues you've met with it. It might help other in using this software and might help us to improve the future versions.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
      <pubDate>Mon, 20 Aug 2007 09:15:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippiFilter-and-border/m-p/994145#M22682</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2007-08-20T09:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: ippiFilter and border</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippiFilter-and-border/m-p/994146#M22683</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/336498"&gt;Vladimir Dudnik (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;please feel free to share your feeling about IPP functionality performance or any issues you've met with it. It might help other in using this software and might help us to improve the future versions.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;BR /&gt;Hi Vladimir,&lt;/P&gt;
&lt;P&gt;I have a similar problem to use ippiFilter_32f_C1R(). I am pretty sure I follow the way you suggest early email. The function works with proper return status and results. However, it crashs at the second time call (from upper level IDL). The function actually return properly but the application down. If I comments out this function, the application works fine. Please advise.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;Joe&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2009 15:55:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippiFilter-and-border/m-p/994146#M22683</guid>
      <dc:creator>joefang</dc:creator>
      <dc:date>2009-03-05T15:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: ippiFilter and border</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippiFilter-and-border/m-p/994147#M22684</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;Ho Joe,&lt;BR /&gt;&lt;BR /&gt;The issue in previous post was related to incorrect usage of the function. Could you please provide a code snippet to show how do you use the function and what are parameters passed by at run time?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt; Vladimir</description>
      <pubDate>Thu, 05 Mar 2009 17:30:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippiFilter-and-border/m-p/994147#M22684</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2009-03-05T17:30:32Z</dc:date>
    </item>
  </channel>
</rss>

