MAT操作
/*Mat B = M.clone();
namedWindow("output", CV_WINDOW_AUTOSIZE);
imshow("output", B);*/
/*Mat C;
C.create(src.size(),src.type());
C = Scalar(100, 100, 255);
namedWindow("output", CV_WINDOW_AUTOSIZE);
imshow("output", C);*/
/*Mat m2 = Mat::zeros(5,5,CV_8UC1);
cout << "M=" << endl << m2<< endl;
namedWindow("output", CV_WINDOW_AUTOSIZE);
imshow("output", m2);*/
/*Mat B = M.clone();
namedWindow("output", CV_WINDOW_AUTOSIZE);
imshow("output", B);*/
/*Mat C;
C.create(src.size(),src.type());
C = Scalar(100, 100, 255);
namedWindow("output", CV_WINDOW_AUTOSIZE);
imshow("output", C);*/
/*Mat m2 = Mat::zeros(5,5,CV_8UC1);
cout << "M=" << endl << m2<< endl;
namedWindow("output", CV_WINDOW_AUTOSIZE);
imshow("output", m2);*/