- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page