Is Mat thread-safe ?
Two of my threads need to read/write into the same Mat declared as global variable. Is Mat thread-safe or should I take care of it ? What can you recommend me ? Thanks
Two of my threads need to read/write into the same Mat declared as global variable. Is Mat thread-safe or should I take care of it ? What can you recommend me ? Thanks
No to the threadsafe since it uses smartpointers and yes you should take care of it yourself with a mutex structure!
Asked: 2015-02-01 09:51:05 -0600
Seen: 1,567 times
Last updated: Feb 01 '15
What is the most effective way to access cv::Mat elements in a loop?
Is there penalty for reference counting in Mat?
Saving an image with unset pixels
android: how to put a column into Mat
Find pixel color out of cv::Mat on specific position
How to update Mat with multiple channels?