imshow : add spacing between two images

Hi, is there a way to add spacing between two images so that they are farther apart?
figure;
imshow([A B],[]);
colormap(winter);

2 Kommentare

K P RAVIKUMAR
K P RAVIKUMAR am 25 Feb. 2021
How to provide spacing between the images in monage for multiple images
Image Analyst
Image Analyst am 25 Feb. 2021
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.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Image Analyst
Image Analyst am 27 Aug. 2015

0 Stimmen

Try making a band of zeros
spacer = zeros(rows, columns, 'uint8');
wideMatrix = [A, spacer, B];

Kategorien

Mehr zu Images finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 27 Aug. 2015

Kommentiert:

am 25 Feb. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by