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

how to use IPP for relational operations

Randall_W
Beginner
338 Views

Hi,

Apologies if this is a stupid newbie question, but there does not seem to be a way to do vectorized relational operations in IPP. e.g.

[cpp]res = x>0;[/cpp]

Am I missing something here? I can see the thresholding funcitons, but I don't want to set a threshold, I just want the boolean result: x > 0

Thanks for any suggestions.

-Randall.

0 Kudos
2 Replies
matthieu_darbois
New Contributor III
338 Views

Hi,

You can use the "ippiCompareC_" function which will do exactly what you want.

Regards,

Matthieu

0 Kudos
Randall_W
Beginner
338 Views
Excellent. Thanks.
0 Kudos
Reply