Put sub images to full images (color and binary)
1 次查看(过去 30 天)
显示 更早的评论
I have sub color images (A1.jpg and A2.jpeg). How to write code using matlab to connect an image to A3.jpg image.
Likewise, from binary (A4.jpg and A5.jpg), how can I continue writing the code to A6.jpg?
0 个评论
采纳的回答
Walter Roberson
2019-12-21
a1 = imread('A1.jpg');
a2 = imread('A2.jpg');
a3 = vertcat(a1, a2);
imshow(a3)
This requires that A1 and A2 both have exactly the same number of columns. If not, then you need to define where you want the two images placed relative to each other.
0 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!