opencv给mat赋值,分二种,一种是是整体赋值操作,另一种是分别举赋值;例子分别如下:1、MatA.at(1, 1) = 0;2、Mat MatA = imread("sss.jpg"); Mat MatB = MatA;