<?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: IppiResizeCenter possible bug in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/IppiResizeCenter-possible-bug/m-p/869036#M8663</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/235876"&gt;gol&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;Ok so it's only if width or height is less than 6? I'm afraid my bitmap was bigger than that. &lt;BR /&gt;&lt;BR /&gt;If you ask me, it looked pretty much like an overflow. The source bitmap had premultiplied alpha. You know the common saturated pixels effect when you try to blend a bitmap where the RGB's are higher than the alpha? It looked like that, like if the interpolated pixels were exceeding the alpha. I'll see if I can do it again &amp;amp; save a bitmap.&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;Yes, That problem happened when the image size is less that 6. Since it is not the problem, any code to help to reproduce the problem will be very helpuful? &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Chao</description>
    <pubDate>Thu, 13 Aug 2009 08:59:40 GMT</pubDate>
    <dc:creator>Chao_Y_Intel</dc:creator>
    <dc:date>2009-08-13T08:59:40Z</dc:date>
    <item>
      <title>IppiResizeCenter possible bug</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IppiResizeCenter-possible-bug/m-p/869031#M8658</link>
      <description>&lt;P&gt;IPP 5.2, using IppiResizeCenter_8u_C4R.The picture here shows the result of a slight stretching using Lanczos (left) and linear (right).&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.flstudio.com/gol/StretchTest.png"&gt;http://www.flstudio.com/gol/StretchTest.png&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Looks like the Lanczos version exposes garbage for some near-white points, (no problem with white, more around 250/255 RGB values (same garbage for just one of the RGB components).&lt;BR /&gt;I know the text uses cleartype and I shouldn't expect the sub-pixel color trick to scale well, however this is toougly to be normal (I'd expect it to be more or less like the linear version).&lt;/P&gt;
&lt;P&gt;I have checked that no premultiplied RGB was higher than the alpha. I also checked cubic interpolation, result is ok just like linear.&lt;/P&gt;
&lt;P&gt;Sorry if I can't post the source bitmap, it's done by code and I have no code to save it in a format with alpha (yet).&lt;BR /&gt;Haven't checked yet if this was fixed in 5.3 or higher. Edit: still happens in version 6.0.&lt;/P&gt;</description>
      <pubDate>Sun, 12 Oct 2008 21:52:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IppiResizeCenter-possible-bug/m-p/869031#M8658</guid>
      <dc:creator>gol</dc:creator>
      <dc:date>2008-10-12T21:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: IppiResizeCenter possible bug</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IppiResizeCenter-possible-bug/m-p/869032#M8659</link>
      <description>&lt;DIV style="margin:0px;"&gt;Hi thanks for reporting that, we will do investigation. If you have source bitmamp by this time it can help us.&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;Regards,&lt;BR /&gt; Vladimir&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2008 17:28:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IppiResizeCenter-possible-bug/m-p/869032#M8659</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2008-10-23T17:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: IppiResizeCenter possible bug</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IppiResizeCenter-possible-bug/m-p/869033#M8660</link>
      <description>&lt;DIV style="margin:0px;"&gt;Not to dig an old thread, but I just replaced the obsolete IppiResizeCenter_8u_C4R&lt;/DIV&gt;
by the newer IppiResizeSqrPixel_8u_C4R in that piece of code I was talking about there above (btw sry but my image link is dead now).&lt;BR /&gt;&lt;BR /&gt;I thought that I'd try other resampling methods, and funny, I got some bad pixels using Lanczos again (some holes in a bitmap).This is using IppiResizeSqrPixel in IPP 6.1.&lt;BR /&gt;&lt;BR /&gt;I'll try to get more info later, although it's no big deal, I'm as happy with cubic resampling.&lt;BR /&gt;But it's weird, as I thought that those 2 functions were unrelated. Could be on my side, but then I don't know why it'd work with other resampling methods.</description>
      <pubDate>Tue, 04 Aug 2009 09:46:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IppiResizeCenter-possible-bug/m-p/869033#M8660</guid>
      <dc:creator>gol</dc:creator>
      <dc:date>2009-08-04T09:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: IppiResizeCenter possible bug</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IppiResizeCenter-possible-bug/m-p/869034#M8661</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/235876"&gt;gol&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;I thought that I'd try other resampling methods, and funny, I got some bad pixels using Lanczos again (some holes in a bitmap).This is using IppiResizeSqrPixel in IPP 6.1.&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;Can you try the latested IPP 6.1 update 1 release. We have knew an error for IppiResizeSqrPixel in IPP 6.1 gold. The workaround for IPP 6.1 gold release is &lt;BR /&gt;&lt;BR /&gt;if (size.NxIn &amp;lt; 6 || size.NyIn &amp;lt; 6) {&lt;BR /&gt;if (theType == IPPI_INTER_LANCZOS)&lt;BR /&gt;theType = IPPI_INTER_CUBIC;&lt;BR /&gt;if (size.NxIn &amp;lt; 4 || size.NyIn &amp;lt; 4) {&lt;BR /&gt;if ((theType == IPPI_INTER_CUBIC) ||&lt;BR /&gt;(theType == IPPI_INTER_CUBIC2P_BSPLINE) ||&lt;BR /&gt;(theType == IPPI_INTER_CUBIC2P_CATMULLROM) ||&lt;BR /&gt;(theType == IPPI_INTER_CUBIC2P_B05C03))&lt;BR /&gt;theType = IPPI_INTER_LINEAR;&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Chao</description>
      <pubDate>Thu, 06 Aug 2009 06:54:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IppiResizeCenter-possible-bug/m-p/869034#M8661</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2009-08-06T06:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: IppiResizeCenter possible bug</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IppiResizeCenter-possible-bug/m-p/869035#M8662</link>
      <description>&lt;P&gt;Ok so it's only if width or height is less than 6? I'm afraid my bitmap was bigger than that. &lt;BR /&gt;&lt;BR /&gt;If you ask me, it looked pretty much like an overflow. The source bitmap had premultiplied alpha. You know the common saturated pixels effect when you try to blend a bitmap where the RGB's are higher than the alpha? It looked like that, like if the interpolated pixels were exceeding the alpha. I'll see if I can do it again &amp;amp; save a bitmap.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Aug 2009 12:29:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IppiResizeCenter-possible-bug/m-p/869035#M8662</guid>
      <dc:creator>gol</dc:creator>
      <dc:date>2009-08-07T12:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: IppiResizeCenter possible bug</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IppiResizeCenter-possible-bug/m-p/869036#M8663</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/235876"&gt;gol&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;Ok so it's only if width or height is less than 6? I'm afraid my bitmap was bigger than that. &lt;BR /&gt;&lt;BR /&gt;If you ask me, it looked pretty much like an overflow. The source bitmap had premultiplied alpha. You know the common saturated pixels effect when you try to blend a bitmap where the RGB's are higher than the alpha? It looked like that, like if the interpolated pixels were exceeding the alpha. I'll see if I can do it again &amp;amp; save a bitmap.&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;Yes, That problem happened when the image size is less that 6. Since it is not the problem, any code to help to reproduce the problem will be very helpuful? &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Chao</description>
      <pubDate>Thu, 13 Aug 2009 08:59:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IppiResizeCenter-possible-bug/m-p/869036#M8663</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2009-08-13T08:59:40Z</dc:date>
    </item>
  </channel>
</rss>

