1 | initial version |
this already won't compile:
Mat mat1 = new Mat(..);
do not use new
anywhere with opencv in c++, a simple
Mat mat1 = Mat(..);
Mat mat2 = Mat(..);
Mat res;
divide(mat1, mat2, res);
should do.
2 | No.2 Revision |
this already won't compile:
Mat mat1 = new Mat(..);
do not use new
anywhere with opencv in c++, a simple
Mat mat1 = Mat(..);
Mat mat2 = Mat(..);
Mat res;
divide(mat1, mat2, res);
res, 256);
should do.