Move cv::Mat out of core.hpp

This commit is contained in:
Andrey Kamaev
2013-03-28 21:01:12 +04:00
parent 135c0b6cb5
commit 715fa3303e
46 changed files with 1854 additions and 1731 deletions

View File

@@ -253,7 +253,7 @@ static PyObject *iplimage_tostring(PyObject *self, PyObject *args)
return NULL;
if (i == NULL)
return NULL;
cv::Mat img(i);
cv::Mat img = cvarrToMat(i);
size_t esz = img.elemSize();
int nrows = img.rows, ncols = img.cols;