How to stitch together images as small multiple within grids

I have set of images (around hundreds):

What I want to do is to organize them as one image within grid,
forming small multiples. The order of the images is not important.

For example I can define the number of rows and column of the grid
and then automatically put the image together. How can I do it?

If this is not a real stiching (combine overlapping regions, etc.) but just for presentation you can import the images as a stack and then from the stack you can create a montage, see:

Here an example with images of different size:

1 Like