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

IppFilter usage

shyweissman
Beginner
326 Views

I am using the following filter : 0 0-2 0 0

0 0 10 0

-21 6 1 -2

0 0 1 0 0

0 0 -2 0 0

it is writen in code ifresult > 255 result = 255

ifresult < 0 result = 0.

I am looking for a way to use ippfilter or any other ipp routine to speed it up.

Any Suggestion?

Thanks.

0 Kudos
3 Replies
Vladimir_Dudnik
Employee
326 Views

Hello,

did you see ippiFilter_8u functions?

Regards,
Vladimir

0 Kudos
Intel_C_Intel
Employee
326 Views

Hi,

There is no special function for such kernel. The possible way is to use therow filter for kernel {-2 1 6 1 -2} and the column filter for kernel { -2 1 0 1 -2} (see separable IPP filters0 and add their outputs. To enhance performance it may be organized as a pipiline.

Regards,

Alexander

0 Kudos
shyweissman
Beginner
326 Views
Thank you very much
0 Kudos
Reply