Concatenation of images in one Matrix
Ältere Kommentare anzeigen
Hi all
I have 3 images having different size of 512x512,256x256,128x128
How can I concatenate them together in one matrix?
3 Kommentare
José-Luis
am 1 Mai 2014
Do you want to rescale or pad your results? Are you interested in a cell array?
Algorithms Analyst
am 1 Mai 2014
Akzeptierte Antwort
Weitere Antworten (1)
Azzi Abdelmalek
am 1 Mai 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]
Kategorien
Mehr zu Creating and Concatenating Matrices finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!