I use this sample form opencv toturial for convert static array to cv::Mat
int a[5] ={1,2,3,4,5};
Mat L(3,a, CV_32SC1(1), Scalar::all(0));
cout << L;
But the L variable in invalid. What is reason?is it BUG?
1 | initial version |
I use this sample form opencv toturial for convert static array to cv::Mat
int a[5] ={1,2,3,4,5};
Mat L(3,a, CV_32SC1(1), Scalar::all(0));
cout << L;
But the L variable in invalid. What is reason?is it BUG?
2 | No.2 Revision |
I use this sample form opencv toturial for convert static array to cv::Mat
int a[5] ={1,2,3,4,5};
Mat L(3,a, CV_32SC1(1), CV_32SC(1), Scalar::all(0));
cout << L;
But the L variable in invalid. What is reason?is it BUG?
3 | No.3 Revision |
I use this sample form opencv toturial OpenCV tutorial for convert static array to cv::Mat
int a[5] ={1,2,3,4,5};
Mat L(3,a, CV_32SC(1), Scalar::all(0));
cout << L;
But the L variable in invalid. What is reason?is it BUG?