Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

As far as I understood it, OpenCV encapsulates libraries like OpenMP and TBB (see modules/core/src/parallel.cpp), so any method which uses parallel_for_ can make use of OpenMP (note: if TBB is enabled, OpenMP won't be used). I.e. each module using parallel_for_ ( can possibly make use of OpenMP.

The modules listed by @tuannhtn are apart from parallel.cpp actually outdated and should be revised to use parallel_for_ instead (if anybody has some time and wants to help OpenCV, this would be a nice and easy task to contribute- also parallel_for should be converted to parallel_for_).

Note, you can also use parallel_for_ yourself and thus use it as a wrapper for TBB/OpenMP, too.