How to place image one after the other?

1 view (last 30 days)
Explorer
Explorer on 5 Feb 2014
Answered: Jeff E on 5 Feb 2014
Hello! I have 24 images and I would like place them one after the other as shown below. How can I do so using MATLAB?
I have tried to do so by paint brush of windows 8 but its not working without resizing images.

Answers (1)

Jeff E
Jeff E on 5 Feb 2014
I would try the montage function. The only tricky part there is that you have to pass it an array of filenames, or single array of images.
You can specify the "Size", in terms of number of rows and columns, but you cannot include a border. For that you would have to pad each individual image with whitespace before calling the montage function.

Categories

Find more on Modify Image Colors in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!