tags:

views:

65

answers:

1

Is it possible to output images so that they all will be inside a single window? Before, I used to output data using only opencv functions:

cvNamedWindow("Image 1");
cvShowImage("Image 1", img);

So I change image, then call: cvShowImage function and so on. But If I want to look at more than one image, then every new image needs its own window to be shown there And what I want is to put every such an output opencv's window inside one big main window.

Is it possible to do it? And how?

+1  A: 

You will have to construct a new image and place each img into it. I don't think there's a builtin function like MATLAB's subplot. I recommend using the ROI functions to quickly copy an image into a region-of-interest (ROI) of the big image (which holds the others).

Jacob