1 | initial version |
so, it'll be:
double * pointer to_some_imgdata = ... // ?
int H = height ??
int W = width ??
Mat mat (H, W, CV_64F, pointer to_some_imgdata).clone(); // clone == copy the actual pixel data
// now this is the real "easy" part !
imshow( "lalaland", mat);
waitKey(); // wait "forever," until any key was pressed, while this windoe has focus)
2 | No.2 Revision |
so, it'll be:
double * pointer to_some_imgdata = ... // to_some_imgdata ?
int H = height ??
int W = width ??
Mat mat (H, W, CV_64F, pointer to_some_imgdata).clone(); // clone == copy the actual pixel data
// now this is the real "easy" part !
imshow( "lalaland", mat);
waitKey(); // wait "forever," until any key was pressed, while this windoe has focus)
3 | No.3 Revision |
so, it'll be:
double * pointer = ... // to_some_imgdata ?
int H = height ??
int W = width ??
Mat mat (H, W, CV_64F, pointer to_some_imgdata).clone(); pointer).clone(); // clone == copy the actual pixel data
// now this is the real "easy" part !
imshow( "lalaland", mat);
waitKey(); // wait "forever," until any key was pressed, while this windoe has focus)
4 | No.4 Revision |
so, it'll be:
double * pointer = ... // to_some_imgdata ?
int H = height ??
int W = width ??
Mat mat (H, W, CV_64F, pointer).clone(); // clone == copy the actual pixel data
// now this is the real "easy" part !
imshow( "lalaland", mat);
waitKey(); // wait "forever," until any key was pressed, while this windoe window has focus)