Montage Function Problems in MATLAB
Mostrar comentarios más antiguos
im1 = imread('denstrack_01May.png');
im11 = imresize(im1, [544 1048]);
figure
imshow(im11)
im2 = imread('01.05.19.png');
im22 = imresize(im2, [544 1048]);
figure
imshow(im22)
im3 = imread('1MayCTT.png');
im33 = imresize(im3, [544 1048]);
figure
imshow(im33)
im4 = imread('1may.png');
im44 = imresize(im4, [544 1048]);
figure
imshow(im44)
h=montage(im11,im22,im33,im44);
Why the montage is not working in this case? please help
Respuestas (2)
KSSV
el 26 de Jun. de 2020
Try
montage({im11, im22, im33, im44}) ;
If all your images are 3D, try
montage(cat(3,img1,img2,img3,img4)) ;
3 comentarios
Joydeb Saha
el 29 de Jun. de 2020
KSSV
el 29 de Jun. de 2020
not working??? what happens wen you run it? Any error?
Joydeb Saha
el 29 de Jun. de 2020
Vishal Gaur
el 26 de Jun. de 2020
Hi Joydeb,
Syntax of monatge function is not correct. You should modify your code as:
h = montage({im11, im22, im33, im444});
As montage function expects an cell array as input.
1 comentario
Joydeb Saha
el 29 de Jun. de 2020
Categorías
Más información sobre Geometric Transformation and Image Registration en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!