montage of 3 image
9 次查看(过去 30 天)
显示 更早的评论
I want to create a montage of same 5 image.Please help!
0 个评论
采纳的回答
Matthew Eicholtz
2016-10-6
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]);
2 个评论
Matthew Eicholtz
2016-10-6
I = imread('peppers.png');
N = 5;
J = [];
for ii=1:N
J = cat(4,J,I);
end
figure;
montage(J,'size',[1 N]);
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!