Imshowpair function

Is it possible to use a function imshowpairin MATLAB to display images next to each other and not one above the other?

So far, I:

figure;
imshowpair(imgA, imgB, 'diff');

I have about 100 images that I would like to display. Is it possible?

+4
source share
2 answers

In fact, it is possible.

imshowpair(im1, im2, 'montage')

It displays only 2 images. If you need to display many images of the same size, use the function montage.

0
source

You can also use

newImg = cat(2,img1,img2);
0
source

Source: https://habr.com/ru/post/1613533/


All Articles