imshow : add spacing between two images
조회 수: 5 (최근 30일)
이전 댓글 표시
Hi, is there a way to add spacing between two images so that they are farther apart?
figure;
imshow([A B],[]);
colormap(winter);

댓글 수: 2
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!