Is cv::Mat thread-safe (atomic assignment + refcounting)?
https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines
https://www.bogotobogo.com/cplusplus/files/CplusplusConcurrencyInAction_PracticalMultithreading.pdf