Click or drag to resize

CvInvokeUseOptimized Property
Enables or disables the optimized code.

Namespace:  Emgu.CV
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: (
public static bool UseOptimized { get; set; }

Property Value

Type: Boolean
true if [use optimized]; otherwise, false.
The function can be used to dynamically turn on and off optimized code (code that uses SSE2, AVX, and other instructions on the platforms that support it). It sets a global flag that is further checked by OpenCV functions. Since the flag is not checked in the inner OpenCV loops, it is only safe to call the function on the very top level in your application where you can be sure that no other OpenCV function is currently executed.
See Also