Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to enable vectorization in OpenCV?

I have 2 questions:

  1. I want the OpenCV to use vectorization whenever possible. How can i do that? (I don't have IPP).

  2. If I enable TBB option in OpenCV build, are resulting programs will try to create multiple threads by default? Is there a way to control it (sometimes the program must run in single thread, and sometimes it can use more)?

How to enable vectorization in OpenCV?

I have 2 questions:

  1. I want the OpenCV to use vectorization whenever possible. How can i do that? (I don't have IPP).

  2. If I enable TBB option in OpenCV build, are resulting programs will try to create multiple threads by default? Is there a way to control it (sometimes the program must run in single thread, and sometimes it can use more)?

How to enable vectorization in OpenCV?

I have 2 questions:

  1. I want the OpenCV to use vectorization whenever possible. How can i do that? (I don't have IPP).

  2. If I enable TBB option in OpenCV build, are resulting programs will try to create multiple threads by default? Is there a way to control it (sometimes the program must run in single thread, and sometimes it can use more)?