Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

yes, the internal refcounter is atomic, and yes, a ROI operation will increase it.

unfortunately, this does not mean, that opencv can be used generally in a threadsafe way, a lot of functions / classes can NOT be used with multithreading, try to avoid it, and rather enable internal parallelism (TBB,OMP, etc.) at build time.