Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.

IPP for array averaging

Deleted_U_Intel
Employee
187 Views
Hi,
Is there a straightforward IPP that can calculate C= (A + B)/2 where A, B, and C are the 2-D matrices with same dimentions. I looked into the ippi.h and it seems to me that I have to use at least two IPPs (add and scale or add and logic shift, etc) to achieve this.
Thanks in advance
John
0 Kudos
1 Reply
Vladimir_Dudnik
Employee
187 Views
Hi John,
you can use ippiAdd_8u_C1RSfs function, which do addition and scaling in one call
Regards,
Vladimir
Reply