标签:
Mat srcImage1 = imread("dota_pa.jpg");
Mat logoImage = imread("dota_logo.jpg");
Mat imageROI = srcImage1(Rect(10, 10, logoImage.cols, logoImage.rows));//使用矩形界定
logoImage.copyTo(imageROI);//就改变了srcImage1数据矩阵中的内容
标签:
原文地址:http://www.cnblogs.com/shanghai-achao/p/5314104.html