<?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 ippiMean_StdDev_8u_C3CR wrong result in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippiMean-StdDev-8u-C3CR-wrong-result/m-p/1213646#M27423</link>
    <description>&lt;P&gt;Hello.&lt;/P&gt;
&lt;P&gt;I has a suspicions of mean values from&amp;nbsp;ippiMean_StdDev_8u_C3CR, and check it this way:&lt;/P&gt;
&lt;P&gt;I've got different results&amp;nbsp; of R and mean1, G and mean2... why?&lt;/P&gt;
&lt;P&gt;maean1 = 128.61, R = 122.70&lt;/P&gt;
&lt;P&gt;mean2 = 122.69, G = 123.55&lt;/P&gt;
&lt;P&gt;mean3 = 123.55, B = 128.61&lt;/P&gt;
&lt;P&gt;image color order RGBRGBRGBRGB....&lt;/P&gt;
&lt;P&gt;Ipp64f mean1, std1;&lt;BR /&gt;ippiMean_StdDev_8u_C3CR(m_pRGB, width4 * 3, roiSize4, 1, &amp;amp;mean1, &amp;amp;std1);&lt;BR /&gt;Ipp64f mean2, std2;&lt;BR /&gt;ippiMean_StdDev_8u_C3CR(m_pRGB, width4 * 3, roiSize4, 2, &amp;amp;mean2, &amp;amp;std2);&lt;BR /&gt;Ipp64f mean3, std3;&lt;BR /&gt;ippiMean_StdDev_8u_C3CR(m_pRGB, width4 * 3, roiSize4, 3, &amp;amp;mean3, &amp;amp;std3);&lt;/P&gt;
&lt;P&gt;double R = 0; double G = 0; double B = 0;&lt;BR /&gt;{&lt;BR /&gt;BYTE* rgb = m_pRGB;&lt;BR /&gt;for (int y = 0; y &amp;lt; height4; y++)&lt;BR /&gt;{&lt;BR /&gt;for (int x = 0; x &amp;lt; width4; x++)&lt;BR /&gt;{&lt;BR /&gt;B += rgb[0];&lt;BR /&gt;R += rgb[1];&lt;BR /&gt;G += rgb[2];&lt;/P&gt;
&lt;P&gt;rgb += 3;&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;R= R / (width4 * height4);&lt;BR /&gt;G= G / (width4 * height4);&lt;BR /&gt;B= B / (width4 * height4);&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 04:28:44 GMT</pubDate>
    <dc:creator>serg</dc:creator>
    <dc:date>2020-09-30T04:28:44Z</dc:date>
    <item>
      <title>ippiMean_StdDev_8u_C3CR wrong result</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippiMean-StdDev-8u-C3CR-wrong-result/m-p/1213646#M27423</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;
&lt;P&gt;I has a suspicions of mean values from&amp;nbsp;ippiMean_StdDev_8u_C3CR, and check it this way:&lt;/P&gt;
&lt;P&gt;I've got different results&amp;nbsp; of R and mean1, G and mean2... why?&lt;/P&gt;
&lt;P&gt;maean1 = 128.61, R = 122.70&lt;/P&gt;
&lt;P&gt;mean2 = 122.69, G = 123.55&lt;/P&gt;
&lt;P&gt;mean3 = 123.55, B = 128.61&lt;/P&gt;
&lt;P&gt;image color order RGBRGBRGBRGB....&lt;/P&gt;
&lt;P&gt;Ipp64f mean1, std1;&lt;BR /&gt;ippiMean_StdDev_8u_C3CR(m_pRGB, width4 * 3, roiSize4, 1, &amp;amp;mean1, &amp;amp;std1);&lt;BR /&gt;Ipp64f mean2, std2;&lt;BR /&gt;ippiMean_StdDev_8u_C3CR(m_pRGB, width4 * 3, roiSize4, 2, &amp;amp;mean2, &amp;amp;std2);&lt;BR /&gt;Ipp64f mean3, std3;&lt;BR /&gt;ippiMean_StdDev_8u_C3CR(m_pRGB, width4 * 3, roiSize4, 3, &amp;amp;mean3, &amp;amp;std3);&lt;/P&gt;
&lt;P&gt;double R = 0; double G = 0; double B = 0;&lt;BR /&gt;{&lt;BR /&gt;BYTE* rgb = m_pRGB;&lt;BR /&gt;for (int y = 0; y &amp;lt; height4; y++)&lt;BR /&gt;{&lt;BR /&gt;for (int x = 0; x &amp;lt; width4; x++)&lt;BR /&gt;{&lt;BR /&gt;B += rgb[0];&lt;BR /&gt;R += rgb[1];&lt;BR /&gt;G += rgb[2];&lt;/P&gt;
&lt;P&gt;rgb += 3;&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;R= R / (width4 * height4);&lt;BR /&gt;G= G / (width4 * height4);&lt;BR /&gt;B= B / (width4 * height4);&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 04:28:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippiMean-StdDev-8u-C3CR-wrong-result/m-p/1213646#M27423</guid>
      <dc:creator>serg</dc:creator>
      <dc:date>2020-09-30T04:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: ippiMean_StdDev_8u_C3CR wrong result</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippiMean-StdDev-8u-C3CR-wrong-result/m-p/1213648#M27424</link>
      <description>&lt;P&gt;found error, please close topic:)&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 04:30:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippiMean-StdDev-8u-C3CR-wrong-result/m-p/1213648#M27424</guid>
      <dc:creator>serg</dc:creator>
      <dc:date>2020-09-30T04:30:23Z</dc:date>
    </item>
  </channel>
</rss>

