OpenCV-- Mat类的一些属性记录
#include <iostream>
#include <opencv2/opencv.hpp>
using namespace std;
using namespace cv;
int main() {
cv::Mat img(3, 4, CV_16UC4, Scalar_<uchar>(1, 2, 3, 4));
cout << img << endl;
cout << "dims: " <<.
原创
2020-12-09 15:59:47 ·
157 阅读 ·
0 评论