1 | initial version |
i see a problem here: matrix = Mat(numOfRows,numOfCols,CV_64FC1,&theArray);
if it is: double **theArray;
and you take the adress of that, that's a triple pointer already .
but why **pointers at all ? the Mat() constructor there expects a uchar*
pointing to consecutive memory, what you've got is an array of pointers.
2 | No.2 Revision |
i see a problem here: here:
matrix = Mat(numOfRows,numOfCols,CV_64FC1,&theArray);
if it is: double **theArray;
and you take the adress of that, that's a triple pointer already .
but why **pointers at all ? the Mat() constructor there expects a uchar*
pointing to consecutive memory, what you've got is an array of pointers.