<?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 IPP and OpenCV in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-and-OpenCV/m-p/973450#M20751</link>
    <description>Hi, group,&lt;BR /&gt;I used OpenCV before and I just tried IPP. I didn't find any GUI functions in IPP such like 'cvShowImage' in&lt;BR /&gt;OpenCV to pop up a window to show the image. I'm wondering if we can use the OpenCV function 'cvShowImage' to show the image&lt;BR /&gt;that generated by ipp (pSrc in the following codes). Similar questions is how to convert Ipp* image to OpenCV IplImage? thanks.&lt;BR /&gt;&lt;BR /&gt;Vol&lt;BR /&gt;&lt;BR /&gt;#include "ipp.h"&lt;BR /&gt;&lt;BR /&gt;int _tmain(int argc, _TCHAR* argv[])&lt;BR /&gt;{&lt;BR /&gt;        IppiSize size = {320, 240};&lt;BR /&gt;&lt;BR /&gt;        int stride;&lt;BR /&gt;        Ipp8u* pSrc = ippiMalloc_8u_C3(size.width, size.height, &amp;amp;stride);&lt;BR /&gt;        ippiImageJaehne_8u_C3R(pSrc, stride, size);&lt;BR /&gt;&lt;BR /&gt;        return 0;&lt;BR /&gt;}</description>
    <pubDate>Thu, 29 Sep 2005 21:38:36 GMT</pubDate>
    <dc:creator>oldnumber7</dc:creator>
    <dc:date>2005-09-29T21:38:36Z</dc:date>
    <item>
      <title>IPP and OpenCV</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-and-OpenCV/m-p/973450#M20751</link>
      <description>Hi, group,&lt;BR /&gt;I used OpenCV before and I just tried IPP. I didn't find any GUI functions in IPP such like 'cvShowImage' in&lt;BR /&gt;OpenCV to pop up a window to show the image. I'm wondering if we can use the OpenCV function 'cvShowImage' to show the image&lt;BR /&gt;that generated by ipp (pSrc in the following codes). Similar questions is how to convert Ipp* image to OpenCV IplImage? thanks.&lt;BR /&gt;&lt;BR /&gt;Vol&lt;BR /&gt;&lt;BR /&gt;#include "ipp.h"&lt;BR /&gt;&lt;BR /&gt;int _tmain(int argc, _TCHAR* argv[])&lt;BR /&gt;{&lt;BR /&gt;        IppiSize size = {320, 240};&lt;BR /&gt;&lt;BR /&gt;        int stride;&lt;BR /&gt;        Ipp8u* pSrc = ippiMalloc_8u_C3(size.width, size.height, &amp;amp;stride);&lt;BR /&gt;        ippiImageJaehne_8u_C3R(pSrc, stride, size);&lt;BR /&gt;&lt;BR /&gt;        return 0;&lt;BR /&gt;}</description>
      <pubDate>Thu, 29 Sep 2005 21:38:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-and-OpenCV/m-p/973450#M20751</guid>
      <dc:creator>oldnumber7</dc:creator>
      <dc:date>2005-09-29T21:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: IPP and OpenCV</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-and-OpenCV/m-p/973451#M20752</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;IPP is the low-level optimized library and so contains no GUI.But you could use base OpenCV libraries HighGUI and cxCore and call IPP functions directly as in&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Arial" color="navy" size="2"&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Arial" color="navy" size="2"&gt;&lt;SPAN&gt;#include highgui.h&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Arial" color="navy" size="2"&gt;&lt;SPAN&gt;#include ipp.h&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Arial" color="navy" size="2"&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Arial" color="navy" size="2"&gt;&lt;SPAN&gt;void main(void)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Arial" color="navy" size="2"&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Arial" color="navy" size="2"&gt;&lt;SPAN&gt;IplImage* img = cvLoadImage( test.jpg );&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Arial" color="navy" size="2"&gt;&lt;SPAN&gt;IplImage* img_r = cvCloneImage(img);&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Arial" color="navy" size="2"&gt;&lt;SPAN&gt;IppiSize sz = { img-&amp;gt;width, img-&amp;gt;height };&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Arial" color="navy" size="2"&gt;&lt;SPAN&gt;IppiRect r = { 0, 0, img-&amp;gt;width, img-&amp;gt;height };&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Arial" color="navy" size="2"&gt;&lt;SPAN&gt;double angle = 0;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Arial" color="navy" size="2"&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Arial" color="navy" size="2"&gt;&lt;SPAN&gt;cvNamedWindow( rotation demo, 1 );&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Arial" color="navy" size="2"&gt;&lt;SPAN&gt;for(;;)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Arial" color="navy" size="2"&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Arial" color="navy" size="2"&gt;&lt;SPAN&gt;ippiRotateCenter_8u_C1R( (Ipp8u*)img-&amp;gt;imageData, sz, img-&amp;gt;widthStep, r, (Ipp8u*)img_r-&amp;gt;imageData, img_r-&amp;gt;widthStep, r,&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Arial" color="navy" size="2"&gt;&lt;SPAN&gt;angle, sz.width*0.5, sz.height*0.5, IPPI_INTER_LINEAR );&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Arial" color="navy" size="2"&gt;&lt;SPAN&gt;angle = fmod( angle + 10, 360 ); // update the rotation angle&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Arial" color="navy" size="2"&gt;&lt;SPAN&gt;cvShowImage( rotation demo, img_r );&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Arial" color="navy" size="2"&gt;&lt;SPAN&gt;if( cvWaitKey(10) == 27 ) // wait for a key for 10ms, exit on ESC&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Arial" color="navy" size="2"&gt;&lt;SPAN&gt;break;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Arial" color="navy" size="2"&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Arial" color="navy" size="2"&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2005 21:45:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-and-OpenCV/m-p/973451#M20752</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2005-10-07T21:45:55Z</dc:date>
    </item>
  </channel>
</rss>

