How to place image one after the other?

2 次查看(过去 30 天)
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.

回答(1 个)

Jeff E
Jeff E 2014-2-5
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.

类别

Help CenterFile Exchange 中查找有关 Modify Image Colors 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by