访问Mat某一个像素值

mat.at<uchar>(row, col);

如果想要用cout打印出来,前面要加上(int),否则打印出来的是空字符;

猜你喜欢

转载自www.cnblogs.com/canyeweiwei/p/10749386.html