<?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: Problem with ippsCrossCorr in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Problem-with-ippsCrossCorr/m-p/891052#M11484</link>
    <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/61463"&gt;vdudnik&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;DIV style="margin:0px;"&gt;Hello,&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;there is special function in IPP (ippGetStatusString) which translate IppStatus value to textual string (of course you can do the same just looking at ippdefs.h file forenumerator value.&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;I would recommend youto look at function description in IPP manual, it might help to understand function behavior.&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;Regards,&lt;BR /&gt; Vladimir&lt;/DIV&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;Hi.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;thanks that did it, i had forgotten some brackets and the function got some wrong parameters. Now it doeas what is says .. :-)&lt;/P&gt;</description>
    <pubDate>Thu, 04 Dec 2008 16:53:23 GMT</pubDate>
    <dc:creator>jenni80</dc:creator>
    <dc:date>2008-12-04T16:53:23Z</dc:date>
    <item>
      <title>Problem with ippsCrossCorr</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Problem-with-ippsCrossCorr/m-p/891050#M11482</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I'm using the trial version of the Ipps libraries and i have difficulties with the result of the function IppsCrossCorr_32f()&lt;/P&gt;
&lt;P&gt;in the FAQ sheet the Usage is explained as follows :&lt;/P&gt;
&lt;P&gt;+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+&lt;/P&gt;
&lt;P&gt;void crossCorr(void) {&lt;BR /&gt;#undef LEN&lt;BR /&gt;#define LEN 11&lt;BR /&gt;Ipp32f win[LEN], y[LEN];&lt;BR /&gt;IppStatus st;&lt;BR /&gt;ippsSet_32f (1, win, LEN);&lt;BR /&gt;ippsWinHamming_32f_I (win, LEN);&lt;BR /&gt;st = ippsCrossCorr_32f (win, LEN, win, LEN, y, LEN, -(LEN-1));&lt;BR /&gt;printf_32f(cross corr =, y,7,st);&lt;BR /&gt;}&lt;BR /&gt;Output:&lt;BR /&gt;cross corr = 0.006400 0.026856 0.091831 0.242704 0.533230&lt;BR /&gt;1.009000 1.672774&lt;BR /&gt;Matlab* analog:&lt;BR /&gt;&amp;gt;&amp;gt; x = hamming(11)'; y = xcorr(x,x); y(1:7)&lt;/P&gt;
&lt;P&gt;+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;so i wrote a code (snippet) as follows:&lt;/P&gt;
&lt;P&gt;const int SIZE = 100;&lt;/P&gt;
&lt;P&gt;Ipp32f *temp = new Ipp32f[SIZE];&lt;/P&gt;
&lt;P&gt;// Then i load some data from disc to "temp"&lt;BR /&gt;Ipp32f *temp1 = new Ipp32f[SIZE];&lt;BR /&gt;Ipp32f *temp2 = new Ipp32f[1];&lt;/P&gt;
&lt;P&gt;IppStatus st;&lt;BR /&gt;ippsWinHamming_32f(temp,temp1,SIZE); // I don't want to manipulate my original signal&lt;BR /&gt;st = ippsCrossCorr_32f(temp1,30,temp1+40,30,temp2,1,30);&lt;/P&gt;
&lt;P&gt;// i just want one cross correlation on a certain part of the same signal&lt;BR /&gt; cout &amp;lt;&amp;lt; temp2[0] &amp;lt;&amp;lt; "-" &amp;lt;&amp;lt; st &amp;lt;&lt;ENDL&gt;
&lt;/ENDL&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;But the output of temp2[0] is always -0.00132704 no matter what data i load into temp. the value of "st" is -6 which tells me just nothing, but maybe you.&lt;/P&gt;
&lt;P&gt;In my real code i use the cross_corr() function on one signal more than once, going step by step over a very long signal seqence checking every time a small part of the signal to find a maximum value. So the real code is a bit more complex than this .. but i checked many parts of my code. The input signal changes every loop , i used different sources for the temp array. No matter what i do the output is always -0.00132704.&lt;/P&gt;
&lt;P&gt;I suppose the fault is made by me but i don't know where i did something wrong, so please can you give me some advice ?&lt;/P&gt;
&lt;P&gt;Thanks in advance ...&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2008 15:58:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Problem-with-ippsCrossCorr/m-p/891050#M11482</guid>
      <dc:creator>jenni80</dc:creator>
      <dc:date>2008-12-02T15:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ippsCrossCorr</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Problem-with-ippsCrossCorr/m-p/891051#M11483</link>
      <description>&lt;DIV style="margin:0px;"&gt;Hello,&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;there is special function in IPP (ippGetStatusString) which translate IppStatus value to textual string (of course you can do the same just looking at ippdefs.h file forenumerator value.&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;I would recommend youto look at function description in IPP manual, it might help to understand function behavior.&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>Wed, 03 Dec 2008 08:51:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Problem-with-ippsCrossCorr/m-p/891051#M11483</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2008-12-03T08:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with ippsCrossCorr</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Problem-with-ippsCrossCorr/m-p/891052#M11484</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/61463"&gt;vdudnik&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;DIV style="margin:0px;"&gt;Hello,&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;there is special function in IPP (ippGetStatusString) which translate IppStatus value to textual string (of course you can do the same just looking at ippdefs.h file forenumerator value.&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;I would recommend youto look at function description in IPP manual, it might help to understand function behavior.&lt;/DIV&gt;
&lt;DIV style="margin:0px;"&gt;Regards,&lt;BR /&gt; Vladimir&lt;/DIV&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;Hi.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;thanks that did it, i had forgotten some brackets and the function got some wrong parameters. Now it doeas what is says .. :-)&lt;/P&gt;</description>
      <pubDate>Thu, 04 Dec 2008 16:53:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Problem-with-ippsCrossCorr/m-p/891052#M11484</guid>
      <dc:creator>jenni80</dc:creator>
      <dc:date>2008-12-04T16:53:23Z</dc:date>
    </item>
  </channel>
</rss>

