opencv拼接两张不同大小的图像的c++实现
话不多说,直接上代码
#include <math.h>
#include "opencv2/highgui.hpp"
#include <opencv2/highgui/highgui_c.h>
using namespace std;
using namespace cv;
int main()
{
Mat img1 = imread("零件.jpg");
Mat img2 = imread("实际零件.jpg");
Mat combine, result;
int
原创
2020-08-02 21:09:59 ·
1967 阅读 ·
0 评论