combining four .png images
24 views (last 30 days)
Show older comments
clear
clc
im2 = imread('01.05.19.png');
im1= imread('1may.png');
im4=imread('1MayCTT.png');
im3=imread('denstrack_01May.png');
multi = cat(3,im1,im2,im3,im4);
figure
montage(multi);
or
clear
clc
im2 = imread('01.05.19.png');
im1= imread('1may.png');
im4=imread('1MayCTT.png');
im3=imread('denstrack_01May.png');
% multi = cat(3,im1,im2,im3,im4);
% figure
% montage(multi);
montage({im1,im2,im3,im4});
I want to join/combine these four png images but the codes are not working in R2017a
2 Comments
KSSV
on 24 Jun 2020
the codes are not working..
why the codes are not working? What problem you sre getting?
Answers (1)
Kanika Gupta
on 24 Jun 2020
If you are looking of fusing multiple images, there is one similar question answered here https://in.mathworks.com/matlabcentral/answers/401260-combine-fuse-two-images-into-one.
For combining images , refer to this link https://in.mathworks.com/help/matlab/ref/imtile.html
Try checking out similar questions here
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!