Ask Your Question

Confirm that Intel IPP loads in OpenCV 2x

asked 2013-04-11 14:08:08 -0500

AndyL gravatar image

updated 2013-04-11 14:16:12 -0500

What is the preferred method of confirming that Intel's Integrated Performance Primitives were correctly linked and available at runtime?

For OpenCV 1.x I used to run:


Which would display intel's integrated performance primitive DLLs that were loaded at runtime and I would therefore know that IPP was correctly installed. Now though, I am using OpenCV 2.4.3 statically linked against Intel's Integrated Performance Primitives 7.1. cvGetModuleInfo() doesn't indicate that IPP 7.1 is available.

Is that because this is no longer the right way to check? Or is something else going on?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-04-12 02:56:52 -0500

Basically from OpenCV 2.4.4 and on, you do not need to configure TBB and IPP anymore when using prebuilt binaries. They are configured this way to use it when your system supports it. This reduces the amount of manual configuring.

See the changelog explanation:

Added universal parallel_for implementation using various backends: TBB (cross-platform:, OpenMP (cross-platform:, Grand Central Dispatch (iOS/MacOSX:, Concurrency (Visual Studio 2010 or later:, C= ( Many exiting parallel OpenCV algorithms have been converted to the new primitive. Therefore, you can enjoy performance improvements even without having to install TBB and ship it with OpenCV-based applications.

edit flag offensive delete link more


You say this is for OpenCV 2.4.4 Does it apply for 2.4.3? Also Intel's IPPs aren't just for parallelization. Under OpenCV 1.1 they implemented many functions much more quickly including some of the contour finding algorithms. Do these other things that you mention actually rival IPP in terms of performance enhancements?

AndyL gravatar imageAndyL ( 2013-04-14 15:39:25 -0500 )edit

And how do they "use it when the system supports it?" IPP for example no longer seems to use DLL's that are loaded at runtime as they were in OpenCV 1.1?

AndyL gravatar imageAndyL ( 2013-04-14 15:40:03 -0500 )edit

Im sorry, guess you will need someone with more experience to answer this one :) I just thought of the post and added it as information for you :)

StevenPuttemans gravatar imageStevenPuttemans ( 2013-04-15 00:39:48 -0500 )edit

Thanks StevenPuttermans, I do appreciate the post. Hope I didn't sound unappreciative. :) Its a good lead. Hopefully I can find out more. For the moment I'm stuck on an even more frustrating problem, see:

AndyL gravatar imageAndyL ( 2013-04-15 07:13:27 -0500 )edit

I have not yet compiled openCV myself once, since I think it is not needed as long as prebuilt binaries are available and I can skip the part of trying to work around all the problems I see that people face.

StevenPuttemans gravatar imageStevenPuttemans ( 2013-04-15 08:12:12 -0500 )edit

Ok. Well so as I understand it, I need to compile 64 bit binaries because I want my eventual code to use both OpenCV as well as third party precompiled 64 bit binaries for a hardware framegrabber I have. Thanks, though.

AndyL gravatar imageAndyL ( 2013-04-15 08:51:30 -0500 )edit
Login/Signup to Answer

Question Tools


Asked: 2013-04-11 14:08:08 -0500

Seen: 622 times

Last updated: Apr 12 '13