Info

此问题已关闭。 请重新打开它进行编辑或回答。

I am just wondering , is there any way to show 8 images in a 2*4 matrices or not?if so , how?

1 次查看(过去 30 天)
I am just wondering , is there any way to show 8 images in a 2*4 matrices or not?if so , how?

回答(1 个)

Image Analyst
Image Analyst 2015-3-10
Yes. You can either use the montage function if you have filenames, or stitch the images together
bigImage = [image1, image2, image3, image4; image5, image6, image7, image8];
imshow(bigImage);
Note the semicolon after image4 - not a comma like the rest.

Community Treasure Hunt

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

Start Hunting!

Translated by