Concatenation of images in one Matrix
Show older comments
Hi all
I have 3 images having different size of 512x512,256x256,128x128
How can I concatenate them together in one matrix?
3 Comments
José-Luis
on 1 May 2014
Do you want to rescale or pad your results? Are you interested in a cell array?
Algorithms Analyst
on 1 May 2014
Accepted Answer
More Answers (1)
Azzi Abdelmalek
on 1 May 2014
Suppose im1 is 512x512, im2 is 256x256 and im3 is 128x128
[n,m,p]=size(im1);
new_im2=imresize(im2,n,m);
new_im3=imresize(im3,n,m);
im_final=[im1;new_im2;new_im3]
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!