MATLAB: Montage of 3 image

imageimage processing

I want to create a montage of same 5 image.Please help!

Best Answer

See montage.
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]);