摘要: void cv::convertScaleAbs( cv::InputArray src, // 输入数组 cv::OutputArray dst, // 输出数组 double alpha = 1.0, // 乘数因子 double beta = 0.0 // 偏移量); // Copyright 阅读全文
posted @ 2018-10-03 20:43 西北逍遥 阅读(3029) 评论(0) 推荐(0) 编辑
摘要: #include <iostream>#include <opencv2/opencv.hpp> using namespace std;using namespace cv; Mat img1, img2, img3, img4, img5, img6, img_result, img_gray1 阅读全文
posted @ 2018-10-03 20:38 西北逍遥 阅读(730) 评论(0) 推荐(0) 编辑
摘要: #include <iostream>#include <opencv2/opencv.hpp> using namespace std;using namespace cv; Mat img1, img2, img3, img4, img5, img6, img_result, img_gray1 阅读全文
posted @ 2018-10-03 20:24 西北逍遥 阅读(1135) 评论(0) 推荐(0) 编辑
摘要: #include <iostream>#include <opencv2/opencv.hpp> using namespace std;using namespace cv; Mat img1, img2, img3, img4, img5,img6,img_result, img_gray1, 阅读全文
posted @ 2018-10-03 13:17 西北逍遥 阅读(891) 评论(0) 推荐(0) 编辑
摘要: //通过拉普拉斯-锐化边缘 kernel = (Mat_<float>(3,3)<<1,1,1,1,-8,1,1,1,1);//Laplace算子 filter2D(img2, img_laplance, CV_32F,kernel, Point(-1, -1), 0, BORDER_DEFAULT 阅读全文
posted @ 2018-10-03 10:04 西北逍遥 阅读(467) 评论(0) 推荐(0) 编辑