使用这哥们儿分享的函数,How to Display more than one image in a single window
#include <opencv2/opencv.hpp>
#include <stdio.h>
#include <stdarg.h>
using namespace cv;
using namespace std;
void ShowManyImages(string title, int nArgs, ...)
{
int size;
int i;
int m, n;
int x, y;
// w - Maximum number of images in a row
// h - Maximum number of images in a column
int w, h;
// scale - How much we have to resize the image
float scale;
int max;
// If the number of arguments is lesser than 0 or greater than 12
// return without displaying
if (nArgs <= 0) {
printf("Numb