<?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 If you don't mind a hack, you in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Zoom-Filter-question/m-p/1167379#M26804</link>
    <description>&lt;P&gt;If you don't mind a hack, you can rewrite&amp;nbsp;ippiResizeLanczosInit to create a IppiResizeSpec_32f​ with your own convolution filter. It's sort of documented at&amp;nbsp;https://software.intel.com/en-us/articles/the-intel-avx-realization-of-lanczos-interpolation-in-intel-ipp-2d-resize-transform&lt;/P&gt;

&lt;P&gt;Alternatively, you can switch to &lt;A href="https://github.com/uploadcare/pillow-simd" target="_blank"&gt;https://github.com/uploadcare/pillow-simd&lt;/A&gt; which has full source code.&lt;/P&gt;

&lt;P&gt;Bruno&lt;/P&gt;</description>
    <pubDate>Fri, 08 Dec 2017 11:13:06 GMT</pubDate>
    <dc:creator>BMart1</dc:creator>
    <dc:date>2017-12-08T11:13:06Z</dc:date>
    <item>
      <title>Zoom / Filter question</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Zoom-Filter-question/m-p/1167371#M26796</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I need to filter, zoom and pan&amp;nbsp;an image. My implementation first filters the source image (smoothing or sharpening), then using Lanczos resizing, zooms and pans it into an output image. After spending a lot of time to get this&amp;nbsp;working I&amp;nbsp;sadly realize that these&amp;nbsp;2 steps (one is filtering and one is Lanczos resizing) end up being too slow for real-time interaction.&lt;/P&gt;

&lt;P&gt;With that my question is, is there a resize function which allows one to set a convolution filter?&lt;/P&gt;

&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Sat, 02 Dec 2017 16:49:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Zoom-Filter-question/m-p/1167371#M26796</guid>
      <dc:creator>umundry</dc:creator>
      <dc:date>2017-12-02T16:49:39Z</dc:date>
    </item>
    <item>
      <title>Hello,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Zoom-Filter-question/m-p/1167372#M26797</link>
      <description>&lt;P style="word-wrap: break-word; font-size: 12px;"&gt;Hello,&lt;/P&gt;

&lt;P style="word-wrap: break-word; font-size: 12px;"&gt;I'll investigate this and get back to you soon.&lt;/P&gt;

&lt;P style="word-wrap: break-word; font-size: 12px;"&gt;Thanks,&lt;/P&gt;

&lt;P style="word-wrap: break-word; font-size: 12px;"&gt;Alice&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2017 04:07:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Zoom-Filter-question/m-p/1167372#M26797</guid>
      <dc:creator>Alice_H_Intel</dc:creator>
      <dc:date>2017-12-05T04:07:20Z</dc:date>
    </item>
    <item>
      <title>Thank you Alice!</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Zoom-Filter-question/m-p/1167373#M26798</link>
      <description>&lt;P&gt;Thank you Alice!&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2017 14:37:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Zoom-Filter-question/m-p/1167373#M26798</guid>
      <dc:creator>umundry</dc:creator>
      <dc:date>2017-12-05T14:37:59Z</dc:date>
    </item>
    <item>
      <title>HI umundry,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Zoom-Filter-question/m-p/1167374#M26799</link>
      <description>&lt;P&gt;HI umundry,&lt;/P&gt;

&lt;P&gt;Did you threaded your code get the performance improvement?&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;
	&lt;SPAN style="font-size: 1em;"&gt;Chao&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2017 07:50:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Zoom-Filter-question/m-p/1167374#M26799</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2017-12-07T07:50:54Z</dc:date>
    </item>
    <item>
      <title>Tiling would help too, I</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Zoom-Filter-question/m-p/1167375#M26800</link>
      <description>&lt;P&gt;Tiling would help too, I guess. That is, do the consecutive operations on one image tile (and then do those operations on the next tile, etc.) That prevents costly cache misses.&lt;/P&gt;

&lt;P&gt;Or using a small preview image to get the real-time interaction user prefs.&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Adriaan van Os&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2017 08:56:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Zoom-Filter-question/m-p/1167375#M26800</guid>
      <dc:creator>Adriaan_van_Os</dc:creator>
      <dc:date>2017-12-07T08:56:56Z</dc:date>
    </item>
    <item>
      <title>To answer Adrian's question,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Zoom-Filter-question/m-p/1167376#M26801</link>
      <description>&lt;P&gt;To answer Adrian's question, the app does not allow for a "small preview image".&lt;/P&gt;

&lt;P&gt;For Chao: The entire app is highly optimized and uses every core/thread available. I had to start tinkering with this when the function ippiFilterSharpen_8u_C1R() was deprecated and removed and I had to start fishing for an alternative. Resizing using Lanczos was the visually equivalent, but it is way slower hence the reason for this post.&lt;/P&gt;

&lt;P&gt;So the question remains and I hope that Alice (or Chao?) will come up with THE answer.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2017 15:07:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Zoom-Filter-question/m-p/1167376#M26801</guid>
      <dc:creator>umundry</dc:creator>
      <dc:date>2017-12-07T15:07:49Z</dc:date>
    </item>
    <item>
      <title>I am sorry, correction, the</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Zoom-Filter-question/m-p/1167377#M26802</link>
      <description>&lt;P&gt;I am sorry, correction,&amp;nbsp;the deprecation of the ippiResizeSqrPixel_() function caused the issue.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2017 15:17:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Zoom-Filter-question/m-p/1167377#M26802</guid>
      <dc:creator>umundry</dc:creator>
      <dc:date>2017-12-07T15:17:45Z</dc:date>
    </item>
    <item>
      <title>&gt; To answer Adrian's question</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Zoom-Filter-question/m-p/1167378#M26803</link>
      <description>&lt;P&gt;&amp;gt;&amp;nbsp;&lt;SPAN style="font-size: 12px; line-height: 14.4px;"&gt;To answer Adrian's question, the app does not allow for a "small preview image".&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 14.4px;"&gt;I didn't ask a question, just gave two suggestions on how to solve your posted problem. I sincerely apologize for doing that,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 14.4px;"&gt;A. van Os&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2017 15:23:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Zoom-Filter-question/m-p/1167378#M26803</guid>
      <dc:creator>Adriaan_van_Os</dc:creator>
      <dc:date>2017-12-07T15:23:20Z</dc:date>
    </item>
    <item>
      <title>If you don't mind a hack, you</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Zoom-Filter-question/m-p/1167379#M26804</link>
      <description>&lt;P&gt;If you don't mind a hack, you can rewrite&amp;nbsp;ippiResizeLanczosInit to create a IppiResizeSpec_32f​ with your own convolution filter. It's sort of documented at&amp;nbsp;https://software.intel.com/en-us/articles/the-intel-avx-realization-of-lanczos-interpolation-in-intel-ipp-2d-resize-transform&lt;/P&gt;

&lt;P&gt;Alternatively, you can switch to &lt;A href="https://github.com/uploadcare/pillow-simd" target="_blank"&gt;https://github.com/uploadcare/pillow-simd&lt;/A&gt; which has full source code.&lt;/P&gt;

&lt;P&gt;Bruno&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2017 11:13:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Zoom-Filter-question/m-p/1167379#M26804</guid>
      <dc:creator>BMart1</dc:creator>
      <dc:date>2017-12-08T11:13:06Z</dc:date>
    </item>
    <item>
      <title>thanks, umundry for some</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Zoom-Filter-question/m-p/1167380#M26805</link>
      <description>thanks, umundry for some detail. i will invite export on this function to provide some further suggestion.

Regards,
Chao</description>
      <pubDate>Fri, 08 Dec 2017 11:24:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Zoom-Filter-question/m-p/1167380#M26805</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2017-12-08T11:24:53Z</dc:date>
    </item>
    <item>
      <title>Bruno, your referred article</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Zoom-Filter-question/m-p/1167381#M26806</link>
      <description>&lt;P&gt;Bruno, your referred article has several missing image links!&lt;/P&gt;

&lt;P&gt;Otherwise, its is a very informative text.&lt;/P&gt;

&lt;P&gt;Thomas&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2017 13:19:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Zoom-Filter-question/m-p/1167381#M26806</guid>
      <dc:creator>Thomas_Jensen1</dc:creator>
      <dc:date>2017-12-08T13:19:28Z</dc:date>
    </item>
    <item>
      <title>To Adrian: Sorry if I</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Zoom-Filter-question/m-p/1167382#M26807</link>
      <description>&lt;P&gt;To Adrian: Sorry if I offended you, not my intent.&lt;/P&gt;

&lt;P&gt;To Bruno: That "hack" seems to be a PhD thesis :-) Sadly I won't have the time to dive deeply into that but as Thomas said, still very informative.&lt;/P&gt;

&lt;P&gt;Chao/Alice, I am hoping that you'll come up with something that I can use. It seems like performance went backwards with the deprecation of ippiResizeSqrPixel() and forcing a more fancy but slower alternative. I am not certain what exactly the cause of the slowdown is, it seems that the numerous memory allocations and de-allocations might play a role. In the application, this code is called 4 times -each on a separate thread-, and all of that approx. 20 ... 30 times per second when interacting. If I only filter, but not pan/zoom, then all works like butter, very smooth, no hick-ups whatsoever (ippiResizeSqrPixel() kept up and was smooth as well). So the culprit definitely is the Lanczos resizing.&lt;/P&gt;

&lt;P&gt;Thank you everyone!&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2017 16:38:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Zoom-Filter-question/m-p/1167382#M26807</guid>
      <dc:creator>umundry</dc:creator>
      <dc:date>2017-12-08T16:38:26Z</dc:date>
    </item>
    <item>
      <title>@Thomas Maybe the PDF has the</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Zoom-Filter-question/m-p/1167383#M26808</link>
      <description>&lt;P&gt;@Thomas Maybe the PDF has the images.&lt;/P&gt;

&lt;P&gt;@umundry I found ResizeSqrPixel​ to be slower than ResizeAntialiasing. What exact functions are you using? Are you sure you are comparing apples to apples? Is Antialiasing the same? I think the sweet spot is linear (not lanczos) interpolation with antialiasing.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2017 17:29:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Zoom-Filter-question/m-p/1167383#M26808</guid>
      <dc:creator>BMart1</dc:creator>
      <dc:date>2017-12-08T17:29:02Z</dc:date>
    </item>
    <item>
      <title>I am comparing</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Zoom-Filter-question/m-p/1167384#M26809</link>
      <description>&lt;P&gt;I am comparing ippiResizeSqrPixel() to&amp;nbsp;ippiResizeLanczos(). No antialiasing handling involved. Regarding interpolation type, we have performed extensive testing on image quality and determined that Lanczos reproduces what we need best.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2017 18:43:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Zoom-Filter-question/m-p/1167384#M26809</guid>
      <dc:creator>umundry</dc:creator>
      <dc:date>2017-12-08T18:43:24Z</dc:date>
    </item>
    <item>
      <title>You can use VTune to profile</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Zoom-Filter-question/m-p/1167385#M26810</link>
      <description>&lt;P&gt;You can use VTune to profile each function and compare the kernels. Another advantage of&amp;nbsp;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: rgb(83, 87, 94); font-family: &amp;quot;Arial&amp;quot;,&amp;quot;宋体&amp;quot;,&amp;quot;Tahoma&amp;quot;,&amp;quot;Helvetica&amp;quot;,sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt;ippiResizeSqrPixel is that the pan can be subpixel accurate.&amp;nbsp; I don't know if you are using that.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2017 18:59:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Zoom-Filter-question/m-p/1167385#M26810</guid>
      <dc:creator>BMart1</dc:creator>
      <dc:date>2017-12-08T18:59:09Z</dc:date>
    </item>
    <item>
      <title>ippiResizeSqrPixel() is</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Zoom-Filter-question/m-p/1167386#M26811</link>
      <description>&lt;P&gt;ippiResizeSqrPixel() is deprecated...&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2017 19:23:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Zoom-Filter-question/m-p/1167386#M26811</guid>
      <dc:creator>umundry</dc:creator>
      <dc:date>2017-12-08T19:23:02Z</dc:date>
    </item>
    <item>
      <title>Hi umundry,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Zoom-Filter-question/m-p/1167387#M26812</link>
      <description>&lt;P&gt;Hi umundry,&lt;/P&gt;

&lt;P&gt;Intel(R) IPP library does not contain resize functions, which can set a convolutional filter for smoothing.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Could you please specify &lt;SPAN style="font-size: 13.008px;"&gt;hardware parameters, library versions and&amp;nbsp;&lt;/SPAN&gt;all parameters for the resize functions for the case when&amp;nbsp;&lt;SPAN style="font-size: 13.008px;"&gt;ippiResizeLanczos&amp;nbsp;&lt;/SPAN&gt;has worse performance that&amp;nbsp;&lt;SPAN style="font-size: 13.008px;"&gt;ippiResizeSqrPixel?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;The function ippiResizeSqrPixel is deprecated, however you can use it with Intel(R) IPP legacy libraries:&amp;nbsp;https://software.intel.com/en-us/articles/intel-ipp-legacy-libraries&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
	Valentin&lt;/P&gt;</description>
      <pubDate>Sun, 10 Dec 2017 17:43:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Zoom-Filter-question/m-p/1167387#M26812</guid>
      <dc:creator>Valentin_K_Intel</dc:creator>
      <dc:date>2017-12-10T17:43:57Z</dc:date>
    </item>
    <item>
      <title>Hi Valentin,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Zoom-Filter-question/m-p/1167388#M26813</link>
      <description>&lt;P&gt;Hi Valentin,&lt;/P&gt;

&lt;P&gt;that Is a clear albeit disappointing answer, thank you!&lt;/P&gt;

&lt;P&gt;I have looked at that legacy link which apparently lists the deprecated functions and ippiResizeSqrPixel is not one of them. But I'll check. If it is, then my problem is solved that way.&lt;/P&gt;

&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 11 Dec 2017 17:12:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Zoom-Filter-question/m-p/1167388#M26813</guid>
      <dc:creator>umundry</dc:creator>
      <dc:date>2017-12-11T17:12:43Z</dc:date>
    </item>
    <item>
      <title>I have downloaded the legacy</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Zoom-Filter-question/m-p/1167389#M26814</link>
      <description>&lt;P&gt;I have downloaded the legacy zip file but need a password to use its content. Where do I obtain that password?&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2017 18:57:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Zoom-Filter-question/m-p/1167389#M26814</guid>
      <dc:creator>umundry</dc:creator>
      <dc:date>2017-12-14T18:57:25Z</dc:date>
    </item>
    <item>
      <title>HI Umundry, </title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Zoom-Filter-question/m-p/1167390#M26815</link>
      <description>&lt;P&gt;HI Umundry,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;can you check the "readme.txt" file at the package, and it includes the password for unzipping?&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
	Chao&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2017 03:41:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Zoom-Filter-question/m-p/1167390#M26815</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2017-12-15T03:41:06Z</dc:date>
    </item>
  </channel>
</rss>

