Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试将 4 个已经存在的图像包含在一个新图像中,在 matlab 中完成和创建,就像一张拼贴画一样,在新图像中,4 个图像彼此相邻,接壤。我真的不知道从哪里开始。你能帮帮我吗?在matlab中?
如果您不希望图像之间有空白,另一种选择是将图像组合成一个矩阵。
IE:
image([I1 I2; I3 I4])
当然,图像必须具有相同的大小才能正常工作...
实际上,除了 Hassan 的建议之外,我还可以使用 subplot 和 subimages 轻松实现我的目的。例如。
subplot(2,2,1) imshow(I1) subplot(2,2,2) imshow(I2)
谢谢你的帮助 :)。