converts old-style IplImage to the new matrix; the data is not copied by default
Namespace: OpenCvSharp.CPlusPlus
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Parameters
- img
- Type: OpenCvSharpIplImage
Old style IplImage object - copyData (Optional)
- Type: SystemBoolean
Flag to specify whether the underlying data of the the old-style IplImage should be copied to (true) or shared with (false) the newly constructed matrix. When the data is copied, the allocated buffer is managed using Mat reference counting mechanism. While the data is shared, the reference counter is NULL, and you should not deallocate the data until the matrix is not destructed.
See Also