摘要: Mat img1 = imread("1.png"); Mat img2 = imread("2.png"); int height = img1.rows; int width1 = img1.cols; int width2 = img2.cols; // 将高图像等比缩放与低图像高度一致 if (img1.rows > img2.row... 阅读全文
posted @ 2019-04-04 21:10 平凡_h 阅读(6451) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include #include using namespace cv; using namespace std; // 计时函数 void PrintMs(const char *text = "") { static long long last = 0; long long cur = getTickCou... 阅读全文
posted @ 2019-04-04 20:24 平凡_h 阅读(986) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include using namespace cv; using namespace std; // 记录时间信息 void PrintMs(const char *text = "") { static long long last = 0; long long cur = getTickCount(); ... 阅读全文
posted @ 2019-04-04 20:14 平凡_h 阅读(2006) 评论(0) 推荐(0) 编辑