I have this Mat
:
Mat testDataMat(386, 2, CV_32FC1, testDataFloat);
Which takes in from:
float testDataFloat[386][2
sample includes:
This one works for me:
int main()
{
const int width = 2;
const int height = 386;
float testDataFloat[height][width];
// create/initialize testdata
for(unsigned int j=0; j