#include<opencv2/core.hpp>
#include<opencv2/highgui.hpp>
#include<opencv2/imgproc.hpp>
#include<iostream>
using namespace cv;
using namespace std;
int main()
{
Mat src=imread("1.jpg");
Mat src1=imread("2.jpg");
Mat dst;
addWeighted(src,0.3,src1,0.3,0.0,dst);
imshow("滑动条混合图像比例",dst);
waitKey(0);
return 0;
}
opencv图像混合-addWeighted函数
猜你喜欢
转载自blog.csdn.net/seniorc/article/details/112251903
今日推荐
周排行