![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/175203/image.png)
montage of 3 image
6 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I want to create a montage of same 5 image.Please help!
0 Commenti
Risposta accettata
Matthew Eicholtz
il 6 Ott 2016
An example:
I = imread('peppers.png');
R = I(:,:,1);
G = I(:,:,2);
B = I(:,:,3);
J = rgb2gray(I);
K = im2bw(I)*255;
img = cat(4,R,G,B,J,K);
figure;
montage(img,'Size',[1 5]);
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/175203/image.png)
2 Commenti
Matthew Eicholtz
il 6 Ott 2016
I = imread('peppers.png');
N = 5;
J = [];
for ii=1:N
J = cat(4,J,I);
end
figure;
montage(J,'size',[1 N]);
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Display Image in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!