// ConsoleApplication46.cpp : 定义控制台应用程序的入口点。
//
#include "stdafx.h"
//#include <fstream>
//#include "opencv2/highgui/highgui.hpp"
//#include <opencv2\stitching.hpp>
//#include <iostream>
//
//using namespace cv;
//using namespace std;
//
//vector<Mat> imgs; //保存拼接的原始图像向量
//
// //导入所有原始拼接图像函数
//void parseCmdArgs(int argc, char** argv);
//
//int main(int argc, char* argv[])
//{
// //导入拼接图像
// parseCmdArgs(argc, argv);
// Mat pano;
// Stitcher stitcher = Stitcher::createDefault(false);
// Stitcher::Status status = stitcher.stitch(imgs, pano);//拼接
// if (status != Stitcher::OK) //判断拼接是否成功
// {
// cout << "Can't stitch images, error code = " << int(status) << endl;
// return -1;