Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

Problem with ippiVarMean8x8_8u32s_C1R

Rosen__Daniel
Beginner
416 Views

ippiVarMean8x8 seems to be returning the sum and not the mean. Am I doing something wrong or is this a problem? This is with the 5.1.1 library.

Here's a code sample:

Ipp32s iVar, iMean;
IppStatus rc;
unsigned char testarray[] =
{
9,9,9,9,9,9,9,9,
9,9,9,9,9,9,9,9,
9,9,9,9,9,9,9,9,
9,9,9,9,9,9,9,9,
1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1,
1,1,1,1,1,1,1,1
};

rc = ippiVarMean8x8_8u32s_C1R( testarray, 8, &iVar, &iMean );

After the call: iVar = 16 and iMean = 320.

0 Kudos
1 Reply
Vladimir_Dudnik
Employee
416 Views

Could you please take a look on ipp manual? It contain description of that function, I think it is good enough. If it is not, from your point of view, please submit your report to Intel Premier Support.

Regards,
Vladimir

0 Kudos
Reply