c++
#include"all.h"
using namespace std;
using namespace cv;
void MyClass::day035() {
Mat img = read(PATH + "images\\test.jpg"), blured, dst;
GaussianBlur(img, blured, Size(0, 0), 25);
addWeighted(img, 1.5, blured, -0.5, 0, dst);
imshow("usm_sharp", dst);
waitKey(0);
}
c++中新知识点:
addWeighted():加权求和两张图片
网友评论