发布时间:2019-08-28 06:14:13
你是要问怎么访问Mat中的元素,还是要问整体的那种赋值操作?我分别举个例子吧:
MatA.at<int>(1, 1) = 0;
Mat MatA = imread("sss.jpg"); Mat MatB = MatA;