imshow : add spacing between two images
8 ビュー (過去 30 日間)
古いコメントを表示
Hi, is there a way to add spacing between two images so that they are farther apart?
figure;
imshow([A B],[]);
colormap(winter);
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/148508/image.jpeg)
2 件のコメント
K P RAVIKUMAR
2021 年 2 月 25 日
How to provide spacing between the images in monage for multiple images
Image Analyst
2021 年 2 月 25 日
Basically the same way as in my Answer below. You just need to do it in both directions. There is no montage option for this I don't believe, so if you want it, you'll have to do it manually.
回答 (1 件)
Image Analyst
2015 年 8 月 27 日
Try making a band of zeros
spacer = zeros(rows, columns, 'uint8');
wideMatrix = [A, spacer, B];
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!