I'm almost there but I can't quite understand how to convert
unsigned char ** to a cv::Mat
I know that the .data part of a cv::Mat is uchar*
I'm using a function that returns and image in the form of...
unsigned char ** output;
But the rest of my code uses cv::Mat's. I don't have the source for the lib I'm using either so don't really know what it's doing.
Edit Thanks for the help guys, I've done this...
cv::Mat TempMat = cv::Mat(h, w, CV_8UC1, *output);
imshow("this is a test",TempMat);
but the image is black so I now need to find out if there's actually anything there or not.
Sorry for lack of research i'm on a tight deadline, no it's not homework, trying to get something ready to show results to a Professor!