1 | initial version |
See the reference manual page basic structures (cpp). In particular there is a constructor for cv::Mat, that takes a raw pointer along with information about the dimensions and type. This should do what you want! I use it for pointers that come from DirectShow and other libraries.